System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Web.UI.IStateManager System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))

The class is the base class for all column types of the control. It defines the properties and methods that are common to all column types. An instance of the class is not created directly.

Serves as the base class for the different column types of the control.

- Constructor

  Use this constructor to create and initialize an instance of the class.

  Instances of this class are typically not created directly. It is a base class that defines the properties and methods common to all column type classes.

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically determine whether the column is in design mode.

  For more information about design mode, see .

  Gets a value that indicates whether the column is in design mode.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.TableItemStyle To be added: an object of type 'TableItemStyle'

  Use this property to provide a custom style for the footer section of the column. Common style attributes that can be adjusted include foreground color, background color, font, and content alignment within the cell. Providing a different style enhances the appearance of the column in the control.

  Gets the style properties for the footer section of the column.

  1.0.5000.0
  2.0.0.0
  System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)
  System.ComponentModel.DefaultValue(null)
- Property
  System.String To be added: an object of type 'string'

  Use the property to specify or determine the text displayed in the footer section of the column.

  Text is not HTML-encoded before it is displayed in the footer section of the column. This makes it possible to embed script within HTML tags in the text. If this property is set dynamically using user input, be sure to validate the value to reduce security vulnerabilities.

  Gets or sets the text displayed in the footer section of the column.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue("")
- Property
  System.String To be added: an object of type 'string'

  Use the property to specify the URL of an image to display in the header section of the column. You can use a relative or an absolute URL. A relative URL relates the location of the image to the location of the Web page without specifying a complete path on the server. The path is relative to the location of the Web page. This makes it easier to move the entire site to another directory on the server without updating the path to the image in code. An absolute URL provides the complete path, so moving the site to another directory requires updating the code.

  If you want to display text instead of an image in the header section of the column, set the property instead of this property.

  Gets or sets the location of an image to display in the header section of the column.

  1.0.5000.0
  2.0.0.0
  System.Web.UI.UrlProperty
  System.ComponentModel.DefaultValue("")
- Property
  System.Web.UI.WebControls.TableItemStyle To be added: an object of type 'TableItemStyle'

  Use this property to provide a custom style for the header section of the column. Common style attributes that can be adjusted include foreground color, background color, font, and content alignment within the cell. Providing a different style enhances the appearance of the column in the control.

  Gets the style properties for the header section of the column.

  1.0.5000.0
  2.0.0.0
  System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)
  System.ComponentModel.DefaultValue(null)
- Property
  System.String To be added: an object of type 'string'

  Use the property to specify or determine the text displayed in the header section of the column. If you want to display an image instead of text in the header section of the column, set the property instead of this property.

  Text is not HTML-encoded before it is displayed in the header section of the column. This makes it possible to embed script within HTML tags in the text. If this property is set dynamically using user input, be sure to validate the value to reduce security vulnerabilities.

  Gets or sets the text displayed in the header section of the column.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue("")
- Method
  System.Void

  The method provides the base implementation to reset a column derived from the class to its initial state. This method is not called directly. Instead, this method is inherited by a derived column class, which can then be used to reset a column of the derived type. You can optionally override this method in the derived class to provide a custom initialization routine. This base implementation of the method is often called from the overridden method to reset properties common to all column types derived from the class. The method is usually called during data binding, prior to the first row being bound.

  When the method is used, the design mode of the column is set to true.

  This method is commonly used by control developers.

  Provides the base implementation to reset a column derived from the class to its initial state.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void `` `` ``

  The method provides the base implementation to reset the specified cell from a column derived from the class to its initial state. This method is not called directly. Instead, this method is inherited by a derived column class, which can then be used to reset a cell in the column of the derived type. You can optionally override this method in the derived class to provide a custom initialization routine. This base implementation of the method is often called from the overridden method to reset properties common to all cells in columns derived from the class.

  In this implementation, the method resets only the header and footer cells. Other types of cells are not affected by this method.

  When sorting is enabled (by setting the property to true), a control is added to the header cell by default. This allows you to sort the column when the control is clicked. If you specify an image for the header cell (by setting the property), an control is created instead.

  When sorting is disabled, the text specified by the property is displayed in the header cell. If you specify an image for the header cell (by setting the property), an control is added to the header cell.

  Because a browser will not display an empty cell, if an image in not displayed in the header cell and the property is not set, a nonbreaking space HTML entity (&nbsp;) is displayed in the header cell. Similarly, if the footer cell does not have any content (if the property is not set), a nonbreaking space HTML entity is displayed in the footer cell.

  This method is commonly used by control developers.

  Provides the base implementation to reset the specified cell from a column derived from the class to its initial state.

  A that represents the cell to reset. The column number where the cell is located. One of the values. 1.0.5000.0 2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool' To be added

  Gets a value that determines whether the object is marked to save its state.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.TableItemStyle To be added: an object of type 'TableItemStyle'

  Use this property to provide a custom style for the item cells of the column. Common style attributes that can be adjusted include foreground color, background color, font, and content alignment within the cell. Providing a different style enhances the appearance of the column in the control.

  Gets the style properties for the item cells of the column.

  1.0.5000.0
  2.0.0.0
  System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)
  System.ComponentModel.DefaultValue(null)
