-
Notifications
You must be signed in to change notification settings - Fork 7
/
DisplayInfo.xml
409 lines (409 loc) · 25.3 KB
/
DisplayInfo.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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
<Type Name="DisplayInfo" FullName="Microsoft.Maui.Devices.DisplayInfo">
<TypeSignature Language="C#" Value="public readonly struct DisplayInfo : IEquatable<Microsoft.Maui.Devices.DisplayInfo>" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit DisplayInfo extends System.ValueType implements class System.IEquatable`1<valuetype Microsoft.Maui.Devices.DisplayInfo>" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Devices.DisplayInfo" />
<TypeSignature Language="VB.NET" Value="Public Structure DisplayInfo
Implements IEquatable(Of DisplayInfo)" />
<TypeSignature Language="C++ CLI" Value="public value class DisplayInfo : IEquatable<Microsoft::Maui::Devices::DisplayInfo>" />
<TypeSignature Language="F#" Value="type DisplayInfo = struct" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IEquatable<Microsoft.Maui.Devices.DisplayInfo></InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.IsReadOnly]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.IsReadOnly>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Represents information about the device's screen.
</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DisplayInfo (double width, double height, double density, Microsoft.Maui.Devices.DisplayOrientation orientation, Microsoft.Maui.Devices.DisplayRotation rotation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(float64 width, float64 height, float64 density, valuetype Microsoft.Maui.Devices.DisplayOrientation orientation, valuetype Microsoft.Maui.Devices.DisplayRotation rotation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.#ctor(System.Double,System.Double,System.Double,Microsoft.Maui.Devices.DisplayOrientation,Microsoft.Maui.Devices.DisplayRotation)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (width As Double, height As Double, density As Double, orientation As DisplayOrientation, rotation As DisplayRotation)" />
<MemberSignature Language="C++ CLI" Value="public:
 DisplayInfo(double width, double height, double density, Microsoft::Maui::Devices::DisplayOrientation orientation, Microsoft::Maui::Devices::DisplayRotation rotation);" />
<MemberSignature Language="F#" Value="new Microsoft.Maui.Devices.DisplayInfo : double * double * double * Microsoft.Maui.Devices.DisplayOrientation * Microsoft.Maui.Devices.DisplayRotation -> Microsoft.Maui.Devices.DisplayInfo" Usage="new Microsoft.Maui.Devices.DisplayInfo (width, height, density, orientation, rotation)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="width" Type="System.Double" />
<Parameter Name="height" Type="System.Double" />
<Parameter Name="density" Type="System.Double" />
<Parameter Name="orientation" Type="Microsoft.Maui.Devices.DisplayOrientation" />
<Parameter Name="rotation" Type="Microsoft.Maui.Devices.DisplayRotation" />
</Parameters>
<Docs>
<param name="width">The width of the display.</param>
<param name="height">The height of the display.</param>
<param name="density">The screen density.</param>
<param name="orientation">The current orientation.</param>
<param name="rotation">The rotation of the device.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Maui.Devices.DisplayInfo" /> class.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DisplayInfo (double width, double height, double density, Microsoft.Maui.Devices.DisplayOrientation orientation, Microsoft.Maui.Devices.DisplayRotation rotation, float rate);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(float64 width, float64 height, float64 density, valuetype Microsoft.Maui.Devices.DisplayOrientation orientation, valuetype Microsoft.Maui.Devices.DisplayRotation rotation, float32 rate) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.#ctor(System.Double,System.Double,System.Double,Microsoft.Maui.Devices.DisplayOrientation,Microsoft.Maui.Devices.DisplayRotation,System.Single)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (width As Double, height As Double, density As Double, orientation As DisplayOrientation, rotation As DisplayRotation, rate As Single)" />
<MemberSignature Language="C++ CLI" Value="public:
 DisplayInfo(double width, double height, double density, Microsoft::Maui::Devices::DisplayOrientation orientation, Microsoft::Maui::Devices::DisplayRotation rotation, float rate);" />
<MemberSignature Language="F#" Value="new Microsoft.Maui.Devices.DisplayInfo : double * double * double * Microsoft.Maui.Devices.DisplayOrientation * Microsoft.Maui.Devices.DisplayRotation * single -> Microsoft.Maui.Devices.DisplayInfo" Usage="new Microsoft.Maui.Devices.DisplayInfo (width, height, density, orientation, rotation, rate)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="width" Type="System.Double" />
<Parameter Name="height" Type="System.Double" />
<Parameter Name="density" Type="System.Double" />
<Parameter Name="orientation" Type="Microsoft.Maui.Devices.DisplayOrientation" />
<Parameter Name="rotation" Type="Microsoft.Maui.Devices.DisplayRotation" />
<Parameter Name="rate" Type="System.Single" />
</Parameters>
<Docs>
<param name="width">The width of the display.</param>
<param name="height">The height of the display.</param>
<param name="density">The screen density.</param>
<param name="orientation">The current orientation.</param>
<param name="rotation">The rotation of the device.</param>
<param name="rate">The refresh rate of the display.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Maui.Devices.DisplayInfo" /> class.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Density">
<MemberSignature Language="C#" Value="public double Density { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Density" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.Density" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Density As Double" />
<MemberSignature Language="C++ CLI" Value="public:
 property double Density { double get(); };" />
<MemberSignature Language="F#" Value="member this.Density : double" Usage="Microsoft.Maui.Devices.DisplayInfo.Density" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets a value representing the screen density.
</summary>
<value>The screen density.</value>
<remarks>
<para>The density is the scaling or a factor that can be used to convert between physical pixels and scaled pixels. For example, on high resolution displays, the physical number of pixels increases, but the scaled pixels remain the same.</para>
<para>In a practical example for iOS, the Retina display will have a density of 2.0 or 3.0, but the units used to lay out a view does not change much. A view with a UI width of 100 may be 100 physical pixels (density = 1) on a non-Retina device, but be 200 physical pixels (density = 2) on a Retina device.</para>
<para>On Windows, the density works similarly, and may often relate to the scale used in the display. On some monitors, the scale is set to 100% (density = 1), but on other high resolution monitors, the scale may be set to 200% (density = 2) or even 250% (density = 2.5).</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public bool Equals (Microsoft.Maui.Devices.DisplayInfo other);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype Microsoft.Maui.Devices.DisplayInfo other) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.Equals(Microsoft.Maui.Devices.DisplayInfo)" />
<MemberSignature Language="VB.NET" Value="Public Function Equals (other As DisplayInfo) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual bool Equals(Microsoft::Maui::Devices::DisplayInfo other);" />
<MemberSignature Language="F#" Value="override this.Equals : Microsoft.Maui.Devices.DisplayInfo -> bool" Usage="displayInfo.Equals other" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="other" Type="Microsoft.Maui.Devices.DisplayInfo" />
</Parameters>
<Docs>
<param name="other">
<see cref="T:Microsoft.Maui.Devices.DisplayInfo" /> object to compare with.</param>
<summary>
Compares the underlying <see cref="T:Microsoft.Maui.Devices.DisplayInfo" /> instances.
</summary>
<returns>
<see langword="true" /> if they are equal, otherwise <see langword="false" />.</returns>
<remarks>Equality is established by comparing if <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Height" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Width" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Density" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Orientation" /> and <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Rotation" /> are all equal.</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (obj As Object) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool Equals(System::Object ^ obj);" />
<MemberSignature Language="F#" Value="override this.Equals : obj -> bool" Usage="displayInfo.Equals obj" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<param name="obj">Object to compare.</param>
<summary>If equal to another object.</summary>
<returns>If equal.</returns>
<remarks />
<inheritdoc cref="M:System.IEquatable`1.Equals(`0)" />
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 override int GetHashCode();" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -> int" Usage="displayInfo.GetHashCode " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Gets the hash code for this display info instance.
</summary>
<returns>The computed hash code for this device idiom or <c>0</c> when the device platform is <see langword="null" />.</returns>
<remarks>The hash code is computed from <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Height" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Width" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Density" />, <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Orientation" /> and <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Rotation" />.</remarks>
</Docs>
</Member>
<Member MemberName="Height">
<MemberSignature Language="C#" Value="public double Height { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Height" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.Height" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Height As Double" />
<MemberSignature Language="C++ CLI" Value="public:
 property double Height { double get(); };" />
<MemberSignature Language="F#" Value="member this.Height : double" Usage="Microsoft.Maui.Devices.DisplayInfo.Height" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the height of the screen (in pixels) for the current <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Orientation" />.
</summary>
<value>The height in pixels.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="op_Equality">
<MemberSignature Language="C#" Value="public static bool operator == (Microsoft.Maui.Devices.DisplayInfo left, Microsoft.Maui.Devices.DisplayInfo right);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype Microsoft.Maui.Devices.DisplayInfo left, valuetype Microsoft.Maui.Devices.DisplayInfo right) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.op_Equality(Microsoft.Maui.Devices.DisplayInfo,Microsoft.Maui.Devices.DisplayInfo)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator == (left As DisplayInfo, right As DisplayInfo) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool operator ==(Microsoft::Maui::Devices::DisplayInfo left, Microsoft::Maui::Devices::DisplayInfo right);" />
<MemberSignature Language="F#" Value="static member ( = ) : Microsoft.Maui.Devices.DisplayInfo * Microsoft.Maui.Devices.DisplayInfo -> bool" Usage="left = right" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="Microsoft.Maui.Devices.DisplayInfo" />
<Parameter Name="right" Type="Microsoft.Maui.Devices.DisplayInfo" />
</Parameters>
<Docs>
<param name="left">Left to compare.</param>
<param name="right">Right to compare.</param>
<summary>
Equality operator for equals.
</summary>
<returns>
<see langword="true" /> if objects are equal, otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="op_Inequality">
<MemberSignature Language="C#" Value="public static bool operator != (Microsoft.Maui.Devices.DisplayInfo left, Microsoft.Maui.Devices.DisplayInfo right);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype Microsoft.Maui.Devices.DisplayInfo left, valuetype Microsoft.Maui.Devices.DisplayInfo right) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.op_Inequality(Microsoft.Maui.Devices.DisplayInfo,Microsoft.Maui.Devices.DisplayInfo)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator != (left As DisplayInfo, right As DisplayInfo) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool operator !=(Microsoft::Maui::Devices::DisplayInfo left, Microsoft::Maui::Devices::DisplayInfo right);" />
<MemberSignature Language="F#" Value="static member op_Inequality : Microsoft.Maui.Devices.DisplayInfo * Microsoft.Maui.Devices.DisplayInfo -> bool" Usage="Microsoft.Maui.Devices.DisplayInfo.op_Inequality (left, right)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="Microsoft.Maui.Devices.DisplayInfo" />
<Parameter Name="right" Type="Microsoft.Maui.Devices.DisplayInfo" />
</Parameters>
<Docs>
<param name="left">Left to compare.</param>
<param name="right">Right to compare.</param>
<summary>
Inequality operator.
</summary>
<returns>
<see langword="true" /> if objects are not equal, otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Orientation">
<MemberSignature Language="C#" Value="public Microsoft.Maui.Devices.DisplayOrientation Orientation { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Maui.Devices.DisplayOrientation Orientation" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.Orientation" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Orientation As DisplayOrientation" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Maui::Devices::DisplayOrientation Orientation { Microsoft::Maui::Devices::DisplayOrientation get(); };" />
<MemberSignature Language="F#" Value="member this.Orientation : Microsoft.Maui.Devices.DisplayOrientation" Usage="Microsoft.Maui.Devices.DisplayInfo.Orientation" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Devices.DisplayOrientation</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the orientation of the device's display.
</summary>
<value>The orientation.</value>
<remarks />
</Docs>
</Member>
<Member MemberName="RefreshRate">
<MemberSignature Language="C#" Value="public float RefreshRate { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 RefreshRate" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.RefreshRate" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property RefreshRate As Single" />
<MemberSignature Language="C++ CLI" Value="public:
 property float RefreshRate { float get(); };" />
<MemberSignature Language="F#" Value="member this.RefreshRate : single" Usage="Microsoft.Maui.Devices.DisplayInfo.RefreshRate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the refresh rate (in Hertz) of the device's display.
</summary>
<value>The refresh rate in Hz.</value>
<remarks>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Rotation">
<MemberSignature Language="C#" Value="public Microsoft.Maui.Devices.DisplayRotation Rotation { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Maui.Devices.DisplayRotation Rotation" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.Rotation" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Rotation As DisplayRotation" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Maui::Devices::DisplayRotation Rotation { Microsoft::Maui::Devices::DisplayRotation get(); };" />
<MemberSignature Language="F#" Value="member this.Rotation : Microsoft.Maui.Devices.DisplayRotation" Usage="Microsoft.Maui.Devices.DisplayInfo.Rotation" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Devices.DisplayRotation</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the orientation of the device's display.
</summary>
<value>The rotation</value>
<remarks />
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Devices.DisplayInfo.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::String ^ ToString();" />
<MemberSignature Language="F#" Value="override this.ToString : unit -> string" Usage="displayInfo.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Returns a string representation of the current values of this display info instance.
</summary>
<returns>A string representation of this instance in the format of <c>Height: {value}, Width: {value}, Density: {value}, Orientation: {value}, Rotation: {value}</c>.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Width">
<MemberSignature Language="C#" Value="public double Width { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Width" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Devices.DisplayInfo.Width" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Width As Double" />
<MemberSignature Language="C++ CLI" Value="public:
 property double Width { double get(); };" />
<MemberSignature Language="F#" Value="member this.Width : double" Usage="Microsoft.Maui.Devices.DisplayInfo.Width" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets the width of the screen (in pixels) for the current <see cref="P:Microsoft.Maui.Devices.DisplayInfo.Orientation" />.
</summary>
<value>The width in pixels.</value>
<remarks />
</Docs>
</Member>
</Members>
</Type>