BCGControlBar Library for .NET
Format Property




Gets or sets a format string used to format data.
Syntax
'Declaration
 
Public Property Format As String
'Usage
 
Dim instance As GridCellVisualStyle
Dim value As String
 
instance.Format = value
 
value = instance.Format
public string Format {get; set;}
public: __property string* get_Format();
public: __property void set_Format( 
   string* value
);
public:
property String^ Format {
   String^ get();
   void set (    String^ value);
}
Remarks
You can set a numeric value (25, for example) to item data and specify in format string something like:
"The number of messages is: {0}" to get displayed in the cell:
"The number of messages is: 25".
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

GridCellVisualStyle Class
GridCellVisualStyle Members

Send Feedback