TSLab API Docs  1
TSLab.Script.Control.IControlPane Interface Reference

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

Inheritance diagram for TSLab.Script.Control.IControlPane:
TSLab.Script.IBasePane

Public Member Functions

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)
 Добавить новый элемент управления More...
 
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)
 Добавить новый элемент управления More...
 
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)
 Добавить новый элемент управления More...
 
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)
 

Properties

string Id [get]
 
IReadOnlyList< IControlControls [get]
 
IReadOnlyList< IElementElements [get]
 
- Properties inherited from TSLab.Script.IBasePane
string Name [get]
 Chart's pane name
 
string Title [get]
 
string TitleOrName [get]
 
bool Visible [get, set]
 Is pane visible
 
PaneStyle Type [get]
 Return pane style
 

Detailed Description

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

Member Function Documentation

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 
)

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

Parameters
nameИмя элемента управления
propertyNameИмя свойства элемента управления (подпись на UI)
typeТип элемента управления
hasRect
Parameters
left
Parameters
top
Parameters
width
Parameters
height
Parameters
isReadOnly
Parameters
propСсылка на свойство
Returns
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 
)

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

Parameters
nameИмя элемента управления
propertyNameИмя свойства элемента управления (подпись на UI)
typeТип элемента управления
hasRect
Parameters
left
Parameters
top
Parameters
width
Parameters
height
Parameters
isReadOnly
Parameters
propСсылка на свойство
color
Returns
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 
)

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

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