wx.wxSize Class Reference

Inheritance diagram for wx.wxSize:


List of all members.

Public Member Functions

override void Dispose ()
 wxSize (int x, int y)
 wxSize (Size s)
 wxSize ()
 wxSize (IntPtr wxObject)

Static Public Member Functions

static implicit operator Size (wxSize size)
static wxSize SafeNew (Size size)


int Height [get, set]
int Width [get, set]

Detailed Description

This will produce or wrap a wxSize object. Use instances of this class, to pass wxSize objects to the C DLL.

Constructor & Destructor Documentation

wx.wxSize.wxSize ( IntPtr  wxObject  ) 

wx.wxSize.wxSize (  ) 

wx.wxSize.wxSize ( Size  s  ) 

Convert an instance from a C# standard size. This will throw an exception on a null argument. You may use SafeNew() instead.

wx.wxSize.wxSize ( int  x,
int  y 

Member Function Documentation

override void wx.wxSize.Dispose (  )  [virtual]

Reimplemented from wx.Object.

static implicit wx.wxSize.operator Size ( wxSize  size  )  [static]

static wxSize wx.wxSize.SafeNew ( Size  size  )  [static]

This will generate an instance from a C# standard rectangle without throwing exception on a null argument. In that case this will also return a null.

Property Documentation

int wx.wxSize.Height [get, set]

int wx.wxSize.Width [get, set]

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads