SaaS CMS has officially launched! Learn more now.

Class GridViewHeaderExtender2

Inheritance
System.Object
GridViewHeaderExtender2
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public class GridViewHeaderExtender2 : ExtenderControlBase

Constructors

GridViewHeaderExtender2()

Declaration
public GridViewHeaderExtender2()

Properties

BottomHeight

Gets or sets the height of the boottom.

Declaration
public int BottomHeight { get; set; }
Property Value
Type Description
System.Int32

The height of the header.

ColumnsInfo

Gets or sets the column info.

Declaration
public List<GridViewColumnInfo> ColumnsInfo { get; }
Property Value
Type Description
System.Collections.Generic.List<GridViewColumnInfo>

The column info.

ContentTemplate

Declaration
public ITemplate ContentTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

ContentTemplateContainer

Gets the content template container.

Declaration
public Control ContentTemplateContainer { get; }
Property Value
Type Description
System.Web.UI.Control

The content template container.

ContextKey

Gets or sets the context key.

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

The context key.

DashboardMode

Gets or sets a value indicating whether [dashboard mode].

Declaration
public bool DashboardMode { get; set; }
Property Value
Type Description
System.Boolean

true if [dashboard mode]; otherwise, false.

GetCssFromColumn

Gets or sets a value indicating whether [get CSS from column].

Declaration
public bool GetCssFromColumn { get; set; }
Property Value
Type Description
System.Boolean

true if [get CSS from column]; otherwise, false.

HeaderHeight

Gets or sets the height of the header.

Declaration
public int HeaderHeight { get; set; }
Property Value
Type Description
System.Int32

The height of the header.

IsEmpty

Gets or sets a value indicating whether this instance is empty.

Declaration
public bool IsEmpty { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is empty; otherwise, false.

LayoutResizeEnable

Gets or sets a value indicating whether [layout resize enable].

Declaration
public bool LayoutResizeEnable { get; set; }
Property Value
Type Description
System.Boolean

true if [layout resize enable]; otherwise, false.

PaddingWidth

Gets or sets the width of the padding.

Declaration
public int PaddingWidth { get; set; }
Property Value
Type Description
System.Int32

The width of the padding.

PercentWidth

Gets or sets a value indicating whether [percent width].

Declaration
public bool PercentWidth { get; set; }
Property Value
Type Description
System.Boolean

true if [percent width]; otherwise, false.

ServicePath

Gets or sets the service path.

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

The service path.

StyleInfo

Gets or sets the style info.

Declaration
public GridStylesInfo StyleInfo { get; set; }
Property Value
Type Description
GridStylesInfo

The style info.

WrapperDivCssClass

Gets or sets the wrapper div CSS class.

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

The wrapper div CSS class.

Methods

CreateContentTemplateContainer()

Creates the content template container.

Declaration
protected virtual Control CreateContentTemplateContainer()
Returns
Type Description
System.Web.UI.Control

GetScriptDescriptors(Control)

Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
Parameters
Type Name Description
System.Web.UI.Control targetControl
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor>

GetScriptReferences()

Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPreRender(EventArgs)

Raises the PreRender event.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

The System.EventArgs instance containing the event data.

Render(HtmlTextWriter)

Renders the specified writer.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

The writer.