wx.CheckBox Class Reference

Inheritance diagram for wx.CheckBox:

wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 CheckBox (Window parent, string label, Point pos, Size size, wx.WindowStyles style, string name)
 CheckBox (Window parent, string label, Point pos, Size size, wx.WindowStyles style)
 CheckBox (Window parent, string label, Point pos, Size size)
 CheckBox (Window parent, string label, Point pos)
 CheckBox (Window parent, string label)
 CheckBox (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style, string name)
 CheckBox (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style)
 CheckBox (Window parent, int id, string label, Point pos, Size size)
 CheckBox (Window parent, int id, string label, Point pos)
 CheckBox (Window parent, int id, string label)
 CheckBox ()
 CheckBox (IntPtr wxObject)
bool Create (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style, string name)
bool Is3rdStateAllowedForUser ()
bool Is3State ()

Properties

bool IsChecked [get]
CheckBoxState ThreeStateValue [get, set]
bool Value [get, set]

Events

event EventListener Clicked [add, remove]


Detailed Description

A checkbox is a labelled box which by default is either on (checkmark is visible) or off (no checkmark). Optionally (when the wxCHK_3STATE style flag is set) it can have a third state, called the mixed or undetermined state. Often this is used as a "Does Not Apply" state.

Uses style WindowStyles.CHK_2STATE, WindowStyles.CHK_3STATE, and WindowStyles.CHK_ALLOW_3RD_STATE_FOR_USER.


Constructor & Destructor Documentation

wx.CheckBox.CheckBox ( IntPtr  wxObject  ) 

wx.CheckBox.CheckBox (  ) 

wx.CheckBox.CheckBox ( Window  parent,
int  id,
string  label 
)

wx.CheckBox.CheckBox ( Window  parent,
int  id,
string  label,
Point  pos 
)

wx.CheckBox.CheckBox ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size 
)

wx.CheckBox.CheckBox ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.CheckBox.CheckBox ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

wx.CheckBox.CheckBox ( Window  parent,
string  label 
)

wx.CheckBox.CheckBox ( Window  parent,
string  label,
Point  pos 
)

wx.CheckBox.CheckBox ( Window  parent,
string  label,
Point  pos,
Size  size 
)

wx.CheckBox.CheckBox ( Window  parent,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.CheckBox.CheckBox ( Window  parent,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)


Member Function Documentation

bool wx.CheckBox.Create ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

bool wx.CheckBox.Is3rdStateAllowedForUser (  ) 

bool wx.CheckBox.Is3State (  ) 


Property Documentation

bool wx.CheckBox.IsChecked [get]

CheckBoxState wx.CheckBox.ThreeStateValue [get, set]

This is the 3-state-value. Asserts if the control is in 2-state mode.

bool wx.CheckBox.Value [get, set]

This is the 2-state-value. Asserts if the control is in 3-state mode.


Event Documentation

event EventListener wx.CheckBox.Clicked [add, remove]


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