• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

TextColumnTemplate()

Initializes a new instance of the TextColumnTemplate class.

Declaration
public TextColumnTemplate()
| Improve this Doc View Source

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 Source

DataField

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

ItemType

Gets or sets the type of Template to Create.

Declaration
public ListItemType ItemType { get; set; }
Property Value
Type Description
ListItemType

A String.

| Improve this Doc View Source

Text

Gets or sets the Text (for Header/Footer Templates).

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

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 Source

InstantiateIn(Control)

InstantiateIn instantiates the template (implementation of ITemplate).

Declaration
public void InstantiateIn(Control container)
Parameters
Type Name Description
Control container

The parent container (DataGridItem).

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS