TcHmiButton
[ Class ]
Implementation of the Button control.
Attribute functions
| 
                   Name  | 
                   Origin  | 
                   Description  | 
|---|---|---|
TcHmiControl  | Getter for the BorderRadius attribute.  | |
TcHmiControl  | Setter for the BorderRadius attribute.  | |
TcHmiControl  | Getter for the BorderStyle attribute.  | |
TcHmiControl  | Setter for the BorderStyle attribute.  | |
TcHmiControl  | Getter for the BorderWidth attribute.  | |
TcHmiControl  | Setter for the BorderWidth attribute.  | |
TcHmiControl  | Getter for the BackgroundColor attribute.  | |
TcHmiControl  | Setter for the BackgroundColor attribute.  | |
TcHmiControl  | Getter for the BorderColor attribute.  | |
TcHmiControl  | Setter for the BorderColor attribute.  | |
TcHmiControl  | Getter for the Left attribute.  | |
TcHmiControl  | Setter for the Left attribute.  | |
TcHmiControl  | Getter for the LeftUnit attribute.  | |
TcHmiControl  | Setter for the LeftUnit attribute.  | |
TcHmiControl  | Getter for the Top attribute.  | |
TcHmiControl  | Setter for the Top attribute.  | |
TcHmiControl  | Getter for the TopUnit attribute.  | |
TcHmiControl  | Setter for the TopUnit attribute.  | |
TcHmiControl  | Getter for the Right attribute.  | |
TcHmiControl  | Setter for the Right attribute.  | |
TcHmiControl  | Getter for the RightUnit attribute.  | |
TcHmiControl  | Setter for the RightUnit attribute.  | |
TcHmiControl  | Getter for the Bottom attribute.  | |
TcHmiControl  | Setter for the Bottom attribute.  | |
TcHmiControl  | Getter for the BottomUnit attribute.  | |
TcHmiControl  | Setter for the BottomUnit attribute.  | |
TcHmiControl  | Getter for the Width attribute.  | |
TcHmiControl  | Setter for the Width attribute.  | |
TcHmiControl  | Getter for the WidthUnit attribute.  | |
TcHmiControl  | Setter for the WidthUnit attribute.  | |
TcHmiControl  | Getter for the Height attribute.  | |
TcHmiControl  | Setter for the Height attribute.  | |
TcHmiControl  | Getter for the HeightUnit attribute.  | |
TcHmiControl  | Setter for the HeightUnit attribute.  | |
TcHmiControl  | Getter for the MaxWidth attribute.  | |
TcHmiControl  | Setter for the MaxWidth attribute.  | |
TcHmiControl  | Getter for the MaxWidthUnit attribute.  | |
TcHmiControl  | Setter for the MaxWidthUnit attribute.  | |
TcHmiControl  | Getter for the MinWidth attribute.  | |
TcHmiControl  | Setter for the MinWidth attribute.  | |
TcHmiControl  | Getter for the MinWidthUnit attribute.  | |
TcHmiControl  | Setter for the MinWidthUnit attribute.  | |
TcHmiControl  | Getter for the MaxHeight attribute.  | |
TcHmiControl  | Setter for the MaxHeight attribute.  | |
TcHmiControl  | Getter for the MaxHeightUnit attribute.  | |
TcHmiControl  | Setter for the MaxHeightUnit attribute.  | |
TcHmiControl  | Getter for the MinHeight attribute.  | |
TcHmiControl  | Setter for the MinHeight attribute.  | |
TcHmiControl  | Getter for the MinHeightUnit attribute.  | |
TcHmiControl  | Setter for the MinHeightUnit attribute.  | |
TcHmiControl  | Getter for the RenderedLeft attribute.  | |
TcHmiControl  | Getter for the RenderedTop attribute.  | |
TcHmiControl  | Getter for the RenderedBottom attribute.  | |
TcHmiControl  | Getter for the RenderedRight attribute.  | |
TcHmiControl  | Getter for the RenderedWidth attribute.  | |
TcHmiControl  | Getter for the RenderedHeight attribute.  | |
TcHmiControl  | Getter for the Opacity attribute.  | |
TcHmiControl  | Setter for the Opacity attribute.  | |
TcHmiControl  | Getter for the Visibility attribute.  | |
TcHmiControl  | Setter for the Visibility attribute.  | |
TcHmiControl  | Getter for the Transform attribute.  | |
TcHmiControl  | Setter for the Transform attribute.  | |
TcHmiControl  | Getter for the GridColumnIndex attribute.  | |
TcHmiControl  | Setter for the GridColumnIndex attribute.  | |
TcHmiControl  | Getter for the GridRowIndex attribute.  | |
TcHmiControl  | Setter for the GridRowIndex attribute.  | |
TcHmiControl  | Getter for the Zindex attribute.  | |
TcHmiControl  | Setter for the Zindex attribute.  | |
TcHmiControl  | Getter for the WidthMode attribute.  | |
TcHmiControl  | Setter for the WidthMode attribute.  | |
TcHmiControl  | Getter for the HeightMode attribute.  | |
TcHmiControl  | Setter for the HeightMode attribute.  | |
TcHmiButton  | Getter for the Text attribute.  | |
TcHmiButton  | Setter for the Text attribute.  | |
TcHmiButton  | Getter for the StateSymbol attribute.  | |
TcHmiButton  | Setter for the StateSymbol attribute.  | |
TcHmiButton  | Getter for the TextColor attribute.  | |
TcHmiButton  | Setter for the TextColor attribute.  | |
TcHmiButton  | Getter for the TextFontFamily attribute.  | |
TcHmiButton  | Setter for the TextFontFamily attribute.  | |
TcHmiButton  | Getter for the TextFontSize attribute.  | |
TcHmiButton  | Setter for the TextFontSize attribute.  | |
TcHmiButton  | Getter for the TextFontSizeUnit attribute.  | |
TcHmiButton  | Setter for the TextFontSizeUnit attribute.  | |
TcHmiButton  | Getter for the TextFontStyle attribute.  | |
TcHmiButton  | Setter for the TextFontStyle attribute.  | |
TcHmiButton  | Getter for the TextFontWeight attribute.  | |
TcHmiButton  | Setter for the TextFontWeight attribute.  | |
TcHmiButton  | Getter for the TextPadding attribute.  | |
TcHmiButton  | Setter for the TextPadding attribute.  | |
TcHmiButton  | Getter for the TextHorizontalAlignment attribute.  | |
TcHmiButton  | Setter for the TextHorizontalAlignment attribute.  | |
TcHmiButton  | Getter for the TextVerticalAlignment attribute.  | |
TcHmiButton  | Setter for the TextVerticalAlignment attribute.  | |
TcHmiButton  | Getter for the WordWrap attribute.  | |
TcHmiButton  | Setter for the WordWrap attribute.  | |
TcHmiControl  | Getter for the id attribute.  | |
TcHmiControl  | Getter for the type attribute.  | |
TcHmiControl  | Getter for the IsEnabled attribute.  | |
TcHmiControl  | Setter for the IsEnabled attribute.  | |
TcHmiControl  | Getter for the ClassNames attribute.  | |
TcHmiControl  | Setter for the ClassNames attribute.  | |
TcHmiControl  | Getter for the IsAttached attribute.  | |
TcHmiControl  | Getter for the Tooltip attribute.  | |
TcHmiControl  | Setter for the Tooltip attribute.  | |
TcHmiControl  | Getter for the AccessConfig attribute.  | |
TcHmiControl  | Setter for the AccessConfig attribute.  | |
TcHmiButton  | Getter for the Icon attribute.  | |
TcHmiButton  | Setter for the Icon attribute.  | |
TcHmiButton  | Getter for the IconHeight attribute.  | |
TcHmiButton  | Setter for the IconHeight attribute.  | |
TcHmiButton  | Getter for the IconHeightUnit attribute.  | |
TcHmiButton  | Setter for the IconHeightUnit attribute.  | |
TcHmiButton  | Getter for the IconWidth attribute.  | |
TcHmiButton  | Setter for the IconWidth attribute.  | |
TcHmiButton  | Getter for the IconWidthUnit attribute.  | |
TcHmiButton  | Setter for the IconWidthUnit attribute.  | |
TcHmiButton  | Getter for the IconPadding attribute.  | |
TcHmiButton  | Setter for the IconPadding attribute.  | |
TcHmiButton  | Getter for the IconHorizontalAlignment attribute.  | |
TcHmiButton  | Setter for the IconHorizontalAlignment attribute.  | |
TcHmiButton  | Getter for the IconVerticalAlignment attribute.  | |
TcHmiButton  | Setter for the IconVerticalAlignment attribute.  | |
TcHmiControl  | Getter for the BackgroundImage attribute.  | |
TcHmiControl  | Setter for the BackgroundImage attribute.  | |
TcHmiControl  | Getter for the BackgroundImageHeight attribute.  | |
TcHmiControl  | Setter for the BackgroundImageHeight attribute.  | |
TcHmiControl  | Getter for the BackgroundImageHeightUnit attribute.  | |
TcHmiControl  | Setter for the BackgroundImageHeightUnit attribute.  | |
TcHmiControl  | Getter for the BackgroundImageWidth attribute.  | |
TcHmiControl  | Setter for the BackgroundImageWidth attribute.  | |
TcHmiControl  | Getter for the BackgroundImageWidthUnit attribute.  | |
TcHmiControl  | Setter for the BackgroundImageWidthUnit attribute.  | |
TcHmiControl  | Getter for the BackgroundImagePadding attribute.  | |
TcHmiControl  | Setter for the BackgroundImagePadding attribute.  | |
TcHmiControl  | Getter for the BackgroundImageHorizontalAlignment attribute.  | |
TcHmiControl  | Setter for the BackgroundImageHorizontalAlignment attribute.  | |
TcHmiControl  | Getter for the BackgroundImageVerticalAlignment attribute.  | |
TcHmiControl  | Setter for the BackgroundImageVerticalAlignment attribute.  | |
TcHmiControl  | Getter for the BoxShadow attribute.  | |
TcHmiControl  | Setter for the BoxShadow attribute.  | 
Functions
| 
                   Name  | 
                   Origin  | 
                   Description  | 
