Skip to main content
Version: v3

Button Element (Thmutil Extension)

Description
Defines a button.
Windows Installer references
None
Parents
Page, Theme
Inner Text (xs:string)
Text to display in the button.
Children
None
Attributes
NameTypeDescriptionRequired
FontIdNonNegativeIntegerNumeric identifier to the Font element that serves as the font for the control.Yes
HeightIntHeight of the control. Non-positive values extend the control to the bottom of the window minus the value.Yes
HexStyleHexBinaryHexadecimal window style for the control. 
HideWhenDisabledYesNoTypeSpecifies whether the control should be hidden when disabled. 
ImageFileStringRelative path to an image file to define an graphic button. The image must be 3x the height to represent the button in 3 states: unselected, hover, selected. Mutually exclusive with ImageResource and SourceX and SourceY attributes. 
ImageResourceStringIdentifier that references an image resource in the module for the control. The image must be 3x the height to represent the button in 3 states: unselected, hover, selected. Mutually exclusive with ImageFile and SourceX and SourceY attributes. 
NameStringOptional name for the control. 
TabStopYesNoTypeSpecifies whether the control is part of the tab sequence of controls. 
VisibleYesNoTypeSpecifies whether the control is initially visible. 
WidthIntWidth of the control. Non-positive values extend the control to the right of the window minus the value.Yes
XIntX coordinate for the control from the left of the window. Negative values are coordinates from the right of the window minus the width of the control.Yes
YIntY coordinate for the control from the top of the window. Negative values are coordinates from the bottom of the window minus the height of the control.Yes
See Also
Thmutil Schema