Share via


ItemsView.SelectionMode 속성

정의

instance 선택 동작을 ItemsView 가져오거나 설정합니다.

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

속성 값

선택 동작을 나타내는 열거형 값입니다. 기본값은 Single입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

적용 대상