Flexible TreeView 5.1.9 Help
FormatText Property



Gets or sets the format pattern string that`s equal to the System.String.Format(System.IFormatProvider,System.String,System.Object[]) formatting.
Syntax
'Declaration
 
<DescriptionAttribute("Gets or sets the format pattern string that`s equal to the string.Format(System.IFormatProvider,string,object[] formatting.")>
<DefaultValueAttribute()>
Public Property FormatText As String
'Usage
 
Dim instance As DisplayFormat
Dim value As String
 
instance.FormatText = value
 
value = instance.FormatText
[Description("Gets or sets the format pattern string that`s equal to the string.Format(System.IFormatProvider,string,object[] formatting.")]
[DefaultValue()]
public string FormatText {get; set;}
[Description("Gets or sets the format pattern string that`s equal to the string.Format(System.IFormatProvider,string,object[] formatting.")]
[DefaultValue()]
public:
property String^ FormatText {
   String^ get();
   void set (    String^ value);
}

Property Value

The format pattern string.
Remarks
When format text is specified, System.String.Format(System.IFormatProvider,System.String,System.Object[]) method will be used to format a value. For instance, to display a number with two decimal places use {0:N2} pattern. Note that the '0:' is the bounded data`s placeholder.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DisplayFormat Class
DisplayFormat Members

Send Feedback