C# Class WindowlessControls.Thickness

Show file Open project: koush/WindowlessControls Class Usage Examples

Public Properties

Property Type Description
Bottom int
DpiX int
DpiY int
Empty Thickness
Left int
Right int
Top int

Public Methods

Method Description
From ( float leftInches, float topInches, float rightInches, float bottomInches ) : Thickness
GetSchema ( ) : XmlSchema
ReadXml ( XmlReader reader ) : void
Thickness ( int left, int top, int right, int bottom ) : System
WriteXml ( XmlWriter writer ) : void
operator ( ) : Thickness

Private Methods

Method Description
GetDC ( IntPtr hwnd ) : IntPtr
GetDeviceCaps ( IntPtr hdc, int index ) : int
Parse ( string s ) : void
Thickness ( ) : System

Method Details

From() public static method

public static From ( float leftInches, float topInches, float rightInches, float bottomInches ) : Thickness
leftInches float
topInches float
rightInches float
bottomInches float
return Thickness

GetSchema() public method

public GetSchema ( ) : XmlSchema
return System.Xml.Schema.XmlSchema

ReadXml() public method

public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader
return void

Thickness() public method

public Thickness ( int left, int top, int right, int bottom ) : System
left int
top int
right int
bottom int
return System

WriteXml() public method

public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void

operator() public static method

public static operator ( ) : Thickness
return Thickness

Property Details

Bottom public property

public int Bottom
return int

DpiX public static property

public static int DpiX
return int

DpiY public static property

public static int DpiY
return int

Empty public static property

public static Thickness,WindowlessControls Empty
return Thickness

Left public property

public int Left
return int

Right public property

public int Right
return int

Top public property

public int Top
return int