Binding.FormatString 属性

定义

获取或设置指示如何显示值的格式说明符。Gets or sets the format specifier characters that indicate how a value is to be displayed.

public:
 property System::String ^ FormatString { System::String ^ get(); void set(System::String ^ value); };
public string FormatString { get; set; }
member this.FormatString : string with get, set
Public Property FormatString As String

属性值

一个字符串,包含指示如何显示值的格式说明符。The string of format specifier characters that indicate how a value is to be displayed.

注解

使用的格式字符串应遵循标准 .NET Framework 格式规范。The format string used should follow standard .NET Framework format specifications. 有关详细信息,请参阅.NET Framework 中的格式设置类型For more information, see Formatting Types in the .NET Framework.

适用于