- Method
  System.Void ``

  This method is used primarily by the .NET Framework infrastructure and is not intended to be used directly from your code. However, control developers can override this method to specify how a custom server control restores its view state. For more information, see ASP.NET State Management Overview.

  Use the method to load the state of the object. This allows a column to perform custom view-state management.

  Loads the state of the object.

  An that contains the saved state of the . 1.0.5000.0 2.0.0.0
- Method
  System.Void

  When the properties of a column derived from the class change, the method should be called.

  Calls the method.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.DataGrid To be added: an object of type 'DataGrid'

  Use the property to programmatically determine the control that the column is a member of.

  Gets the control that the column is a member of.

  1.0.5000.0
  2.0.0.0
- Method
  System.Object

  Use the method to save the state of the object. This allows a column to perform custom view-state management.

  Saves the current state of the object.

  An that contains the saved state of the .

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Use the property to specify or determine the name of the field to pass to the method when a column is selected for sorting.

  This property does not bind the column to a field in data source. To bind a column to a field, see the documentation for the specific column type.

  When sorting is enabled, controls are rendered in the heading section of each column where the property is set.

  When the property is set to true, the property for each column in the control that supports data binding is automatically set with the field name bound to the column. If the property is set to false, you need to manually set the property with the field name bound to the column for each column that you want to enable sorting for.

  These controls allow you to sort the control by the selected column. When a control for a column is clicked, the event is raised. The value of the property for the selected column is passed to the event handler as part of the object.

  Gets or sets the name of the field or expression to pass to the method when a column is selected for sorting.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue("")
- Property
  1.0.5000.0
  2.0.0.0
  System.Boolean To be added.

  The member is used primarily by control developers when deriving a custom implementation from the class.

  Gets a value that indicates whether the column is tracking view state changes.

- Method
  1.0.5000.0
  2.0.0.0
  System.Void `` To be added. To be added.

  Loads previously saved state.

- Method
  1.0.5000.0
  2.0.0.0
  System.Object To be added.

  Returns an object containing state changes.

  The that contains the view state changes.

- Method
  1.0.5000.0
  2.0.0.0
  System.Void To be added.

  Starts tracking state changes.

- Method
  System.String

  Use the method to get the string representation of the column.

  This method is inherited from the class and is not applicable to the class.

  Returns the string representation of the column.

  Returns .

  1.0.5000.0
  2.0.0.0
- Method
  System.Void

  Use the method to track view-state changes on the server control so they can be stored in the server control's object. This allows a column to perform custom view-state management.

  Causes tracking of view-state changes to the server control so they can be stored in the server control's object.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.StateBag a

  Use the property to retrieve the object that allows a column derived from the class to store its properties. The state of each property is automatically managed.

  Gets the object that allows a column derived from the class to store its properties.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  Use the property to programmatically control whether the column is visible in the control.

  Gets or sets a value that indicates whether the column is visible in the control.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DefaultValue(true)