MultiRow Windows Forms > Developer's Guide > Using MultiRow > Cell Types > PrintInfoCell |
The print info cell is used to put information into a template that is useful when printing, such as the page number, total number of pages, and so on. You can use this cell to output information without using any code in the print event.
In addition to the Base Cell features, the following features can also be used in the print info cell.
For more details on each feature, refer to the PrintInfoCell class.
The print info cell uses the Object type value. This type can be checked with the PrintInfoCell.ValueType property. The value cast into the String type is used for input and display. This type can be checked with the PrintInfoCell.FormattedValueType property. To modify the behavior when values are read in a cell, you can override the PrintInfoCell.OnCellFormatting method. Override the PrintInfoCell.OnCellParsing method to modify behavior when the value is written back from the cell.
The print info cell does not provide a cell edit control. The PrintInfoCell.EditType property always returns a null reference (Nothing in Visual Basic).
The print info cell supports the following CellStyle class members. You can set the cell style with the PrintInfoCell.Style property.
CellStyle Members | Enabled or Disabled |
---|---|
BackColor | Enabled |
BackgroundGradientEffect | Enabled |
Border | Enabled |
DataSourceNullValue | Enabled |
DisabledBackColor | Enabled |
DisabledForeColor | Enabled |
DisabledGradientEffect | Enabled |
EditingBackColor | - |
EditingForeColor | - |
Font | Enabled |
ForeColor | Enabled |
Format | Enabled |
FormatProvider | Enabled |
Image | Enabled |
ImageAlign | Enabled |
ImeMode | - |
ImeSentenceMode | - |
InputScope | - |
LineAdjustment | Enabled only for GDI+ CompatibleMode |
Margin | Enabled |
MouseOverBackColor | Enabled |
MouseOverForeColor | Enabled |
MouseOverGradientEffect | Enabled |
Multiline | Enabled |
NullValue | Enabled |
Padding | Enabled |
PatternColor | Enabled |
PatternStyle | Enabled |
SelectionBackColor | Enabled |
SelectionForeColor | Enabled |
SelectionGradientEffect | Enabled |
Tag | Enabled |
TextAdjustment | Enabled only for GDI+ CompatibleMode |
TextAlign | Enabled |
TextAngle | Enabled only for GDI+ CompatibleMode |
TextEffect | Enabled |
TextImageRelation | Enabled |
TextIndent | Enabled |
TextVertical | Enabled only for GDI+ CompatibleMode |
UseCompatibleTextRendering | Enabled |
WordWrap | Enabled |
To set GDI+ Compatibility Mode as Enabled, set the UseCompatibleTextRendering property to True.
The print info cell does not process shortcut keys.
You can use the GcMultiRow.CellContentClick event to implement processing when clicking in the cell content area. Use the GcMultiRow.CellContentDoubleClick event for a double-click.
This cell type does not correspond to a standard control.