DataGridViewColumn Constructor |
Initializes a new instance of the DataGridViewColumn class. |
AutoSizeCriteria |
Gets or sets the criteria for automatically resizing the width of the column when the user double-clicks on the resize area of the column header. |
AutoSort |
Gets or sets a value indicating whether the column is sorted when the user clicks on the column header. |
Bounds |
Gets the bounding rectangle of the column header. |
CellValueType |
Gets or sets the data type of the values in the column's cells. |
Container (inherited from Component) |
Gets the IContainer that contains the Component. |
DataGridView |
Gets the DataGridView control the DataGridViewColumn is located in. |
DataPropertyName |
Gets or sets the name of the data model property to which the DataGridViewColumn is bound. |
DefaultCellStyle |
Gets or sets the column's default cell style. |
DisplayIndex |
Gets or sets the display order of the column relative to the currently displayed columns. |
Frozen |
Gets or sets a value indicating whether a column will move when a user scrolls the DataGridView control horizontally. |
HeaderAlignment |
Gets a value indicating the position of the content within a header. |
HeaderBackColor |
Gets the background color of a header. |
HeaderFont |
Gets the font applied to the textual content of a header. |
HeaderForeColor |
Gets the foreground color of a header. |
HeaderIndent |
Gets the distance to indent the content of a header. |
HeaderSelectionBackColor |
Gets the background color used by a header when it is selected. |
HeaderSelectionForeColor |
Gets the foreground color used by a header when it is selected. |
HeaderStyle |
Gets or sets the column's header style. |
ImageIndex |
Gets or sets the image list index value of the image displayed in the column header. |
ImageList |
Gets the ImageList that contains the image displayed with the header. |
Index |
Gets the relative position of the column within the DataGridView control. |
MinimumWidth |
Gets or sets the minimum width of the column in pixels. |
Name |
Gets or sets the name of the column. |
ReadOnly |
Gets or sets a value indicating whether the user can edit the column's cells. |
Resizable |
Gets or sets a value indicating whether the column is resizable. |
Selected |
Gets or sets a value indicating whether the column is selected. |
Site (inherited from Component) |
Gets or sets the ISite of the Component. |
SortGlyphDirection |
Gets or sets the glyph displayed in the column header that describes the sort order. |
Tag |
Gets or sets the object that contains data about the column. |
Text |
Gets or sets the caption text on the column's header. |
ToolTipText |
Gets or sets the text of a tool tip that describes the column. |
ToolTipTitle |
Gets or sets the title of a tool tip that describes the column. |
Width |
Gets or sets the current width of the column. |
Visible |
Gets or sets the a value indicating whether the column is visible. |
Clone |
Creates an identical copy of the current DataGridViewColumn that is not attached to any data grid view control. |
CreateObjRef (inherited from MarshalByRefObject) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from Component) |
Overloaded. Releases the resources used by the Component. |
EnsureVisible |
Ensures that the column is visible, scrolling the data grid view control as necessary. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetHashCode (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. |
GetImage |
Gets the image displayed in the column header |
GetLifetimeService (inherited from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
IsVisible |
Gets a value indicating whether the column is visible. |
ToString (inherited from Component) |
Overridden. See Object.ToString. |
Disposed (inherited from Component) |
Adds an event handler to listen to the Disposed event on the component. |
DesignMode (inherited from Component) |
Gets a value that indicates whether the Component is currently in design mode. |
Events (inherited from Component) |
Gets the list of event handlers that are attached to this Component. |
CreateDefaultCell |
Creates a new cell for the column. |
Dispose (inherited from Component) |
Overloaded. Releases the resources used by the Component. |
Finalize (inherited from Component) |
Overridden. See Object.Finalize. In C# and C++, finalizers are expressed using destructor syntax. |
GetService (inherited from Component) |
Returns an object that represents a service provided by the Component or by its Container. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |