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

For internal use.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v19.2.dll

Declaration

public static List<UICommand> GenerateFromMessageButton(
    MessageButton dialogButtons,
    IMessageButtonLocalizer buttonLocalizer,
    MessageResult? defaultButton = default(MessageResult? ),
    MessageResult? cancelButton = default(MessageResult? )
)
Public Shared Function GenerateFromMessageButton(
    dialogButtons As MessageButton,
    buttonLocalizer As IMessageButtonLocalizer,
    defaultButton As MessageResult? = Nothing,
    cancelButton As MessageResult? = Nothing
) As List(Of UICommand)

Parameters

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

Optional Parameters

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

null

cancelButton Nullable<DevExpress.Mvvm.MessageResult>

null

Returns

Type Description
List<UICommand>
See Also