Wimark.Controls Class Library  

DataGridViewColumn Members

DataGridViewColumn overview

Public Constructors

public constructorDataGridViewColumn Constructor Initializes a new instance of the DataGridViewColumn class.

Public Properties

public propertyAutoSizeCriteria 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.
public propertyAutoSort Gets or sets a value indicating whether the column is sorted when the user clicks on the column header.
public propertyBounds Gets the bounding rectangle of the column header.
public propertyCellValueType Gets or sets the data type of the values in the column's cells.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDataGridView Gets the DataGridView control the DataGridViewColumn is located in.
public propertyDataPropertyName Gets or sets the name of the data model property to which the DataGridViewColumn is bound.
public propertyDefaultCellStyle Gets or sets the column's default cell style.
public propertyDisplayIndex Gets or sets the display order of the column relative to the currently displayed columns.
public propertyFrozen Gets or sets a value indicating whether a column will move when a user scrolls the DataGridView control horizontally.
public propertyHeaderAlignment Gets a value indicating the position of the content within a header.
public propertyHeaderBackColor Gets the background color of a header.
public propertyHeaderFont Gets the font applied to the textual content of a header.
public propertyHeaderForeColor Gets the foreground color of a header.
public propertyHeaderIndent Gets the distance to indent the content of a header.
public propertyHeaderSelectionBackColor Gets the background color used by a header when it is selected.
public propertyHeaderSelectionForeColor Gets the foreground color used by a header when it is selected.
public propertyHeaderStyle Gets or sets the column's header style.
public propertyImageIndex Gets or sets the image list index value of the image displayed in the column header.
public propertyImageList Gets the ImageList that contains the image displayed with the header.
public propertyIndex Gets the relative position of the column within the DataGridView control.
public propertyMinimumWidth Gets or sets the minimum width of the column in pixels.
public propertyName Gets or sets the name of the column.
public propertyReadOnly Gets or sets a value indicating whether the user can edit the column's cells.
public propertyResizable Gets or sets a value indicating whether the column is resizable.
public propertySelected Gets or sets a value indicating whether the column is selected.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertySortGlyphDirection Gets or sets the glyph displayed in the column header that describes the sort order.
public propertyTag Gets or sets the object that contains data about the column.
public propertyText Gets or sets the caption text on the column's header.
public propertyToolTipText Gets or sets the text of a tool tip that describes the column.
public propertyToolTipTitle Gets or sets the title of a tool tip that describes the column.
public propertyWidth Gets or sets the current width of the column.
public propertyVisible Gets or sets the a value indicating whether the column is visible.

Public Methods

public methodClone Creates an identical copy of the current DataGridViewColumn that is not attached to any data grid view control.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEnsureVisible Ensures that the column is visible, scrolling the data grid view control as necessary.
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 methodGetImage Gets the image displayed in the column header
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsVisible Gets a value indicating whether the column is visible.
public methodToString (inherited from Component) Overridden. See Object.ToString.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodCreateDefaultCell Creates a new cell for the column.
protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. See Object.Finalize.

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

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DataGridViewColumn Class | Wimark.Controls Namespace