Share via


ItemsView.SelectionMode Propriedade

Definição

Obtém ou define o comportamento de seleção de uma ItemsView instância.

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

Valor da propriedade

Um valor de enumeração que indica o comportamento da seleção. O padrão é Single.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a