Skip to main content

UICommand.GenerateFromMessageBoxButton(MessageBoxButton, IMessageButtonLocalizer, Nullable<MessageBoxResult>, Nullable<MessageBoxResult>) Method

For internal use.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public static List<UICommand> GenerateFromMessageBoxButton(
    MessageBoxButton dialogButtons,
    IMessageButtonLocalizer buttonLocalizer,
    MessageBoxResult? defaultButton = null,
    MessageBoxResult? cancelButton = null
)

Parameters

Name Type
dialogButtons MessageBoxButton
buttonLocalizer DevExpress.Mvvm.IMessageButtonLocalizer

Optional Parameters

Name Type Default
defaultButton Nullable<MessageBoxResult> null
cancelButton Nullable<MessageBoxResult> null

Returns

Type
List<UICommand>
See Also