DataGridViewCellStyle.FormatProvider 属性

定义

获取或设置对象,该对象用于提供 DataGridView 单元格值的特定于区域性的格式设置。Gets or sets the object used to provide culture-specific formatting of DataGridView cell values.

public:
 property IFormatProvider ^ FormatProvider { IFormatProvider ^ get(); void set(IFormatProvider ^ value); };
[System.ComponentModel.Browsable(false)]
public IFormatProvider FormatProvider { get; set; }
member this.FormatProvider : IFormatProvider with get, set
Public Property FormatProvider As IFormatProvider

属性值

用于单元格格式设置的 IFormatProviderAn IFormatProvider used for cell formatting. 默认值为 CurrentUICultureThe default is CurrentUICulture.

属性

适用于

另请参阅