C# Class AdvancedLauncher.SDK.Tools.Thickness

Datei anzeigen Open project: GoldRenard/DMOAdvancedLauncher Class Usage Examples

Public Methods

Method Description
Equals ( Thickness thickness ) : bool

Determines whether this instance and another specified Thickness are the same

Equals ( object obj ) : bool

Determines whether this instance and another specified Thickness are the same

GetHashCode ( ) : int

Returns the hash code for this Thickness

Thickness ( ) : System

Initializes a new default instance of Thickness

Thickness ( double uniformLength ) : System

Initializes a new instance of the Thickness that has specific lengths applied to each side of the rectangle.

Thickness ( double left, double top, double right, double bottom ) : System

Initializes a new instance of the System.Windows.Thickness structure that has specific lengths (supplied as a System.Double) applied to each side of the rectangle.

ToRealThickness ( ) : System.Windows.Thickness

Returns System.Windows.Thickness that represents this wrapper.

Method Details

Equals() public method

Determines whether this instance and another specified Thickness are the same
public Equals ( Thickness thickness ) : bool
thickness Thickness The object to compare to this instance
return bool

Equals() public method

Determines whether this instance and another specified Thickness are the same
public Equals ( object obj ) : bool
obj object The object to compare to this instance
return bool

GetHashCode() public method

Returns the hash code for this Thickness
public GetHashCode ( ) : int
return int

Thickness() public method

Initializes a new default instance of Thickness
public Thickness ( ) : System
return System

Thickness() public method

Initializes a new instance of the Thickness that has specific lengths applied to each side of the rectangle.
public Thickness ( double uniformLength ) : System
uniformLength double The uniform length applied to all four sides of the bounding rectangle.
return System

Thickness() public method

Initializes a new instance of the System.Windows.Thickness structure that has specific lengths (supplied as a System.Double) applied to each side of the rectangle.
public Thickness ( double left, double top, double right, double bottom ) : System
left double The thickness for the left side of the rectangle.
top double The thickness for the upper side of the rectangle.
right double The thickness for the right side of the rectangle.
bottom double The thickness for the lower side of the rectangle.
return System

ToRealThickness() public method

Returns System.Windows.Thickness that represents this wrapper.
public ToRealThickness ( ) : System.Windows.Thickness
return System.Windows.Thickness