次の方法で共有


RibbonAutomationPeer.ExpandCollapseState プロパティ

この RibbonAutomationPeer に関連付けられているコントロールの状態 (展開、または、折りたたまれた状態) を取得します。

名前空間:  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
RibbonAutomationPeer に関連付けられたコントロールの状態。

実装

IExpandCollapseProvider.ExpandCollapseState

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

RibbonAutomationPeer クラス

Microsoft.Windows.Automation.Peers 名前空間