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如果 、 TopRight 、 和 Bottom 屬性未設定為相同的 DataGridViewAdvancedCellBorderStyle 值, All 則屬性值為 NotSet

適用於