WebGridColumn Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a column in a WebGrid instance.
public class WebGridColumn
type WebGridColumn = class
Public Class WebGridColumn
- Inheritance
-
WebGridColumn
Web |
Initializes a new instance of the WebGridColumn class. |
Can |
Gets or sets a value that indicates whether the WebGrid column can be sorted. |
Column |
Gets or sets the name of the data item that is associated with the WebGrid column. |
Format |
Gets or sets a function that is used to format the data item that is associated with the WebGrid column. |
Header |
Gets or sets the text that is rendered in the header of the WebGrid column. |
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. |
Product | Versions |
---|---|
ASP.NET Web Pages | 3.2 |