DataGridViewAdvancedBorderStyle.All 属性

定义

获取或设置单元格所有边框的边框样式。

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

属性值

DataGridViewAdvancedCellBorderStyle 值之一。

例外

当设置此属性时,指定的值不是有效的 DataGridViewAdvancedCellBorderStyle 值。

当设置此属性时,指定的值为 NotSet

- 或 -

当设置此属性时,指定的值为 OutsetDoubleOutsetPartialInsetDouble,并且此 DataGridViewAdvancedBorderStyle 实例通过 AdvancedCellBorderStyle 属性检索。

注解

Left如果 、RightTopBottom 属性未设置为相同的DataGridViewAdvancedCellBorderStyle值,则All属性值为 NotSet

适用于