C# Class SadConsole.Controls.CheckBox

Inheritance: ControlBase
Show file Open project: Thraka/SadConsole Class Usage Examples

Protected Properties

Property Type Description
_currentAppearanceButton CellAppearance
_currentAppearanceText CellAppearance
_isMouseDown bool

Public Methods

Method Description
CheckBox ( int width, int height ) : System

Creates a new radio button control with the specified width and height.

Compose ( ) : void
DetermineAppearance ( ) : void

Determines the appearance of the control based on its current state.

ProcessKeyboard ( Input info ) : bool

Called when the control should process keyboard information.

Protected Methods

Method Description
OnLeftMouseClicked ( Input info ) : void
OnMouseExit ( Input info ) : void
OnMouseIn ( Input info ) : void

Private Methods

Method Description
AfterDeserialized ( StreamingContext context ) : void

Method Details

CheckBox() public method

Creates a new radio button control with the specified width and height.
public CheckBox ( int width, int height ) : System
width int Width of the control.
height int Height of the control.
return System

Compose() public method

public Compose ( ) : void
return void

DetermineAppearance() public method

Determines the appearance of the control based on its current state.
public DetermineAppearance ( ) : void
return void

OnLeftMouseClicked() protected method

protected OnLeftMouseClicked ( Input info ) : void
info Input
return void

OnMouseExit() protected method

protected OnMouseExit ( Input info ) : void
info Input
return void

OnMouseIn() protected method

protected OnMouseIn ( Input info ) : void
info Input
return void

ProcessKeyboard() public method

Called when the control should process keyboard information.
public ProcessKeyboard ( Input info ) : bool
info Input The keyboard information.
return bool

Property Details

_currentAppearanceButton protected property

protected CellAppearance _currentAppearanceButton
return CellAppearance

_currentAppearanceText protected property

protected CellAppearance _currentAppearanceText
return CellAppearance

_isMouseDown protected property

protected bool _isMouseDown
return bool