DataGridView.AdvancedColumnHeadersBorderStyle Property

Definition

Gets the border style of the column header cells in the DataGridView.

public:
 property System::Windows::Forms::DataGridViewAdvancedBorderStyle ^ AdvancedColumnHeadersBorderStyle { System::Windows::Forms::DataGridViewAdvancedBorderStyle ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.DataGridViewAdvancedBorderStyle AdvancedColumnHeadersBorderStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.AdvancedColumnHeadersBorderStyle : System.Windows.Forms.DataGridViewAdvancedBorderStyle
Public ReadOnly Property AdvancedColumnHeadersBorderStyle As DataGridViewAdvancedBorderStyle

Property Value

A DataGridViewAdvancedBorderStyle that represents the border style of the DataGridViewColumnHeaderCell objects in the DataGridView.

Attributes

Remarks

Use the AdvancedColumnHeadersBorderStyle property to customize the appearance of column header cells' borders. To change the style of the borders using the built-in styles, use the ColumnHeadersBorderStyle property.

Applies to

See also