WiX Toolset

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
Name Type Description Required
FontId NonNegativeInteger Numeric identifier to the Font element that serves as the font for the control. Yes
Height Int Height of the control. Non-positive values extend the control to the bottom of the window minus the value. Yes
HexStyle HexBinary Hexadecimal window style for the control.  
HideWhenDisabled YesNoType Specifies whether the control should be hidden when disabled.  
ImageFile String Relative 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.  
ImageResource String Identifier 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.  
Name String Optional name for the control.  
TabStop YesNoType Specifies whether the control is part of the tab sequence of controls.  
Visible YesNoType Specifies whether the control is initially visible.  
Width Int Width of the control. Non-positive values extend the control to the right of the window minus the value. Yes
X Int X 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
Y Int Y 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