共用方式為


AppBarButtonAutomationPeer.ExpandCollapseState 屬性

定義

取得控制項的狀態,可能為展開或摺疊。

public:
 property ExpandCollapseState ExpandCollapseState { ExpandCollapseState get(); };
ExpandCollapseState ExpandCollapseState();
public ExpandCollapseState ExpandCollapseState { get; }
var expandCollapseState = appBarButtonAutomationPeer.expandCollapseState;
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState

屬性值

列舉值。

實作

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於