TSLab API Docs  1
Интерфейс TSLab.Script.Control.IControlPane

Панель с элементами управления Подробнее...

Граф наследования:TSLab.Script.Control.IControlPane:
TSLab.Script.IBasePane

Открытые члены

IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, IOptimPropertyBase prop)
 Добавить новый элемент управления Подробнее...
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, BoolOptimProperty prop, AlphaColor backgroundColor, AlphaColor foregroundColor)
 Добавить новый элемент управления Подробнее...
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, StringOptimProperty prop, IEnumerable< string > values)
 Добавить новый элемент управления Подробнее...
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, double value, string optimDataItemId, string optimDataInvariantName, string optimDataName, int numberDecimalDigits)
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, IEnumerable< double > values, string optimDataItemId, string optimDataInvariantName, string optimDataName, int numberDecimalDigits)
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, int value, string optimDataItemId, string optimDataInvariantName, string optimDataName)
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, IEnumerable< int > values, string optimDataItemId, string optimDataInvariantName, string optimDataName)
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, bool value, string optimDataItemId, string optimDataInvariantName, string optimDataName, AlphaColor backgroundColor, AlphaColor foregroundColor)
 
IControl AddControl (string name, string propertyName, ControlParameterType type, bool hasRect, double left, double top, double width, double height, bool isReadOnly, bool isHelpVisible, string helpMessage, IEnumerable< bool > values, string optimDataItemId, string optimDataInvariantName, string optimDataName, AlphaColor backgroundColor, AlphaColor foregroundColor)
 
IBackgroundElement AddBackgroundElement (string id, bool isVisible, double left, double top, double width, double height, AlphaColor color)
 
ISeparatorElement AddSeparatorElement (string id, bool isVisible, double left, double top, double width, double height, AlphaColor color, bool isVertical)
 
ITextElement AddTextElement (string id, bool isVisible, double left, double top, double width, double height, AlphaColor color, string text)
 

Свойства

string Id [get]
 
IReadOnlyList< IControlControls [get]
 
IReadOnlyList< IElementElements [get]
 
- Свойства унаследованные от TSLab.Script.IBasePane
string Name [get]
 Имя панели графика Подробнее...
 
string Title [get]
 
string TitleOrName [get]
 
bool Visible [get, set]
 Видима ли панель Подробнее...
 
PaneStyle Type [get]
 Возвращает тип панели Подробнее...
 

Подробное описание

Панель с элементами управления

Методы

IControl TSLab.Script.Control.IControlPane.AddControl ( string  name,
string  propertyName,
ControlParameterType  type,
bool  hasRect,
double  left,
double  top,
double  width,
double  height,
bool  isReadOnly,
bool  isHelpVisible,
string  helpMessage,
IOptimPropertyBase  prop 
)

Добавить новый элемент управления

Аргументы
nameИмя элемента управления
propertyNameИмя свойства элемента управления (подпись на UI)
typeТип элемента управления
hasRect
Аргументы
left
Аргументы
top
Аргументы
width
Аргументы
height
Аргументы
isReadOnly
Аргументы
propСсылка на свойство
Возвращает
IControl TSLab.Script.Control.IControlPane.AddControl ( string  name,
string  propertyName,
ControlParameterType  type,
bool  hasRect,
double  left,
double  top,
double  width,
double  height,
bool  isReadOnly,
bool  isHelpVisible,
string  helpMessage,
BoolOptimProperty  prop,
AlphaColor  backgroundColor,
AlphaColor  foregroundColor 
)

Добавить новый элемент управления

Аргументы
nameИмя элемента управления
propertyNameИмя свойства элемента управления (подпись на UI)
typeТип элемента управления
hasRect
Аргументы
left
Аргументы
top
Аргументы
width
Аргументы
height
Аргументы
isReadOnly
Аргументы
propСсылка на свойство
color
Возвращает
IControl TSLab.Script.Control.IControlPane.AddControl ( string  name,
string  propertyName,
ControlParameterType  type,
bool  hasRect,
double  left,
double  top,
double  width,
double  height,
bool  isReadOnly,
bool  isHelpVisible,
string  helpMessage,
StringOptimProperty  prop,
IEnumerable< string >  values 
)

Добавить новый элемент управления

Аргументы
nameИмя элемента управления
propertyNameИмя свойства элемента управления
typeТип элемента управления
hasRect
Аргументы
left
Аргументы
top
Аргументы
width
Аргументы
height
Аргументы
isReadOnly
Аргументы
propСсылка на свойство
valuesСписок значений, которые может принимать свойство
Возвращает