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

Class ImageCommandColumnTemplate

The ImageCommandColumnTemplate provides a Template for the ImageCommandColumn.

Inheritance
System.Object
ImageCommandColumnTemplate
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class ImageCommandColumnTemplate : ITemplate

Constructors

| Improve this Doc View Source

ImageCommandColumnTemplate()

Initializes a new instance of the ImageCommandColumnTemplate class.

Declaration
public ImageCommandColumnTemplate()
| Improve this Doc View Source

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 Source

CommandName

Gets or sets the CommandName for the Column.

Declaration
public string CommandName { 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

EditMode

Gets or sets the CommandName for the Column.

Declaration
public ImageCommandColumnEditMode EditMode { get; set; }
Property Value
Type Description
ImageCommandColumnEditMode

A String.

| Improve this Doc View Source

ImageURL

Gets or sets the URL of the Image.

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

A String.

| 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

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

NavigateURLFormatString

Gets or sets the URL Formatting string.

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

A String.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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.

| Improve this Doc View Source

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 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