DataGridComboBoxColumnStyle Class

Definition

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public ref class DataGridComboBoxColumnStyle : System::Windows::Forms::DataGridColumnStyle
public class DataGridComboBoxColumnStyle : System.Windows.Forms.DataGridColumnStyle
type DataGridComboBoxColumnStyle = class
    inherit DataGridColumnStyle
Public Class DataGridComboBoxColumnStyle
Inherits DataGridColumnStyle
Inheritance

Constructors

DataGridComboBoxColumnStyle()

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Properties

Alignment

Gets or sets the alignment of text in a column.

(Inherited from DataGridColumnStyle)
CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
ComboBox

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Container

Gets the IContainer that contains the Component.

(Inherited from Component)
DataGridTableStyle

Gets the DataGridTableStyle for the column.

(Inherited from DataGridColumnStyle)
DataSource

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
FontHeight

Gets the height of the column's font.

(Inherited from DataGridColumnStyle)
HeaderAccessibleObject

Gets the AccessibleObject for the column.

(Inherited from DataGridColumnStyle)
HeaderText

Gets or sets the text of the column header.

(Inherited from DataGridColumnStyle)
MappingName

Gets or sets the name of the data member to map the column style to.

(Inherited from DataGridColumnStyle)
NullText

Gets or sets the text that is displayed when the column contains null.

(Inherited from DataGridColumnStyle)
PropertyDescriptor

Gets or sets the PropertyDescriptor that determines the attributes of data displayed by the DataGridColumnStyle.

(Inherited from DataGridColumnStyle)
ReadOnly

Gets or sets a value indicating whether the data in the column can be edited.

(Inherited from DataGridColumnStyle)
Site

Gets or sets the ISite of the Component.

(Inherited from Component)
Width

Gets or sets the width of the column.

(Inherited from DataGridColumnStyle)

Methods

Abort(Int32)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

BeginUpdate()

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

(Inherited from DataGridColumnStyle)
CheckValidDataSource(CurrencyManager)

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

(Inherited from DataGridColumnStyle)
ColumnStartedEditing(Control)

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

(Inherited from DataGridColumnStyle)
Commit(CurrencyManager, Int32)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ConcedeFocus()

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

CreateHeaderAccessibleObject()

Gets the AccessibleObject for the column.

(Inherited from DataGridColumnStyle)
CreateObjRef(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)
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.

(Inherited from DataGridColumnStyle)
Edit(CurrencyManager, Int32, Rectangle, Boolean, String)

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

(Inherited from DataGridColumnStyle)
Edit(CurrencyManager, Int32, Rectangle, Boolean, String, Boolean)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

EndUpdate()

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

(Inherited from DataGridColumnStyle)
EnterNullValue()

Enters a Value into the column.

(Inherited from DataGridColumnStyle)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetColumnValueAtRow(CurrencyManager, Int32)

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

(Inherited from DataGridColumnStyle)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetMinimumHeight()

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

GetPreferredHeight(Graphics, Object)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

GetPreferredSize(Graphics, Object)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

GetService(Type)

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.

(Inherited from DataGridColumnStyle)
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)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ReleaseHostedControl()

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

(Inherited from DataGridColumnStyle)
ResetHeaderText()

Resets the HeaderText to its default value, null.

(Inherited from DataGridColumnStyle)
SetColumnValueAtRow(CurrencyManager, Int32, Object)

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

(Inherited from DataGridColumnStyle)
SetDataGrid(DataGrid)

Sets the DataGrid control that this column belongs to.

(Inherited from DataGridColumnStyle)
SetDataGridInColumn(DataGrid)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ToString()

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

(Inherited from Component)
UpdateUI(CurrencyManager, Int32, String)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Events

AlignmentChanged

Occurs when the Alignment property value changes.

(Inherited from DataGridColumnStyle)
Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)
FontChanged

Occurs when the column's font changes.

(Inherited from DataGridColumnStyle)
HeaderTextChanged

Occurs when the HeaderText property value changes.

(Inherited from DataGridColumnStyle)
MappingNameChanged

Occurs when the MappingName value changes.

(Inherited from DataGridColumnStyle)
NullTextChanged

Occurs when the NullText value changes.

(Inherited from DataGridColumnStyle)
PropertyDescriptorChanged

Occurs when the PropertyDescriptor property value changes.

(Inherited from DataGridColumnStyle)
ReadOnlyChanged

Occurs when the ReadOnly property value changes.

(Inherited from DataGridColumnStyle)
WidthChanged

Occurs when the Width property value changes.

(Inherited from DataGridColumnStyle)

Explicit Interface Implementations

IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing(Control)

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

(Inherited from DataGridColumnStyle)

Applies to