-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.Primitives.ListViewItemPresenter.DisabledOpacity |
winrt property |
Gets or sets the opacity of an item that is disabled.
<listViewItemPresenterDisabledOpacity="themeResourceReference"/>
- or -
<listViewItemPresenter Opacity="double"/>
- themeResourceReference
- themeResourceReferenceA ThemeResource markup extension reference to an existing keyed resource that defines a Double-type resource in a XAML resource dictionary. For example, to reference a resource with the key ListViewItemDisabledThemeOpacity, the string is {ThemeResource ListViewItemDisabledThemeOpacity}.
The first XAML usage shown is for referencing a theme resource. This is how values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that values can be shared by different templates.