C# Class SourceGrid.Cells.Views.CheckBox

Inheritance: Cell
显示文件 Open project: zhuangyy/Motion

Public Properties

Property Type Description
Default CheckBox
MiddleLeftAlign CheckBox

Public Methods

Method Description
CheckBox ( CheckBox p_Source ) : System

Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.

Clone ( ) : object

Clone this object. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.

Protected Methods

Method Description
GetElements ( ) : IEnumerable
PrepareView ( CellContext context ) : void
PrepareVisualElementCheckBox ( CellContext context ) : void

Private Methods

Method Description
CheckBox ( ) : System
GetBaseElements ( ) : IEnumerable

Method Details

CheckBox() public method

Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.
public CheckBox ( CheckBox p_Source ) : System
p_Source CheckBox
return System

Clone() public method

Clone this object. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.
public Clone ( ) : object
return object

GetElements() protected method

protected GetElements ( ) : IEnumerable
return IEnumerable

PrepareView() protected method

protected PrepareView ( CellContext context ) : void
context CellContext
return void

PrepareVisualElementCheckBox() protected method

protected PrepareVisualElementCheckBox ( CellContext context ) : void
context CellContext
return void

Property Details

Default public_oe static_oe property

Represents a default CheckBox with the CheckBox image align to the Middle Center of the cell. You must use this VisualModel with a Cell of type ICellCheckBox.
public static CheckBox Default
return CheckBox

MiddleLeftAlign public_oe static_oe property

Represents a CheckBox with the CheckBox image align to the Middle Left of the cell
public static CheckBox MiddleLeftAlign
return CheckBox