ContentDialog.DefaultButtonProperty Property


Gets the identifier of the DefaultButton dependency property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ContentDialog.DefaultButtonProperty.

 static property DependencyProperty ^ DefaultButtonProperty { DependencyProperty ^ get(); };
DependencyProperty DefaultButtonProperty();
public static DependencyProperty DefaultButtonProperty { get; }
var dependencyProperty = ContentDialog.defaultButtonProperty;
Public Shared ReadOnly Property DefaultButtonProperty As DependencyProperty

Property Value


The identifier of the DefaultButton dependency property.

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to