DataGridView.AdvancedColumnHeadersBorderStyle 属性

定义

获取 DataGridView 中列标题单元格的边框样式。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; }
member this.AdvancedColumnHeadersBorderStyle : System.Windows.Forms.DataGridViewAdvancedBorderStyle
Public ReadOnly Property AdvancedColumnHeadersBorderStyle As DataGridViewAdvancedBorderStyle

属性值

属性

注解

使用 AdvancedColumnHeadersBorderStyle 属性可自定义列标题单元格边框的外观。Use the AdvancedColumnHeadersBorderStyle property to customize the appearance of column header cells' borders. 若要使用内置样式更改边框样式,请使用 ColumnHeadersBorderStyle 属性。To change the style of the borders using the built-in styles, use the ColumnHeadersBorderStyle property.

适用于

另请参阅