|---|---|---|
TcHmiControl  | Returns the root HTML element of the control.  | |
TcHmiControl  | Pre-initialization  | |
TcHmiControl  | Initialization  | |
TcHmiControl  | Code after insertion in the DOM  | |
TcHmiControl  | Code after removal from the DOM  | |
TcHmiControl  | Clean-up after deleting the control.  | |
TcHmiControl  | Query whether control was deleted.  | |
TcHmiControl  | Query of the default value of a property.  | 
Inheritance hierarchy
Button
See also
Reference of this control
![]()  | Available from 1.8  | 
- getTextColor
 - setTextColor
 - getText
 - setText
 - getIcon
 - setIcon
 - getIconWidth
 - setIconWidth
 - getIconWidthUnit
 - setIconWidthUnit
 - getIconHeight
 - setIconHeight
 - getIconHeightUnit
 - setIconHeightUnit
 - getIconVerticalAlignment
 - setIconVerticalAlignment
 - getIconHorizontalAlignment
 - setIconHorizontalAlignment
 - getIconPadding
 - setIconPadding
 - getTextHorizontalAlignment
 - setTextHorizontalAlignment
 - getTextFontSize
 - setTextFontSize
 - getTextFontSizeUnit
 - setTextFontSizeUnit
 - getTextVerticalAlignment
 - setTextVerticalAlignment
 - getTextPadding
 - setTextPadding
 - getWordWrap
 - setWordWrap
 - getTextFontStyle
 - setTextFontStyle
 - getTextFontWeight
 - setTextFontWeight
 - getTextFontFamily
 - setTextFontFamily
 - getStateSymbol
 - setStateSymbol
 
