Class ImageCommandColumn
The ImageCommandColumn control provides an Image Command (or Hyperlink) column for a Data Grid.
Inheritance
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class ImageCommandColumn : TemplateColumn
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. |
EditMode
Gets or sets editMode for the Column.
Declaration
public ImageCommandColumnEditMode EditMode { get; set; }
Property Value
Type | Description |
---|---|
ImageCommandColumnEditMode | A String. |
IconKey
Gets or sets the Icon Key to obtain ImageURL.
Declaration
public string IconKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
IconSize
Gets or sets the Icon Siz to obtain ImageURL.
Declaration
public string IconSize { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
IconStyle
Gets or sets the Icon Style to obtain ImageURL.
Declaration
public string IconStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | 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. |
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. |
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 SourceInitialize()
Initialises the Column.
Declaration
public override void Initialize()