-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
StretchDirection.xml
118 lines (115 loc) · 6.08 KB
/
StretchDirection.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<Type Name="StretchDirection" FullName="System.Windows.Controls.StretchDirection">
<TypeSignature Language="C#" Value="public enum StretchDirection" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed StretchDirection extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.StretchDirection" />
<TypeSignature Language="VB.NET" Value="Public Enum StretchDirection" />
<TypeSignature Language="F#" Value="type StretchDirection = " />
<TypeSignature Language="C++ CLI" Value="public enum class StretchDirection" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</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.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Describes how scaling applies to content and restricts scaling to named axis types.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to create an instance of <xref:System.Windows.Controls.Viewbox> and set the <xref:System.Windows.Controls.StretchDirection> of content by using code.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Wpf/ViewBoxCode/CPP/ViewboxCode.cpp" id="Snippet2":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/MediaElement/Stretch/ViewboxCode.cs" id="Snippet2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/ViewBoxCode/VisualBasic/ViewBoxCodeVB.vb" id="Snippet2":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.Viewbox" />
<altmember cref="T:System.Windows.Controls.Image" />
</Docs>
<Members>
<Member MemberName="Both">
<MemberSignature Language="C#" Value="Both" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.StretchDirection Both = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.StretchDirection.Both" />
<MemberSignature Language="VB.NET" Value="Both" />
<MemberSignature Language="F#" Value="Both = 2" Usage="System.Windows.Controls.StretchDirection.Both" />
<MemberSignature Language="C++ CLI" Value="Both" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</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.Controls.StretchDirection</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>The content stretches to fit the parent according to the <see cref="T:System.Windows.Media.Stretch" /> mode.</summary>
</Docs>
</Member>
<Member MemberName="DownOnly">
<MemberSignature Language="C#" Value="DownOnly" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.StretchDirection DownOnly = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.StretchDirection.DownOnly" />
<MemberSignature Language="VB.NET" Value="DownOnly" />
<MemberSignature Language="F#" Value="DownOnly = 1" Usage="System.Windows.Controls.StretchDirection.DownOnly" />
<MemberSignature Language="C++ CLI" Value="DownOnly" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</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.Controls.StretchDirection</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed.</summary>
</Docs>
</Member>
<Member MemberName="UpOnly">
<MemberSignature Language="C#" Value="UpOnly" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Controls.StretchDirection UpOnly = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.StretchDirection.UpOnly" />
<MemberSignature Language="VB.NET" Value="UpOnly" />
<MemberSignature Language="F#" Value="UpOnly = 0" Usage="System.Windows.Controls.StretchDirection.UpOnly" />
<MemberSignature Language="C++ CLI" Value="UpOnly" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</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.Controls.StretchDirection</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>The content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed.</summary>
</Docs>
</Member>
</Members>
</Type>