BoundColumn Members
Collapse the table of content
Expand the table of content

BoundColumn Members

BoundColumn overview

Public Constructors

public constructorBoundColumn Constructor Initializes a new instance of the BoundColumn class.

Public Fields

public fieldstatic (Shared in Visual Basic)thisExpr Represents the string "!". This field is read-only.

Public Properties

public propertyDataField Gets or sets the field name from the data source to bind to the BoundColumn.
public propertyDataFormatString Gets or sets the string that specifies the display format for items in the column.
public propertyFooterStyle (inherited from DataGridColumn) Gets the style properties for the footer section of the column.
public propertyFooterText (inherited from DataGridColumn) Gets or sets the text displayed in the footer section of the column.
public propertyHeaderImageUrl (inherited from DataGridColumn) Gets or sets the location of an image to display in the header section of the column.
public propertyHeaderStyle (inherited from DataGridColumn) Gets the style properties for the header section of the column.
public propertyHeaderText (inherited from DataGridColumn) Gets or sets the text displayed in the header section of the column.
public propertyItemStyle (inherited from DataGridColumn) Gets the style properties for the item cells of the column.
public propertyReadOnly Gets or sets a value that indicates whether the items in the BoundColumn can be edited.
public propertySortExpression (inherited from DataGridColumn) Gets or sets the name of the field or expression to pass to the OnSortCommand method when a column is selected for sorting.
public propertyVisible (inherited from DataGridColumn) Gets or sets a value that indicates whether the column is visible in the DataGrid control.

Public Methods

public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Overridden. Resets the BoundColumn to its initial state.
public methodInitializeCell Overridden. Resets the specified cell in the BoundColumn to its initial state.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Properties

protected propertyDesignMode (inherited from DataGridColumn) Gets a value that indicates whether the column is in design mode.
protected propertyOwner (inherited from DataGridColumn) Gets the DataGrid control that the column is a member of.
protected propertyViewState (inherited from DataGridColumn) Gets the System.Web.UI.StateBag that allows a column derived from the DataGridColumn class to store its properties.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodFormatDataValue Converts the specified value to the format indicated by the DataFormatString property.
protected methodLoadViewState (inherited from DataGridColumn) Loads the state of the DataGridColumn.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodSaveViewState (inherited from DataGridColumn) Saves the current state of the DataGridColumn.
protected methodTrackViewState (inherited from DataGridColumn) Causes tracking of view-state changes to the server control so they can be stored in the server control's System.Web.UI.StateBag object.

See Also

BoundColumn Class | System.Web.UI.WebControls Namespace

Show:
© 2016 Microsoft