Skip to main content

ContentDialogButton

C# API / Fluence.Wpf

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf
public enum ContentDialogButton

Identifies a command button of a ContentDialog, mirroring the WinUI 3 ContentDialogButton enumeration. Used by DefaultButton to select which button receives initial focus and responds to the Enter key.

C# source

Values​

Close​

Close = 3

The close button is the default.

None​

None = 0

No button is treated as the default.

Primary​

Primary = 1

The primary button is the default.

Secondary​

Secondary = 2

The secondary button is the default.