MSDN Library

WebGridColumn Class

Represents a column in a WebGrid instance.


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

public class WebGridColumn

The WebGridColumn type exposes the following members.

Public methodWebGridColumnInitializes a new instance of the WebGridColumn class.

Public propertyCanSortGets or sets a value that indicates whether the WebGrid column can be sorted.
Public propertyColumnNameGets or sets the name of the data item that is associated with the WebGrid column.
Public propertyFormatGets or sets a function that is used to format the data item that is associated with the WebGrid column.
Public propertyHeaderGets or sets the text that is rendered in the header of the WebGrid column.
Public propertyStyleGets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the WebGrid column.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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