-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Primitives.ListViewItemPresenter.DragOpacity |
winrt property |
Gets or sets the opacity of an item that's being dragged.
<listViewItemPresenterDragOpacity="themeResourceReference"/>
- or -
<listViewItemPresenter DragOpacity="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 ListViewItemDragThemeOpacity, the string is {ThemeResource ListViewItemDragThemeOpacity}.
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.