Share via


DropDownButtonAutomationPeer.ExpandCollapseState 属性

定义

获取控件的状态(展开或折叠)。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.DropDownButtonAutomationPeer.ExpandCollapseState (在Windows 应用 SDK中,请参阅Windows 应用 SDK命名空间) 。

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

属性值

枚举的一个值。

实现

适用于