C# Class SourceGrid.Cells.Views.Cell

Inheritance: ViewBase
ファイルを表示 Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Default Cell

Public Methods

Method Description
Cell ( ) : System

Use default setting and construct a read and write VisualProperties

Cell ( Cell 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
PrepareVisualElementImage ( CellContext context ) : void

Apply to the VisualElement specified the Image properties of the current View. Derived class can call this method to apply the settings to custom VisualElement.

PrepareVisualElementText ( CellContext context ) : void

Apply to the VisualElement specified the Image properties of the current View. Derived class can call this method to apply the settings to custom VisualElement.

Method Details

Cell() public method

Use default setting and construct a read and write VisualProperties
public Cell ( ) : System
return System

Cell() public method

Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.
public Cell ( Cell p_Source ) : System
p_Source Cell
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

PrepareVisualElementImage() protected method

Apply to the VisualElement specified the Image properties of the current View. Derived class can call this method to apply the settings to custom VisualElement.
protected PrepareVisualElementImage ( CellContext context ) : void
context CellContext
return void

PrepareVisualElementText() protected method

Apply to the VisualElement specified the Image properties of the current View. Derived class can call this method to apply the settings to custom VisualElement.
protected PrepareVisualElementText ( CellContext context ) : void
context CellContext
return void

Property Details

Default public_oe static_oe property

Represents a default Model
public static Cell,SourceGrid.Cells.Views Default
return Cell