WebGridColumn Class

Represents a column in a WebGrid instance.

Inheritance Hierarchy


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


Public Class WebGridColumn
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.


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



  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.



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


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


System.Web.Helpers Namespace