DataGridView.AdvancedCellBorderStyle 属性

定义

获取 DataGridView 中单元格的边框样式。Gets the border style of the cells in the DataGridView.

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

属性值

一个 DataGridViewAdvancedBorderStyle,表示 DataGridView 中的单元格的边框样式。A DataGridViewAdvancedBorderStyle that represents the border style of the cells in the DataGridView.

属性

注解

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

适用于

另请参阅