Share via


SplitView.CompactPaneLength 屬性

定義

取得或設定 SplitView 窗格在其精簡顯示模式中的寬度。

public:
 property double CompactPaneLength { double get(); void set(double value); };
double CompactPaneLength();

void CompactPaneLength(double value);
public double CompactPaneLength { get; set; }
var double = splitView.compactPaneLength;
splitView.compactPaneLength = double;
Public Property CompactPaneLength As Double
<SplitView CompactPaneLength="double" .../>
    

屬性值

Double

double

窗格在其精簡顯示模式中的寬度。 預設值為 48 個與裝置無關的圖元, (DIP) (由 SplitViewCompactPaneThemeLength 資源所定義) 。

備註

DisplayModeCompactIsPaneOpenfalse時,此屬性會指定窗格的寬度。

適用於