DataGridViewAdvancedBorderStyle.All Property


Gets or sets the border style for all of the borders of a cell.

 property System::Windows::Forms::DataGridViewAdvancedCellBorderStyle All { System::Windows::Forms::DataGridViewAdvancedCellBorderStyle get(); void set(System::Windows::Forms::DataGridViewAdvancedCellBorderStyle value); };
public System.Windows.Forms.DataGridViewAdvancedCellBorderStyle All { get; set; }
member this.All : System.Windows.Forms.DataGridViewAdvancedCellBorderStyle with get, set
Public Property All As DataGridViewAdvancedCellBorderStyle

Property Value


One of the DataGridViewAdvancedCellBorderStyle values.


The specified value when setting this property is not a valid DataGridViewAdvancedCellBorderStyle values.

The specified value when setting this property is NotSet.


The specified value when setting this property is OutsetDouble, OutsetPartial, or InsetDouble and this DataGridViewAdvancedBorderStyle instance was retrieved through the AdvancedCellBorderStyle property.


If the Left, Right, Top, and Bottom properties are not set to the same DataGridViewAdvancedCellBorderStyle value, the All property value is NotSet.

Applies to