DataGridViewAdvancedBorderStyle::All Property
.NET Framework (current version)
Gets or sets the border style for all of the borders of a cell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property DataGridViewAdvancedCellBorderStyle All { DataGridViewAdvancedCellBorderStyle get(); void set(DataGridViewAdvancedCellBorderStyle value); }
Property Value
Type: System.Windows.Forms::DataGridViewAdvancedCellBorderStyleOne of the DataGridViewAdvancedCellBorderStyle values.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The specified value when setting this property is not a valid DataGridViewAdvancedCellBorderStyle values. |
| ArgumentException | The specified value when setting this property is NotSet. -or- The specified value when setting this property is OutsetDouble, OutsetPartial, or InsetDouble and this DataGridViewAdvancedBorderStyle instance was retrieved through the DataGridView::AdvancedCellBorderStyle property. |
.NET Framework
Available since 2.0
Available since 2.0
Show: