इसके माध्यम से साझा किया गया


ListViewItemPresenter.DragOpacity Property

Definition

Gets or sets the opacity of an item that's being dragged.

public:
 property double DragOpacity { double get(); void set(double value); };
double DragOpacity();

void DragOpacity(double value);
public double DragOpacity { get; set; }
var double = listViewItemPresenter.dragOpacity;
listViewItemPresenter.dragOpacity = double;
Public Property DragOpacity As Double
<listViewItemPresenterDragOpacity="themeResourceReference"/>
- or -
<listViewItemPresenter DragOpacity="double"/>

Property Value

Double

double

The opacity of an item that's being dragged. The value should be between 0 and 1. 0 is no opacity (transparent), 1 is full opacity (renders normally). The effective default value at run-time comes from themes.

Remarks

Notes on XAML syntax

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.

Applies to