Class Size
Represents the dimension of an element.
Inheritance
System.Object
Size
Assembly: Syncfusion.Blazor.dll
Syntax
public class Size : Object
Constructors
Size()
Declaration
Size(Double, Double)
Declaration
public Size(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
Properties
Height
Gets or sets the height of an element.
Declaration
public double Height { get; set; }
Property Value
Type |
Description |
System.Double |
Accepts the double value. The default value is 0.
|
Width
Gets or sets the width of an element.
Declaration
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
Accepts the double value. The default value is 0.
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Subtract(Size, Size)
Declaration
public static Size Subtract(Size left, Size right)
Parameters
Type |
Name |
Description |
Size |
left |
|
Size |
right |
|
Returns
Operators
Equality(Size, Size)
Declaration
public static bool operator ==(Size a, Size b)
Parameters
Returns
Inequality(Size, Size)
Declaration
public static bool operator !=(Size a, Size b)
Parameters
Returns
Subtraction(Size, Size)
Declaration
public static Size operator -(Size a, Size b)
Parameters
Returns