BCGSoft.Controls.Grid Namespace : GridCellVisualStyle Class |
'Declaration Public Class GridCellVisualStyle
'Usage Dim instance As GridCellVisualStyle
public class GridCellVisualStyle
public __gc class GridCellVisualStyle
public ref class GridCellVisualStyle
System.Object
BCGSoft.Controls.Grid.GridCellVisualStyle
Visual Style is used to display and format data in Grid control, column headers and left margin cells (row headers).
A Visual Style can be applied to individual data items, to columns and rows. When a particular data item is about to be drawn (through its Cell representation), a resulting Visual Style is assembled from three layers: data item->column->row (or row->column in editable grids, whatever style was set last).
There are two methods - Merge and Update - that are responsible for assembling.
You can format data using Format and FormatProvider properties.