Share via


DataGridViewCheckBoxHeaderCell Class

Provides a header cell in a DataGridView that contains a check box.

Inheritance Hierarchy

System.Object
  System.Windows.Forms.DataGridViewElement
    System.Windows.Forms.DataGridViewCell
      System.Windows.Forms.DataGridViewHeaderCell
        System.Windows.Forms.DataGridViewColumnHeaderCell
          Microsoft.SqlServer.Management.Controls.DataGridViewCheckBoxHeaderCell

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Class DataGridViewCheckBoxHeaderCell _
    Inherits DataGridViewColumnHeaderCell
'Usage
Dim instance As DataGridViewCheckBoxHeaderCell
public class DataGridViewCheckBoxHeaderCell : DataGridViewColumnHeaderCell
public ref class DataGridViewCheckBoxHeaderCell : public DataGridViewColumnHeaderCell
type DataGridViewCheckBoxHeaderCell =  
    class
        inherit DataGridViewColumnHeaderCell
    end
public class DataGridViewCheckBoxHeaderCell extends DataGridViewColumnHeaderCell

The DataGridViewCheckBoxHeaderCell type exposes the following members.

Constructors

  Name Description
Public method DataGridViewCheckBoxHeaderCell Initializes a new instance of the DataGridViewCheckBoxHeaderCell class.

Top

Properties

  Name Description
Public property AccessibilityObject (Inherited from DataGridViewCell.)
Protected property ButtonState (Inherited from DataGridViewHeaderCell.)
Public property Checked Gets or sets a value indicating whether a DataGridViewCheckBoxHeaderCell object is checked.
Public property ColumnIndex (Inherited from DataGridViewCell.)
Public property ContentBounds (Inherited from DataGridViewCell.)
Public property ContextMenuStrip (Inherited from DataGridViewCell.)
Public property DataGridView (Inherited from DataGridViewElement.)
Public property DefaultNewRowValue (Inherited from DataGridViewCell.)
Public property Displayed (Inherited from DataGridViewHeaderCell.)
Public property EditedFormattedValue (Inherited from DataGridViewCell.)
Public property EditType (Inherited from DataGridViewCell.)
Public property Enabled Gets or sets a value indicating whether a DataGridViewCheckBoxHeaderCell object is enabled.
Public property ErrorIconBounds (Inherited from DataGridViewCell.)
Public property ErrorText (Inherited from DataGridViewCell.)
Public property FormattedValue (Inherited from DataGridViewCell.)
Public property FormattedValueType (Inherited from DataGridViewHeaderCell.)
Public property Frozen (Inherited from DataGridViewHeaderCell.)
Public property HasStyle (Inherited from DataGridViewCell.)
Public property InheritedState (Inherited from DataGridViewCell.)
Public property InheritedStyle (Inherited from DataGridViewCell.)
Public property IsInEditMode (Inherited from DataGridViewCell.)
Public property OwningColumn (Inherited from DataGridViewCell.)
Public property OwningRow (Inherited from DataGridViewCell.)
Public property PreferredSize (Inherited from DataGridViewCell.)
Public property ReadOnly (Inherited from DataGridViewHeaderCell.)
Public property RenderCheckBoxInHeaderCell Gets or sets a value indicating whether a check box in the header cell is rendered.
Public property Resizable (Inherited from DataGridViewHeaderCell.)
Public property RowIndex (Inherited from DataGridViewCell.)
Public property Selected (Inherited from DataGridViewHeaderCell.)
Public property Size (Inherited from DataGridViewCell.)
Public property SortGlyphDirection (Inherited from DataGridViewColumnHeaderCell.)
Public property State (Inherited from DataGridViewElement.)
Public property Style (Inherited from DataGridViewCell.)
Public property Tag (Inherited from DataGridViewCell.)
Public property ToolTipText (Inherited from DataGridViewCell.)
Public property Value (Inherited from DataGridViewCell.)
Public property ValueType (Inherited from DataGridViewHeaderCell.)
Public property Visible (Inherited from DataGridViewHeaderCell.)

Top

Methods

  Name Description
