-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Primitives.GridViewItemPresenter.DisabledOpacity |
winrt property |
Gets or sets the opacity of an item that is disabled.
<gridViewItemPresenterDisabledOpacity="themeResourceReference"/>
- or -
<gridViewItemPresenter DisabledOpacity="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 GridViewItemDisabledThemeOpacity, the string is {ThemeResource GridViewItemDisabledThemeOpacity}.
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.