Freigeben über


ItemsView.SelectionMode Eigenschaft

Definition

Ruft das Auswahlverhalten für eine instance ab ItemsView oder legt es fest.

public:
 property ItemsViewSelectionMode SelectionMode { ItemsViewSelectionMode get(); void set(ItemsViewSelectionMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
ItemsViewSelectionMode SelectionMode();

void SelectionMode(ItemsViewSelectionMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
ItemsViewSelectionMode SelectionMode();

void SelectionMode(ItemsViewSelectionMode value);
public ItemsViewSelectionMode SelectionMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")]
public ItemsViewSelectionMode SelectionMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ItemsView::s_defaultSelectionMode")] set; }
var itemsViewSelectionMode = itemsView.selectionMode;
itemsView.selectionMode = itemsViewSelectionMode;
Public Property SelectionMode As ItemsViewSelectionMode

Eigenschaftswert

Ein Enumerationswert, der das Auswahlverhalten angibt. Der Standardwert lautet Single.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: