Upravit

Sdílet prostřednictvím


DataGridViewAdvancedBorderStyle.All Property

Definition

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

public:
 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.

Exceptions

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

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 AdvancedCellBorderStyle property.

Remarks

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

Applies to