Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

WebGridColumn Class

Represents a column in a WebGrid instance.

System.Object
  System.Web.Helpers.WebGridColumn

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

public class WebGridColumn

The WebGridColumn type exposes the following members.

  NameDescription
Public methodWebGridColumnInitializes a new instance of the WebGridColumn class.
Top

  NameDescription
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.
Top

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

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