DataGridView.AdvancedCellBorderStyle Property

Definition

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

Property Value

A DataGridViewAdvancedBorderStyle that represents the border style of the cells in the DataGridView.

Attributes

Remarks

Use the AdvancedCellBorderStyle property to customize the appearance of cells' borders. To change the style of the borders using the built-in styles, use the CellBorderStyle property.

Applies to

See also