DataGridColumnStyle Methods

DataGridColumnStyle Methods

The DataGridColumnStyle type exposes the following members.

  NameDescription
Protected method Abort When overridden in a derived class, initiates a request to interrupt an edit procedure.
Protected method BeginUpdate Suspends the painting of the column until the EndUpdate method is called.
Protected method 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.
Protected method ColumnStartedEditing Informs the System.Windows.Forms.DataGrid that the user has begun editing the column.
Protected method Commit When overridden in a derived class, initiates a request to complete an editing procedure.
Protected method ConcedeFocus Notifies a column that it must relinquish the focus to the control it is hosting.
Protected method CreateHeaderAccessibleObject Gets the AccessibleObject for the column.
Public method 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.)
Public method Supported by the .NET Compact Framework Dispose Overloaded. Releases the resources used by the Component.
Protected method Edit Overloaded. Prepares the cell for editing a value.
Protected method EndUpdate Resumes the painting of columns suspended by calling the BeginUpdate method.
Protected method EnterNullValue Enters a DBNull.Value into the column.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetColumnValueAtRow Gets the value in the specified row from the specified CurrencyManager.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetMinimumHeight When overridden in a derived class, gets the minimum height of a row.
Protected method GetPreferredHeight When overridden in a derived class, gets the height used for automatically resizing columns.
Protected method 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.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Invalidate Redraws the column and causes a paint message to be sent to the control.
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Protected method Supported by the .NET Compact Framework Paint Overloaded. When overridden in a derived class, paints the column in a System.Windows.Forms.DataGrid control.
Protected method ReleaseHostedControl Allows the column to free resources when the control it hosts is not needed.
Public method ResetHeaderText Resets the HeaderText to its default value, null.
Protected method SetColumnValueAtRow Sets the value in a specified row with the value from a specified CurrencyManager.
Protected method SetDataGrid Sets the System.Windows.Forms.DataGrid control that this column belongs to.
Protected method SetDataGridInColumn Sets the System.Windows.Forms.DataGrid for the column.
Public method Supported by the .NET Compact Framework ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Protected method UpdateUI Updates the value of a specified row with the given text.
Top

  NameDescription
Explicit interface implemetation Private method IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing Informs the DataGrid control that the user has begun editing the column.
Top

Community Additions

ADD
Show:
© 2016 Microsoft