Skip to content

DialogFooter

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

The button row at the bottom of every dialog, laid out like the add devices page: Cancel (secondary, Escape) on the left, the dialog’s own buttons (DialogFooter.Actions, e.g. a secondary Back and a primary Apply) on the right. Without actions the Cancel / Close button alone sits on the right. Margin comes from the theme.

public sealed class DialogFooter : Grid

Inherits Grid

Set them in XAML (<ui:DialogFooter Name="..." />) or bind them.

Name Type Description
CancelCommand ICommand? Runs when the user clicks Cancel.
CancelText string? The text of the Cancel button (“Cancel”; “Close” for a dialog without other actions).
Controls Actions { get; }

The right-aligned buttons, in order.

Button CancelButton { get; }

The Cancel button (for tests).