DataGridColumnStyle Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_protmethodAbort(Int32)

When overridden in a derived class, initiates a request to interrupt an edit procedure.

System_CAPS_protmethodBeginUpdate()

Suspends the painting of the column until the EndUpdate method is called.

System_CAPS_protmethodCheckValidDataSource(CurrencyManager)

Throws an exception if the System.Windows.Forms.DataGrid does not have a valid data source, or if this column is not mapped to a valid property in the data source.

System_CAPS_protmethodColumnStartedEditing(Control)

Informs the System.Windows.Forms.DataGrid that the user has begun editing the column.

System_CAPS_protmethodCommit(CurrencyManager, Int32)

When overridden in a derived class, initiates a request to complete an editing procedure.

System_CAPS_protmethodConcedeFocus()

Notifies a column that it must relinquish the focus to the control it is hosting.

System_CAPS_protmethodCreateHeaderAccessibleObject()

Gets the AccessibleObject for the column.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.(Inherited from Component.)

System_CAPS_protmethodEdit(CurrencyManager, Int32, Rectangle, Boolean)

Prepares a cell for editing.

System_CAPS_protmethodEdit(CurrencyManager, Int32, Rectangle, Boolean, String)

Prepares the cell for editing using the specified CurrencyManager, row number, and Rectangle parameters.

System_CAPS_protmethodEdit(CurrencyManager, Int32, Rectangle, Boolean, String, Boolean)

When overridden in a deriving class, prepares a cell for editing.

System_CAPS_protmethodEndUpdate()

Resumes the painting of columns suspended by calling the BeginUpdate method.

System_CAPS_protmethodEnterNullValue()

Enters a DBNull.Value into the column.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_protmethodGetColumnValueAtRow(CurrencyManager, Int32)

Gets the value in the specified row from the specified CurrencyManager.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetMinimumHeight()

When overridden in a derived class, gets the minimum height of a row.

System_CAPS_protmethodGetPreferredHeight(Graphics, Object)

When overridden in a derived class, gets the height used for automatically resizing columns.

System_CAPS_protmethodGetPreferredSize(Graphics, Object)

When overridden in a derived class, gets the width and height of the specified value. The width and height are used when the user navigates to DataGridTableStyle using the DataGridColumnStyle.

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodInvalidate()

Redraws the column and causes a paint message to be sent to the control.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodPaint(Graphics, Rectangle, CurrencyManager, Int32)

Paints the DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, and row number.

System_CAPS_protmethodPaint(Graphics, Rectangle, CurrencyManager, Int32, Boolean)

When overridden in a derived class, paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, and alignment.

System_CAPS_protmethodPaint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean)

Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, background color, foreground color, and alignment.

System_CAPS_protmethodReleaseHostedControl()

Allows the column to free resources when the control it hosts is not needed.

System_CAPS_pubmethodResetHeaderText()

Resets the HeaderText to its default value, null.

System_CAPS_protmethodSetColumnValueAtRow(CurrencyManager, Int32, Object)

Sets the value in a specified row with the value from a specified CurrencyManager.

System_CAPS_protmethodSetDataGrid(DataGrid)

Sets the System.Windows.Forms.DataGrid control that this column belongs to.

System_CAPS_protmethodSetDataGridInColumn(DataGrid)

Sets the System.Windows.Forms.DataGrid for the column.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

System_CAPS_protmethodUpdateUI(CurrencyManager, Int32, String)

Updates the value of a specified row with the given text.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDataGridColumnStyleEditingNotificationService.ColumnStartedEditing(Control)

Informs the DataGrid control that the user has begun editing the column.

Return to top
Show: