DataGridViewAdvancedBorderStyle.All 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置单元格所有边框的边框样式。
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。
- 或 -
当设置此属性时,指定的值为 OutsetDouble、OutsetPartial 或 InsetDouble,并且此 DataGridViewAdvancedBorderStyle 实例通过 AdvancedCellBorderStyle 属性检索。
注解
Left如果 、Right、 Top和 Bottom 属性未设置为相同的DataGridViewAdvancedCellBorderStyle值,则All属性值为 NotSet。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