DataGridViewCellStyle.FormatProvider 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置对象,该对象用于提供 DataGridView 单元格值的特定于区域性的格式设置。
public:
property IFormatProvider ^ FormatProvider { IFormatProvider ^ get(); void set(IFormatProvider ^ value); };
[System.ComponentModel.Browsable(false)]
public IFormatProvider FormatProvider { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.FormatProvider : IFormatProvider with get, set
Public Property FormatProvider As IFormatProvider
属性值
用于单元格格式设置的 IFormatProvider。 默认值为 CurrentUICulture。
- 属性