Navigation :
Size
Name |
Value |
Assembly |
Catel.Core |
Namespace |
Catel.Services |
Available on |
.NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS |
public struct Size : ValueType
Base types
ValueType
Object containing size information.
Fields
Constructors
Size(double width, double height)
Initializes a new instance of the Size class.
Parameters
Name |
Description |
width |
The width. |
height |
The height. |
Properties
Height
Gets or sets the height.
Width
Gets or sets the width.
Methods
Equals(Size size)
Determines whether the specified size equals this instance.
Parameters
Name |
Description |
size |
The size to compare this instance to. |
Returns
true
if equal,false
otherwise.
Equals(object obj)
Determines whether the specified is equal to this instance.
Parameters
Name |
Description |
obj |
The to compare with this instance. |
Returns
true
if the specified is equal to this instance; otherwise,false
.
GetHashCode()
Returns a hash code for this instance.
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
ToString()
Returns a that represents this instance.
Returns
A that represents this instance.
Have a question about Catel? Use StackOverflow with the Catel tag!
Discussion