RibbonQuickAccessToolBarAutomationPeer.ExpandCollapseState 属性

获取与此 RibbonQuickAccessToolBarAutomationPeer 关联的 RibbonQuickAccessToolBar 的状态(已展开或已折叠)。

命名空间:  Microsoft.Windows.Automation.Peers
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public ReadOnly Property ExpandCollapseState As ExpandCollapseState
    Get
public ExpandCollapseState ExpandCollapseState { get; }
public:
virtual property ExpandCollapseState ExpandCollapseState {
    ExpandCollapseState get () sealed;
}
abstract ExpandCollapseState : ExpandCollapseState
override ExpandCollapseState : ExpandCollapseState
final function get ExpandCollapseState () : ExpandCollapseState

属性值

类型:System.Windows.Automation.ExpandCollapseState
与此 RibbonQuickAccessToolBarAutomationPeer 关联的 RibbonQuickAccessToolBar 的状态。

实现

IExpandCollapseProvider.ExpandCollapseState

.NET Framework 安全性

请参见

参考

RibbonQuickAccessToolBarAutomationPeer 类

Microsoft.Windows.Automation.Peers 命名空间