Class ImageCommandColumnTemplate
The ImageCommandColumnTemplate provides a Template for the ImageCommandColumn.
Inheritance
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class ImageCommandColumnTemplate : ITemplate
Constructors
| Improve this Doc View SourceImageCommandColumnTemplate()
Initializes a new instance of the ImageCommandColumnTemplate class.
Declaration
public ImageCommandColumnTemplate()
ImageCommandColumnTemplate(ListItemType)
Initializes a new instance of the ImageCommandColumnTemplate class.
Declaration
public ImageCommandColumnTemplate(ListItemType itemType)
Parameters
Type | Name | Description |
---|---|---|
ListItemType | itemType |
Properties
| Improve this Doc View SourceCommandName
Gets or sets the CommandName for the Column.
Declaration
public string CommandName { 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. |
EditMode
Gets or sets the CommandName for the Column.
Declaration
public ImageCommandColumnEditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
ImageCommandColumnEditMode | A String. |
ImageURL
Gets or sets the URL of the Image.
Declaration
public string ImageURL { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
ItemType
Gets or sets the type of Template to Create.
Declaration
public ListItemType ItemType { get; set; }
Property Value
Type | Description |
---|---|
ListItemType | A String. |
KeyField
Gets or sets the Key Field that provides a Unique key to the data Item.
Declaration
public string KeyField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
NavigateURL
Gets or sets the URL of the Link (unless DataBinding through KeyField).
Declaration
public string NavigateURL { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
NavigateURLFormatString
Gets or sets the URL Formatting string.
Declaration
public string NavigateURLFormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
OnClickJS
Gets or sets javascript text to attach to the OnClick Event.
Declaration
public string OnClickJS { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
ShowImage
Gets or sets a value indicating whether gets or sets whether an Image is displayed.
Declaration
public bool ShowImage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Remarks
Defaults to True.
Text
Gets or sets the Text (for Header/Footer Templates).
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Visible
Gets or sets a value indicating whether an flag that indicates whether the buttons are visible (this is overridden if the VisibleField is set) changed.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
VisibleField
Gets or sets an flag that indicates whether the buttons are visible.
Declaration
public string VisibleField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A Boolean. |
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). |