Export (0) Print
Expand All

TemplateColumn Properties

The properties of the TemplateColumn class are listed here. For a complete list of TemplateColumn class members, see the TemplateColumn Members topic.

Public Properties

public propertyEditItemTemplate Gets or sets the template for displaying the item selected for editing in a TemplateColumn.
public propertyFooterStyle (inherited from DataGridColumn) Gets the style properties for the footer section of the column.
public propertyFooterTemplate Gets or sets the template for displaying the footer section of the TemplateColumn.
public propertyFooterText (inherited from DataGridColumn) Gets or sets the text displayed in the footer section of the column.
public propertyHeaderImageUrl (inherited from DataGridColumn) Gets or sets the location of an image to display in the header section of the column.
public propertyHeaderStyle (inherited from DataGridColumn) Gets the style properties for the header section of the column.
public propertyHeaderTemplate Gets or sets the template for displaying the heading section of the TemplateColumn.
public propertyHeaderText (inherited from DataGridColumn) Gets or sets the text displayed in the header section of the column.
public propertyItemStyle (inherited from DataGridColumn) Gets the style properties for the item cells of the column.
public propertyItemTemplate Gets or sets the template for displaying a data item in a TemplateColumn.
public propertySortExpression (inherited from DataGridColumn) Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.
public propertyVisible (inherited from DataGridColumn) Gets or sets a value that indicates whether the column is visible in the DataGrid control.

Protected Properties

protected propertyDesignMode (inherited from DataGridColumn) Gets a value that indicates whether the column is in design mode.
protected propertyOwner (inherited from DataGridColumn) Gets the DataGrid control that the column is a member of.
protected propertyViewState (inherited from DataGridColumn) Gets the System.Web.UI.StateBag that allows a column derived from the DataGridColumn class to store its properties.

See Also

TemplateColumn Class | System.Web.UI.WebControls Namespace

Show:
© 2014 Microsoft