Class TextColumnTemplate
The TextColumnTemplate provides a Template for the TextColumn.
Inheritance
System.Object
TextColumnTemplate
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class TextColumnTemplate : ITemplate
Constructors
| Improve this Doc View SourceTextColumnTemplate()
Initializes a new instance of the TextColumnTemplate class.
Declaration
public TextColumnTemplate()
TextColumnTemplate(ListItemType)
Initializes a new instance of the TextColumnTemplate class.
Declaration
public TextColumnTemplate(ListItemType itemType)
Parameters
Type | Name | Description |
---|---|---|
ListItemType | itemType |
Properties
| Improve this Doc View SourceDataField
Gets or sets the Data Field is the field that binds to the Text Column.
Declaration
public string DataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
DesignMode
Gets or sets a value indicating whether gets or sets the Design Mode of the Column.
Declaration
public bool DesignMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
ItemType
Gets or sets the type of Template to Create.
Declaration
public ListItemType ItemType { get; set; }
Property Value
Type | Description |
---|---|
ListItemType | A String. |
Text
Gets or sets the Text (for Header/Footer Templates).
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Width
Gets or sets the Width of the Column.
Declaration
public Unit Width { get; set; }
Property Value
Type | Description |
---|---|
Unit | A Unit. |
Methods
| Improve this Doc View SourceInstantiateIn(Control)
InstantiateIn instantiates the template (implementation of ITemplate).
Declaration
public void InstantiateIn(Control container)
Parameters
Type | Name | Description |
---|---|---|
Control | container | The parent container (DataGridItem). |