Skip to main content

UICommand.GenerateFromMessageBoxButton(MessageBoxButton, IMessageBoxButtonLocalizer, 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,
    IMessageBoxButtonLocalizer buttonLocalizer,
    MessageBoxResult? defaultButton = null,
    MessageBoxResult? cancelButton = null
)

Parameters

Name Type
dialogButtons MessageBoxButton
buttonLocalizer DevExpress.Mvvm.IMessageBoxButtonLocalizer

Optional Parameters

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

Returns

Type
List<UICommand>
See Also