Sylloge
A C# helper library
Public Types | Public Member Functions | Protected Member Functions | Properties | Events
Sylloge.Controls.CheckBox Class Reference

A 'pretty' checkbox user control. More...

List of all members.

Public Types

enum  CheckBoxType { CheckBox, ArrowBox }

Public Member Functions

delegate void DelegateCheckedChanged (Sylloge.Controls.CheckBox sender, System.EventArgs e)
delegate void DelegateLinkLabelClicked (System.Object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
delegate void DelegateMouseClick (System.Object sender, System.EventArgs e)
 CheckBox ()

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.

Properties

bool Checked [get, set]
 Gets or sets whether the checkbox is checked. If Type is CheckBoxType.ArrowBox, this gets or sets whether the arrows point up (true) or down (false)
bool IsLinkLabel [get, set]
 Gets or sets whether this control will display a link label instead of a normal label on the check box.
string Label [get, set]
 Gets or sets the text displayed.
new string Text [get, set]
 Gets or sets the text displayed on the control.
string ToolTip [get, set]
 Gets or sets the tool tip to be displayed on this control.
CheckBoxType Type [get, set]
 Gets or sets the type of control this is. ArrorBow will display up/down arrows, CheckBox will display a check/minus.

Events

DelegateCheckedChanged CheckedChanged
 Occurs when the controls check state changed.
new DelegateMouseClick Click
 Occurs when the control is clicked.
DelegateLinkLabelClicked LinkLabelClicked
 Occurs when the link label is clicked.

Detailed Description

A 'pretty' checkbox user control.

Definition at line 31 of file CheckBox.cs.


Member Enumeration Documentation

Enumerator:
CheckBox 
ArrowBox 

Definition at line 70 of file CheckBox.cs.


Constructor & Destructor Documentation

Sylloge.Controls.CheckBox.CheckBox ( )

Definition at line 86 of file CheckBox.cs.


Member Function Documentation

delegate void Sylloge.Controls.CheckBox.DelegateCheckedChanged ( Sylloge.Controls.CheckBox  sender,
System.EventArgs  e 
)
delegate void Sylloge.Controls.CheckBox.DelegateLinkLabelClicked ( System.Object  sender,
System.Windows.Forms.LinkLabelLinkClickedEventArgs  e 
)
delegate void Sylloge.Controls.CheckBox.DelegateMouseClick ( System.Object  sender,
System.EventArgs  e 
)
override void Sylloge.Controls.CheckBox.Dispose ( bool  disposing) [protected]

Clean up any resources being used.

Parameters:
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 29 of file CheckBox.designer.cs.


Property Documentation

bool Sylloge.Controls.CheckBox.Checked [get, set]

Gets or sets whether the checkbox is checked. If Type is CheckBoxType.ArrowBox, this gets or sets whether the arrows point up (true) or down (false)

Definition at line 100 of file CheckBox.cs.

bool Sylloge.Controls.CheckBox.IsLinkLabel [get, set]

Gets or sets whether this control will display a link label instead of a normal label on the check box.

Definition at line 116 of file CheckBox.cs.

string Sylloge.Controls.CheckBox.Label [get, set]

Gets or sets the text displayed.

Definition at line 138 of file CheckBox.cs.

new string Sylloge.Controls.CheckBox.Text [get, set]

Gets or sets the text displayed on the control.

Definition at line 179 of file CheckBox.cs.

string Sylloge.Controls.CheckBox.ToolTip [get, set]

Gets or sets the tool tip to be displayed on this control.

Definition at line 196 of file CheckBox.cs.

CheckBoxType Sylloge.Controls.CheckBox.Type [get, set]

Gets or sets the type of control this is. ArrorBow will display up/down arrows, CheckBox will display a check/minus.

Definition at line 213 of file CheckBox.cs.


Event Documentation

DelegateCheckedChanged Sylloge.Controls.CheckBox.CheckedChanged

Occurs when the controls check state changed.

Definition at line 41 of file CheckBox.cs.

new DelegateMouseClick Sylloge.Controls.CheckBox.Click

Occurs when the control is clicked.

Definition at line 45 of file CheckBox.cs.

DelegateLinkLabelClicked Sylloge.Controls.CheckBox.LinkLabelClicked

Occurs when the link label is clicked.

Definition at line 49 of file CheckBox.cs.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events