共用方式為


TwoPaneView.PanePriority 屬性

定義

取得或設定值,指出哪個窗格具有較高的優先順序。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property TwoPaneViewPriority PanePriority { TwoPaneViewPriority get(); void set(TwoPaneViewPriority value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
TwoPaneViewPriority PanePriority();

void PanePriority(TwoPaneViewPriority value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
TwoPaneViewPriority PanePriority();

void PanePriority(TwoPaneViewPriority value);
public TwoPaneViewPriority PanePriority { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")]
public TwoPaneViewPriority PanePriority { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::TwoPaneViewPriority::Pane1")] set; }
Public Property PanePriority As TwoPaneViewPriority

屬性值

列舉值,指出哪個窗格具有優先順序。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於