Microsoft.UI.Xaml.CustomAttributes Namespace

Provides custom attributes (keyword-like descriptive declarations) that annotate programming elements such as types, fields, methods, and properties.

Note

This namespace requires the Microsoft.UI.Xaml.Controls NuGet package, a part of the Microsoft Windows UI Library.

Classes

MUXContractPropertyAttribute
MUXHasCustomActivationFactoryAttribute
MUXPropertyChangedCallbackAttribute
MUXPropertyChangedCallbackMethodNameAttribute
MUXPropertyDefaultValueAttribute
MUXPropertyNeedsDependencyPropertyFieldAttribute
MUXPropertyTypeAttribute
MUXPropertyValidationCallbackAttribute

Examples

See the XAML Controls Gallery sample app for examples of WinUI features and controls.

If you have the XAML Controls Gallery app installed, open the app to see the controls in action.

If you don't have the XAML Controls Gallery app installed, get the WinUI 2.x version from the Microsoft Store.

You can also view, clone, and build the XAML Controls Gallery source code from GitHub (switch to the WinUI 3 Preview branch for WinUI 3 Preview controls and features).

Remarks

See the XAML Controls Gallery sample app for examples of WinUI features and controls.

If you don't have the XAML Controls Gallery app installed, get the WinUI 2.x version from the Microsoft Store.

You can also view, clone, and build the XAML Controls Gallery source code from GitHub (switch to the WinUI 3 Preview branch for WinUI 3 Preview controls and features).

See also