WebGridColumn Class

Represents a column in a WebGrid instance.

Inheritance Hierarchy

System.Object
  System.Web.Helpers.WebGridColumn

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public Class WebGridColumn
'Usage
Dim instance As WebGridColumn
public class WebGridColumn
public ref class WebGridColumn
type WebGridColumn =  class end
public class WebGridColumn

The WebGridColumn type exposes the following members.

Constructors

  Name Description
Public method WebGridColumn Initializes a new instance of the WebGridColumn class.

Top

Properties

  Name Description
Public property CanSort Gets or sets a value that indicates whether the WebGrid column can be sorted.
Public property ColumnName Gets or sets the name of the data item that is associated with the WebGrid column.
Public property Format Gets or sets a function that is used to format the data item that is associated with the WebGrid column.
Public property Header Gets or sets the text that is rendered in the header of the WebGrid column.
Public property Style Gets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the WebGrid column.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Helpers Namespace