DataGridViewSubtitleColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Defines subtitle presentation for DataGridViewSubtitleCell cells while retaining their bound values.
- C#
- VB.NET
public class DataGridViewSubtitleColumn : DataGridViewColumn, IGridVisualColumn
Public Class DataGridViewSubtitleColumn
Inherits DataGridViewColumn
Implements IGridVisualColumn
Presentation belongs to the column. Member paths resolve against the bound record, or sibling column names in unbound grids. Changes refresh grid data. These columns are read-only; cell clicks still raise the inherited grid CellClick event.
Example:
var column = new DataGridViewSubtitleColumn { Name = "Subtitle", DataPropertyName = "Value" };
grid.Columns.Add(column);
Constructors
DataGridViewSubtitleColumn()
Creates the typed template and read-only defaults.
Properties
CellTemplate
DataGridViewCell: Gets or sets the required DataGridViewSubtitleCell template.
Monospace
Boolean: Gets or sets uses a monospace face for the main text. (Default: False)
ReadOnly
Boolean: Gets or sets whether the user can edit the column's cells. The default is true: the cells have no editor. (Default: True)
SubtitleFont
Font: Gets or sets optional secondary font; null uses the theme font. (Default: null)
SubtitleMember
String: Gets or sets secondary text member path. (Default: "")
Methods
Clone()
Clones presentation settings and owned collections without copying event subscriptions.
Returns: Object. An independent column.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |