DataGridColumnStyle Methods
.NET Framework 4.5
The DataGridColumnStyle type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | When overridden in a derived class, initiates a request to interrupt an edit procedure. |
|
BeginUpdate | Suspends the painting of the column until the EndUpdate method is called. |
|
CheckValidDataSource | 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. |
|
ColumnStartedEditing | Informs the System.Windows.Forms.DataGrid that the user has begun editing the column. |
|
Commit | When overridden in a derived class, initiates a request to complete an editing procedure. |
|
ConcedeFocus | Notifies a column that it must relinquish the focus to the control it is hosting. |
|
CreateHeaderAccessibleObject | Gets the AccessibleObject for the column. |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Dispose() | Releases all resources used by the Component. (Inherited from Component.) |
|
Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) |
|
Edit(CurrencyManager, Int32, Rectangle, Boolean) | Prepares a cell for editing. |
|
Edit(CurrencyManager, Int32, Rectangle, Boolean, String) | Prepares the cell for editing using the specified CurrencyManager, row number, and Rectangle parameters. |
|
Edit(CurrencyManager, Int32, Rectangle, Boolean, String, Boolean) | When overridden in a deriving class, prepares a cell for editing. |
|
EndUpdate | Resumes the painting of columns suspended by calling the BeginUpdate method. |
|
EnterNullValue | Enters a DBNull.Value into the column. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
|
GetColumnValueAtRow | Gets the value in the specified row from the specified CurrencyManager. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetMinimumHeight | When overridden in a derived class, gets the minimum height of a row. |
|
GetPreferredHeight | When overridden in a derived class, gets the height used for automatically resizing columns. |
|
GetPreferredSize | 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. |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
Invalidate | Redraws the column and causes a paint message to be sent to the control. |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
Paint(Graphics, Rectangle, CurrencyManager, Int32) | Paints the DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, and row number. |
|
Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) | When overridden in a derived class, paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, and alignment. |
|
Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) | Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, background color, foreground color, and alignment. |
|
ReleaseHostedControl | Allows the column to free resources when the control it hosts is not needed. |
|
ResetHeaderText | Resets the HeaderText to its default value, null. |
|
SetColumnValueAtRow | Sets the value in a specified row with the value from a specified CurrencyManager. |
|
SetDataGrid | Sets the System.Windows.Forms.DataGrid control that this column belongs to. |
|
SetDataGridInColumn | Sets the System.Windows.Forms.DataGrid for the column. |
|
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
|
UpdateUI | Updates the value of a specified row with the given text. |
| Name | Description | |
|---|---|---|
|
IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing | Informs the DataGrid control that the user has begun editing the column. |