UICommand.GenerateFromMessageButton(MessageButton, IMessageButtonLocalizer, Nullable<MessageResult>, Nullable<MessageResult>) Method

For internal use.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.1.dll

Declaration

public static List<UICommand> GenerateFromMessageButton(
    MessageButton dialogButtons,
    IMessageButtonLocalizer buttonLocalizer,
    MessageResult? defaultButton = default(MessageResult? ),
    MessageResult? cancelButton = default(MessageResult? )
)

Parameters

Name Type
dialogButtons DevExpress.Mvvm.MessageButton
buttonLocalizer DevExpress.Mvvm.IMessageButtonLocalizer

Optional Parameters

Name Type Default
defaultButton Nullable<DevExpress.Mvvm.MessageResult>

null

cancelButton Nullable<DevExpress.Mvvm.MessageResult>

null

Returns

Type
List<UICommand>
See Also