C# Class SIL.FieldWorks.SharpViews.Thickness

Similar to System.Windows.Thickness, this represents the four thicknesses of the sides of a rectangle in 96ths of an inch. It is used for the thickness of a border, padding, and margins. It is not a struct because it Thickness variables are often null, and we do not need to allocate space for four doubles. Another reason to define it is to avoid using PresentationFramework, which may be a problem for Mono.
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
Bottom double
Default Thickness
Leading double
Top double
Trailing double

Private Properties

Свойство Type Description
ToMillipoints int

Méthodes publiques

Méthode Description
Equals ( Thickness other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Thickness ( double thickness ) : System

Make one with uniform thickness.

Thickness ( double leading, double top, double trailing, double bottom ) : System
operator ( ) : bool

Private Methods

Méthode Description
ToMillipoints ( double points ) : int

Method Details

Equals() public méthode

public Equals ( Thickness other ) : bool
other Thickness
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Thickness() public méthode

Make one with uniform thickness.
public Thickness ( double thickness ) : System
thickness double
Résultat System

Thickness() public méthode

public Thickness ( double leading, double top, double trailing, double bottom ) : System
leading double
top double
trailing double
bottom double
Résultat System

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Bottom public_oe property

public double Bottom
Résultat double

Default public_oe static_oe property

A default value, no thickness: use this rather than null wherever
public static Thickness,SIL.FieldWorks.SharpViews Default
Résultat Thickness

Leading public_oe property

public double Leading
Résultat double

Top public_oe property

public double Top
Résultat double

Trailing public_oe property

public double Trailing
Résultat double