Property | Type | Description | |
---|---|---|---|
DefaultAlignment | DevAge.Drawing.ContentAlignment | ||
DefaultBackColor | Color | ||
DefaultBorder | DevAge.Drawing.RectangleBorder | ||
DefaultForeColor | Color | ||
DefaultPadding | DevAge.Drawing.Padding |
Method | Description | |
---|---|---|
DrawCell ( CellContext cellContext, DevAge graphics, |
Draw the cell specified
|
|
GetDrawingFont ( GridVirtual grid ) : |
Get the font of the cell, check if the current font is null and in this case return the grid font
|
|
Measure ( CellContext cellContext, |
Returns the minimum required size of the current cell, calculating using the current DisplayString, Image and Borders informations.
|
|
ViewBase ( ) : System |
Use default setting
|
|
ViewBase ( |
Copy constructor. This method duplicate all the reference field (Image, Font, StringFormat) creating a new instance.
|
Method | Description | |
---|---|---|
PrepareView ( CellContext context ) : void |
Prepare the current View before drawing. Override this method for customize the specials VisualModel that you need to create. Always calls the base PrepareView.
|
public DrawCell ( CellContext cellContext, DevAge graphics, |
||
cellContext | CellContext | |
graphics | DevAge | Paint arguments |
rectangle | ||
return | void |
public GetDrawingFont ( GridVirtual grid ) : |
||
grid | GridVirtual | |
return |
public Measure ( CellContext cellContext, |
||
cellContext | CellContext | |
maxLayoutArea | SizeF structure that specifies the maximum layout area for the text. If width or height are zero the value is set to a default maximum value. | |
return |
protected PrepareView ( CellContext context ) : void | ||
context | CellContext | Current context. Cell to draw. This property is set before drawing. Only inside the PrepareView you can access this property. |
return | void |
public ViewBase ( |
||
p_Source | ||
return | System |
public static ContentAlignment,DevAge.Drawing DefaultAlignment | ||
return | DevAge.Drawing.ContentAlignment |
public static RectangleBorder,DevAge.Drawing DefaultBorder | ||
return | DevAge.Drawing.RectangleBorder |