-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
SizeChangedEventArgs.xml
214 lines (206 loc) · 13.2 KB
/
SizeChangedEventArgs.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<Type Name="SizeChangedEventArgs" FullName="System.Windows.SizeChangedEventArgs">
<TypeSignature Language="C#" Value="public class SizeChangedEventArgs : System.Windows.RoutedEventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SizeChangedEventArgs extends System.Windows.RoutedEventArgs" />
<TypeSignature Language="DocId" Value="T:System.Windows.SizeChangedEventArgs" />
<TypeSignature Language="VB.NET" Value="Public Class SizeChangedEventArgs
Inherits RoutedEventArgs" />
<TypeSignature Language="F#" Value="type SizeChangedEventArgs = class
 inherit RoutedEventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class SizeChangedEventArgs : System::Windows::RoutedEventArgs" />
<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.Windows.RoutedEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides data related to the <see cref="E:System.Windows.FrameworkElement.SizeChanged" /> event.</summary>
<remarks>To be added.</remarks>
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
<Members>
<Member MemberName="HeightChanged">
<MemberSignature Language="C#" Value="public bool HeightChanged { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HeightChanged" />
<MemberSignature Language="DocId" Value="P:System.Windows.SizeChangedEventArgs.HeightChanged" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HeightChanged As Boolean" />
<MemberSignature Language="F#" Value="member this.HeightChanged : bool" Usage="System.Windows.SizeChangedEventArgs.HeightChanged" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool HeightChanged { bool get(); };" />
<MemberType>Property</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.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="P:System.Windows.FrameworkElement.Height" /> component of the size changed.</summary>
<value>
<see langword="true" /> if the <see cref="P:System.Windows.FrameworkElement.Height" /> component of the size changed; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Because <xref:System.Double> precision numbers process imprecisely, this property might return a value of `false` even when <xref:System.Windows.SizeChangedEventArgs.PreviousSize%2A> and <xref:System.Windows.SizeChangedEventArgs.NewSize%2A> are not equal.
The layout system occasionally experiences this state due to minor fluctuations in the input parameters; however, the overall rendered scene is considered to be the same; therefore, no visible changes are detected. The handler for the <xref:System.Windows.FrameworkElement.SizeChanged> event should check for this state in order to avoid invalidation of layout if the dimension didn't actually change.
]]></format>
</remarks>
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
</Member>
<Member MemberName="InvokeEventHandler">
<MemberSignature Language="C#" Value="protected override void InvokeEventHandler (Delegate genericHandler, object genericTarget);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void InvokeEventHandler(class System.Delegate genericHandler, object genericTarget) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.SizeChangedEventArgs.InvokeEventHandler(System.Delegate,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub InvokeEventHandler (genericHandler As Delegate, genericTarget As Object)" />
<MemberSignature Language="F#" Value="override this.InvokeEventHandler : Delegate * obj -> unit" Usage="sizeChangedEventArgs.InvokeEventHandler (genericHandler, genericTarget)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void InvokeEventHandler(Delegate ^ genericHandler, System::Object ^ genericTarget);" />
<MemberType>Method</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.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="genericHandler" Type="System.Delegate" />
<Parameter Name="genericTarget" Type="System.Object" />
</Parameters>
<Docs>
<param name="genericHandler">The generic handler to call in a type-specific way.</param>
<param name="genericTarget">The target to call the handler on.</param>
<summary>Invokes event handlers in a type-specific way, which can increase event system efficiency.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This implementation casts the generic handler as a <xref:System.Windows.SizeChangedEventHandler> and then invokes it. For details on this implementation pattern and the reasons for it, see <xref:System.Windows.RoutedEventArgs.InvokeEventHandler%2A> and [Routed Events Overview](/dotnet/framework/wpf/advanced/routed-events-overview).
]]></format>
</remarks>
<altmember cref="M:System.Windows.RoutedEventArgs.InvokeEventHandler(System.Delegate,System.Object)" />
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
</Member>
<Member MemberName="NewSize">
<MemberSignature Language="C#" Value="public System.Windows.Size NewSize { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Size NewSize" />
<MemberSignature Language="DocId" Value="P:System.Windows.SizeChangedEventArgs.NewSize" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property NewSize As Size" />
<MemberSignature Language="F#" Value="member this.NewSize : System.Windows.Size" Usage="System.Windows.SizeChangedEventArgs.NewSize" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Size NewSize { System::Windows::Size get(); };" />
<MemberType>Property</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.Size</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the new <see cref="T:System.Windows.Size" /> of the object.</summary>
<value>The new <see cref="T:System.Windows.Size" /> of the object.</value>
<remarks>To be added.</remarks>
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
</Member>
<Member MemberName="PreviousSize">
<MemberSignature Language="C#" Value="public System.Windows.Size PreviousSize { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Size PreviousSize" />
<MemberSignature Language="DocId" Value="P:System.Windows.SizeChangedEventArgs.PreviousSize" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PreviousSize As Size" />
<MemberSignature Language="F#" Value="member this.PreviousSize : System.Windows.Size" Usage="System.Windows.SizeChangedEventArgs.PreviousSize" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Size PreviousSize { System::Windows::Size get(); };" />
<MemberType>Property</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>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Size</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the previous <see cref="T:System.Windows.Size" /> of the object.</summary>
<value>The previous <see cref="T:System.Windows.Size" /> of the object.</value>
<remarks>To be added.</remarks>
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
</Member>
<Member MemberName="WidthChanged">
<MemberSignature Language="C#" Value="public bool WidthChanged { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool WidthChanged" />
<MemberSignature Language="DocId" Value="P:System.Windows.SizeChangedEventArgs.WidthChanged" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property WidthChanged As Boolean" />
<MemberSignature Language="F#" Value="member this.WidthChanged : bool" Usage="System.Windows.SizeChangedEventArgs.WidthChanged" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool WidthChanged { bool get(); };" />
<MemberType>Property</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.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the <see cref="P:System.Windows.FrameworkElement.Width" /> component of the size changed.</summary>
<value>
<see langword="true" /> if the <see cref="P:System.Windows.FrameworkElement.Width" /> component of the size changed; otherwise, <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Because <xref:System.Double> precision numbers process imprecisely, this property might return a value of `false` even when <xref:System.Windows.SizeChangedEventArgs.PreviousSize%2A> and <xref:System.Windows.SizeChangedEventArgs.NewSize%2A> are not equal.
The layout system occasionally experiences this state due to minor fluctuations in the input parameters; however, the overall rendered scene is considered to be the same; therefore, no visible changes are detected. The handler for the <xref:System.Windows.FrameworkElement.SizeChanged> event should check for this state in order to avoid invalidation of layout if the dimension didn't actually change.
]]></format>
</remarks>
<altmember cref="E:System.Windows.FrameworkElement.SizeChanged" />
<altmember cref="T:System.Windows.SizeChangedEventHandler" />
</Docs>
</Member>
</Members>
</Type>