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.

適用於

另請參閱