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

For internal use.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.1.dll

Declaration

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

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