編輯

共用方式為


TreeViewDataItemAutomationPeer.IExpandCollapseProvider.ExpandCollapseState Property

Definition

Gets the state, expanded or collapsed, of the control.

property System::Windows::Automation::ExpandCollapseState System::Windows::Automation::Provider::IExpandCollapseProvider::ExpandCollapseState { System::Windows::Automation::ExpandCollapseState get(); };
System.Windows.Automation.ExpandCollapseState System.Windows.Automation.Provider.IExpandCollapseProvider.ExpandCollapseState { get; }
member this.System.Windows.Automation.Provider.IExpandCollapseProvider.ExpandCollapseState : System.Windows.Automation.ExpandCollapseState
 ReadOnly Property ExpandCollapseState As ExpandCollapseState Implements IExpandCollapseProvider.ExpandCollapseState

Property Value

The state, expanded or collapsed, of the control.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the TreeViewDataItemAutomationPeer instance is cast to an IExpandCollapseProvider interface.

Applies to