-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
ExpandCollapsePattern+ExpandCollapsePatternInformation.xml
80 lines (73 loc) · 6.07 KB
/
ExpandCollapsePattern+ExpandCollapsePatternInformation.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Type Name="ExpandCollapsePattern+ExpandCollapsePatternInformation" FullName="System.Windows.Automation.ExpandCollapsePattern+ExpandCollapsePatternInformation">
<TypeSignature Language="C#" Value="public struct ExpandCollapsePattern.ExpandCollapsePatternInformation" />
<TypeSignature Language="ILAsm" Value=".class nested public sequential ansi sealed beforefieldinit ExpandCollapsePattern/ExpandCollapsePatternInformation extends System.ValueType" />
<TypeSignature Language="DocId" Value="T:System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation" />
<TypeSignature Language="VB.NET" Value="Public Structure ExpandCollapsePattern.ExpandCollapsePatternInformation" />
<TypeSignature Language="F#" Value="type ExpandCollapsePattern.ExpandCollapsePatternInformation = struct" />
<TypeSignature Language="C++ CLI" Value="public: value class ExpandCollapsePattern::ExpandCollapsePatternInformation" />
<AssemblyInfo>
<AssemblyName>UIAutomationClient</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides access to the property values of a <see cref="T:System.Windows.Automation.ExpandCollapsePattern" /> object using its <see cref="P:System.Windows.Automation.ExpandCollapsePattern.Current" /> or <see cref="P:System.Windows.Automation.ExpandCollapsePattern.Cached" /> accessors.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Automation.Provider.IExpandCollapseProvider" />
<related type="Article" href="/dotnet/framework/ui-automation/ui-automation-control-patterns-overview">UI Automation Control Patterns Overview</related>
<related type="Article" href="/dotnet/framework/ui-automation/ui-automation-control-patterns-for-clients">UI Automation Control Patterns for Clients</related>
<related type="Article" href="https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms771636(v=vs.90)">InvokePattern and ExpandCollapsePattern Menu Item Sample</related>
<related type="Article" href="/dotnet/framework/ui-automation/use-caching-in-ui-automation">Use Caching in UI Automation</related>
</Docs>
<Members>
<Member MemberName="ExpandCollapseState">
<MemberSignature Language="C#" Value="public System.Windows.Automation.ExpandCollapseState ExpandCollapseState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Automation.ExpandCollapseState ExpandCollapseState" />
<MemberSignature Language="DocId" Value="P:System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation.ExpandCollapseState" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ExpandCollapseState As ExpandCollapseState" />
<MemberSignature Language="F#" Value="member this.ExpandCollapseState : System.Windows.Automation.ExpandCollapseState" Usage="System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation.ExpandCollapseState" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Automation::ExpandCollapseState ExpandCollapseState { System::Windows::Automation::ExpandCollapseState get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>UIAutomationClient</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Automation.ExpandCollapseState</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Windows.Automation.ExpandCollapseState" /> of the <see cref="T:System.Windows.Automation.AutomationElement" />.</summary>
<value>The <see cref="T:System.Windows.Automation.ExpandCollapseState" /> of <see cref="T:System.Windows.Automation.AutomationElement" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Automation.ExpandCollapseState> refers to the visibility of immediate child objects only; it does not refer to the visibility of all descendant objects.
The default value is <xref:System.Windows.Automation.ExpandCollapseState.Expanded>.
## Examples
In the following example, an <xref:System.Windows.Automation.AutomationElement> representing a menu item is passed to a function that attempts to expand or collapse the menu item based on its current <xref:System.Windows.Automation.ExpandCollapseState>.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snippets.cs" id="Snippet101":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/UIAExpandCollapsePattern_snip/VisualBasic/UIAExpandCollapsePattern_snippets.vb" id="Snippet101":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Automation/ExpandCollapsePattern+ExpandCollapsePatternInformation/ExpandCollapseState/UIAExpandCollapsePattern_snippets.cs" id="Snippet102":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/UIAExpandCollapsePattern_snip/VisualBasic/UIAExpandCollapsePattern_snippets.vb" id="Snippet102":::
]]></format>
</remarks>
<related type="Article" href="https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms771636(v=vs.90)">InvokePattern and ExpandCollapsePattern Menu Item Sample</related>
</Docs>
</Member>
</Members>
</Type>