Share via


TreeView.CanReorderItems 속성

정의

사용자 상호 작용을 통해 뷰의 항목을 다시 정렬할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property bool CanReorderItems { bool get(); void set(bool value); };
bool CanReorderItems();

void CanReorderItems(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool CanReorderItems();

void CanReorderItems(bool value);
public bool CanReorderItems { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool CanReorderItems { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property CanReorderItems As Boolean
<TreeView CanReorderItems="bool"/>

속성 값

Boolean

bool

사용자 상호 작용을 통해 보기의 항목을 다시 정렬할 수 있으면 true입니다. 그렇지 않으면 false입니다. 기본값은 true입니다.

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

적용 대상