获取与此 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。