Skip to main content

WindowsUIButton Members

A Custom Button in the WindowsUI View. A button in the WindowsUIButtonPanel control.

Constructors

Name Description
WindowsUIButton() Initializes a new instance of the WindowsUIButton class with the custom settings.
WindowsUIButton(String, ButtonStyle) Initializes a new instance of the WindowsUIButton class with the specified caption and style settings.
WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions, ButtonStyle, Int32) 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) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Boolean, WindowsUIButtonImageOptions) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, Int32, ButtonStyle, Int32) 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) 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) Initializes a new instance of the WindowsUIButton class with custom settings.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Int32) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, Int32, ImageLocation, ButtonStyle, String, Boolean, Int32, Int32) 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) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image, String) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, Image) Initializes a new instance of the WindowsUIButton class with the specified settings (text and icon).
WindowsUIButton(String, String, ButtonStyle, Int32) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, Int32) 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) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, String, Boolean, Int32, Boolean, SuperToolTip, Int32) Initializes a new instance of the WindowsUIButton class with the specified settings.
WindowsUIButton(String, String, ImageLocation, ButtonStyle, String, Boolean, Int32, Int32) Initializes a new instance of the WindowsUIButton class with the specified settings.

Properties

Name Description
Appearance Provides access to appearance settings for the current WindowsUIButton.
Command Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
CommandParameter Gets or sets the parameter that is passed to the command specified by the Command property.
EnableImageTransparency Gets or sets whether specific colors in the current WindowsUIButton‘s image are transparent.
ImageLocation Gets or sets the position of the current WindowsUIButton‘s icon relative to this button’s text.
ImageOptions Provides access to all properties that allow you to assign and customize an icon for this WindowsUIButton.
IsLeft Gets or sets whether the current WindowsUIButton is horizontally aligned to the left.

Methods

Name Description
BindCommand(Expression<Action>, Object, Func<Object>) Uses the command selector to find an appropriate parameterized command in the source and bind it to this WindowsUIButton.
BindCommand(Object, Func<Object>) Binds the specific parameterized command to this WindowsUIButton.
BindCommand<T>(Expression<Action<T>>, Object, Func<T>) Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this WindowsUIButton.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.

Events

Name Description
Click Occurs when an end-user clicks this WindowsUIButton.
CommandCanExecuteChanged Occurs when the CanExecute(Object) status of the Command has changed.
CommandChanged Occurs after the value of the Command property has changed.
CommandParameterChanged Occurs after the value of the CommandParameter property has changed.
See Also