Public method AdjustCellBorderStyle (Inherited from DataGridViewCell.)
Protected method BorderWidths (Inherited from DataGridViewCell.)
Protected method ClickUnsharesRow (Inherited from DataGridViewCell.)
Public method Clone Indicates an object that represents the cloned header cell. (Overrides DataGridViewColumnHeaderCell.Clone().)
Protected method ContentClickUnsharesRow (Inherited from DataGridViewCell.)
Protected method ContentDoubleClickUnsharesRow (Inherited from DataGridViewCell.)
Protected method CreateAccessibilityInstance (Inherited from DataGridViewColumnHeaderCell.)
Public method DetachEditingControl (Inherited from DataGridViewCell.)
Public method Dispose() (Inherited from DataGridViewCell.)
Protected method Dispose(Boolean) (Inherited from DataGridViewHeaderCell.)
Protected method DoubleClickUnsharesRow (Inherited from DataGridViewCell.)
Protected method EnterUnsharesRow (Inherited from DataGridViewCell.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from DataGridViewCell.)
Protected method GetClipboardContent (Inherited from DataGridViewColumnHeaderCell.)
Public method GetContentBounds(Int32) (Inherited from DataGridViewCell.)
Protected method GetContentBounds(Graphics, DataGridViewCellStyle, Int32) (Inherited from DataGridViewColumnHeaderCell.)
Public method GetEditedFormattedValue (Inherited from DataGridViewCell.)
Protected method GetErrorIconBounds (Inherited from DataGridViewCell.)
Protected method GetErrorText (Inherited from DataGridViewCell.)
Protected method GetFormattedValue (Inherited from DataGridViewCell.)
Public method GetHashCode (Inherited from Object.)
Public method GetInheritedContextMenuStrip (Inherited from DataGridViewColumnHeaderCell.)
Public method GetInheritedState (Inherited from DataGridViewHeaderCell.)
Public method GetInheritedStyle (Inherited from DataGridViewColumnHeaderCell.)
Protected method GetPreferredSize (Inherited from DataGridViewColumnHeaderCell.)
Protected method GetSize (Inherited from DataGridViewHeaderCell.)
Public method GetType (Inherited from Object.)
Protected method GetValue (Inherited from DataGridViewColumnHeaderCell.)
Public method InitializeEditingControl (Inherited from DataGridViewCell.)
Protected method KeyDownUnsharesRow (Inherited from DataGridViewCell.)
Public method KeyEntersEditMode (Inherited from DataGridViewCell.)
Protected method KeyPressUnsharesRow (Inherited from DataGridViewCell.)
Protected method KeyUpUnsharesRow (Inherited from DataGridViewCell.)
Protected method LeaveUnsharesRow (Inherited from DataGridViewCell.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method MouseClickUnsharesRow (Inherited from DataGridViewCell.)
Protected method MouseDoubleClickUnsharesRow (Inherited from DataGridViewCell.)
Protected method MouseDownUnsharesRow (Inherited from DataGridViewHeaderCell.)
Protected method MouseEnterUnsharesRow (Inherited from DataGridViewHeaderCell.)
Protected method MouseLeaveUnsharesRow (Inherited from DataGridViewHeaderCell.)
Protected method MouseMoveUnsharesRow (Inherited from DataGridViewCell.)
Protected method MouseUpUnsharesRow (Inherited from DataGridViewHeaderCell.)
Protected method OnClick (Inherited from DataGridViewCell.)
Protected method OnContentClick (Inherited from DataGridViewCell.)
Protected method OnContentDoubleClick (Inherited from DataGridViewCell.)
Protected method OnDataGridViewChanged (Inherited from DataGridViewCell.)
Protected method OnDoubleClick (Inherited from DataGridViewCell.)
Protected method OnEnter (Inherited from DataGridViewCell.)
Protected method OnKeyDown (Inherited from DataGridViewCell.)
Protected method OnKeyPress (Inherited from DataGridViewCell.)
Protected method OnKeyUp (Inherited from DataGridViewCell.)
Protected method OnLeave (Inherited from DataGridViewCell.)
Protected method OnMouseClick Raises the MouseClick event. (Overrides DataGridViewCell.OnMouseClick(DataGridViewCellMouseEventArgs).)
Protected method OnMouseDoubleClick (Inherited from DataGridViewCell.)
Protected method OnMouseDown (Inherited from DataGridViewHeaderCell.)
Protected method OnMouseEnter (Inherited from DataGridViewHeaderCell.)
Protected method OnMouseLeave (Inherited from DataGridViewHeaderCell.)
Protected method OnMouseMove (Inherited from DataGridViewCell.)
Protected method OnMouseUp (Inherited from DataGridViewHeaderCell.)
Protected method Paint Paints the current DataGridViewCell. (Overrides DataGridViewColumnHeaderCell.Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts).)
Protected method PaintBorder (Inherited from DataGridViewCell.)
Protected method PaintErrorIcon (Inherited from DataGridViewCell.)
Public method ParseFormattedValue (Inherited from DataGridViewCell.)
Public method PositionEditingControl (Inherited from DataGridViewCell.)
Public method PositionEditingPanel (Inherited from DataGridViewCell.)
Protected method RaiseCellClick (Inherited from DataGridViewElement.)
Protected method RaiseCellContentClick (Inherited from DataGridViewElement.)
Protected method RaiseCellContentDoubleClick (Inherited from DataGridViewElement.)
Protected method RaiseCellValueChanged (Inherited from DataGridViewElement.)
Protected method RaiseDataError (Inherited from DataGridViewElement.)
Protected method RaiseMouseWheel (Inherited from DataGridViewElement.)
Protected method SetValue (Inherited from DataGridViewColumnHeaderCell.)
Public method ToString (Inherited from DataGridViewColumnHeaderCell.)

Top

Events

  Name Description
Public event CheckBoxHeaderBoxClicked Occurs when a check box in header cell is clicked.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.