Back to Devexpress

UICommand Members

corelibraries-devexpress-dot-mvvm-dot-uicommand-dot-underscore-members.md

latest7.1 KB
Original Source

UICommand Members

A ViewModel that generates a dialog button.

Constructors

NameDescription
UICommand()Initializes a new instance of the UICommand class with the default settings.
[UICommand(Object, Object, ICommand<CancelEventArgs>, Boolean, Boolean, Object, Boolean, Object, DialogButtonAlignment, AsyncDisplayMode, Object, GlyphAlignment)](/CoreLibraries/DevExpress.Mvvm.UICommand.(-pHyM-----o----)Initializes a new instance of the UICommand class with specified settings.
UICommand(Object, Object, ICommand<CancelEventArgs>)Initializes a new instance of the UICommand class with specified settings.
UICommand(Object, Object, ICommand, Boolean, Boolean, Object, Boolean, Object, DialogButtonAlignment, AsyncDisplayMode, Object, GlyphAlignment)Initializes a new instance of the UICommand class with specified settings.
UICommand(Object, Object, ICommand)Initializes a new instance of the UICommand class with specified settings.

Properties

NameDescription
ActualAlignmentFor internal use only.
AlignmentGets or sets the dialog button’s horizontal alignment.
AllowCloseWindowGets or sets a value that indicates whether the dialog button is the close button.
AsyncDisplayModeGets or sets how the dialog button indicates executed asynchronous operations.
CaptionGets or sets the text displayed within the dialog button.
CommandGets or sets the command to invoke when the dialog button is clicked.
GlyphGets or sets the image displayed in the dialog button.
GlyphAlignmentGets or sets the dialog button’s image alignment.
IdGets or sets the identifier of the dialog button.
IsCancelGets or sets a value that indicates whether the dialog button is the cancel button.
IsDefaultGets or sets a value that indicates whether the dialog button is the default button.
PlacementGets or sets the dialog button alignment.
TagGets or sets the data associated with the dialog button.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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.
GenerateFromMessageBoxButton(MessageBoxButton, IMessageBoxButtonLocalizer, Nullable<MessageBoxResult>, Nullable<MessageBoxResult>) staticFor internal use.
GenerateFromMessageBoxButton(MessageBoxButton, IMessageButtonLocalizer, Nullable<MessageBoxResult>, Nullable<MessageBoxResult>) staticFor internal use.
GenerateFromMessageButton(MessageButton, IMessageButtonLocalizer, Nullable<MessageResult>, Nullable<MessageResult>) staticFor internal use.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetPropertyName<T>(Expression<Func<T>>) staticReturns the name of a property identified by a lambda expression. Inherited from BindableBase.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
PropertyChangedOccurs when a property value changes. Inherited from BindableBase.

See Also

UICommand Class

DevExpress.Mvvm Namespace