Skip to main content

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

For internal use.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.dll

Declaration

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

Parameters

Name Type
dialogButtons MessageButton
buttonLocalizer DevExpress.Mvvm.IMessageButtonLocalizer

Optional Parameters

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

Returns

Type
List<UICommand>
See Also