VirtualKeyboardRect Struct
The rectangle of the on-screen keyboard (https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-boundingrect), in CSS pixels relative to the viewport of the top-level document. An empty rectangle means that the keyboard is hidden.
public readonly struct VirtualKeyboardRect : IEquatable<VirtualKeyboardRect>- Implements
Constructors
| Name | Description |
|---|---|
| VirtualKeyboardRect(double, double, double, double) | The rectangle of the on-screen keyboard (https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-boundingrect), in CSS pixels relative to the viewport of the top-level document. An empty rectangle means that the keyboard is hidden. |
VirtualKeyboardRect(double, double, double, double)
The rectangle of the on-screen keyboard (https://w3c.github.io/virtual-keyboard/#dom-virtualkeyboard-boundingrect), in CSS pixels relative to the viewport of the top-level document. An empty rectangle means that the keyboard is hidden.
Properties
| Name | Description |
|---|---|
| Height | The height of the keyboard. |
| IsEmpty | Gets whether the rectangle is empty (the keyboard is hidden). |
| Width | The width of the keyboard. |
| X | The distance from the left edge of the viewport. |
| Y | The distance from the top edge of the viewport. |
Height
VirtualKeyboard.csIsEmpty
VirtualKeyboard.csWidth
VirtualKeyboard.csMethods
| Name | Description |
|---|---|
| Deconstruct(double, double, double, double) | |
| Equals(VirtualKeyboardRect) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(double, double, double, double)
Equals overloads
Equals(VirtualKeyboardRect)
public bool Equals(VirtualKeyboardRect other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(VirtualKeyboardRect, VirtualKeyboardRect) | |
| operator !=(VirtualKeyboardRect, VirtualKeyboardRect) |
operator ==(VirtualKeyboardRect, VirtualKeyboardRect)
public static bool operator ==(VirtualKeyboardRect left, VirtualKeyboardRect right)No documentation is available.
operator !=(VirtualKeyboardRect, VirtualKeyboardRect)
public static bool operator !=(VirtualKeyboardRect left, VirtualKeyboardRect right)No documentation is available.