Skip to main content
A newer version of this page is available. .

WindowsUIButton Constructors

A Custom Button in the WindowsUI View. A button in the WindowsUIButtonPanel control.
Name Parameters Description
WindowsUIButton() none Initializes a new instance of the WindowsUIButton class with the custom settings.
WindowsUIButton(String, ButtonStyle) caption, style Initializes a new instance of the WindowsUIButton class with the specified caption and style settings.
WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions, ButtonStyle, Int32) caption, useCaption, imageOptions, style, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions, ButtonStyle, String, Int32, Boolean, SuperToolTip, Boolean, Boolean, Boolean, Object, Int32, Boolean) caption, useCaption, imageOptions, style, toolTip, visibleIndex, enabled, superTip, useImage, checked, visible, tag, groupIndex, isLeft Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions) caption, useCaption, imageOptions Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, Int32, ButtonStyle, Int32) caption, image, imageIndex, style, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings, including caption, icon, button style and group index.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, Int32) caption, image, imageIndex, imageLocation, style, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Boolean, Boolean, Boolean, Object, Object, Int32, Boolean, Boolean) caption, image, imageIndex, imageLocation, style, toolTip, useCaption, visibleIndex, enabled, superTip, useImage, checked, visible, glyphs, tag, groupIndex, isLeft, enableImageTransparency Initializes a new instance of the WindowsUIButton class with custom settings.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Int32) caption, image, imageIndex, imageLocation, style, toolTip, useCaption, visibleIndex, enabled, superTip, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Int32) caption, image, imageIndex, imageLocation, style, toolTip, useCaption, visibleIndex, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, String, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Boolean, Boolean, Boolean, Object, Object, Int32, Boolean, Boolean) caption, image, imageUri, imageIndex, imageLocation, style, toolTip, useCaption, visibleIndex, enabled, superTip, useImage, checked, visible, glyphs, tag, groupIndex, isLeft, enableImageTransparency Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, String) caption, image, imageUri Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image) caption, image Initializes a new instance of the WindowsUIButton class with the specified settings (text and icon).
WindowsUIButton(String, String, ButtonStyle, Int32) caption, imageUri, style, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, Int32) caption, imageUri, imageLocation, style, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Boolean, Boolean, Boolean, Object, Object, Int32, Boolean, Boolean) caption, imageUri, imageLocation, style, toolTip, useCaption, visibleIndex, enabled, superTip, useImage, checked, visible, glyphs, tag, groupIndex, isLeft, enableImageTransparency Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Int32) caption, imageUri, imageLocation, style, toolTip, useCaption, visibleIndex, enabled, superTip, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, String, Boolean, Int32, Int32) caption, imageUri, imageLocation, style, toolTip, useCaption, visibleIndex, groupIndex Initializes a new instance of the WindowsUIButton class with the specified settings.
See Also