BCGControlBar Library for .NET
FormatData Method (Cell)




Formats the specified object to string.

Called to format data to a string to be displayed in cell.

Overload List
OverloadDescription
FormatData(Object)Formats the specified object to string.  
FormatData()This version retrieves DataItem from ItemData and calls the first version.  
Remarks
The displayed string can be different from the internal representation and from string returned by DataToString (e.g. edited).

The default implementation calls Style.FormatData if Style is not null, so the data is formatted according to visual style applied to cell. If Style is null, this method calls ToString () override for the data.

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

Cell Class
Cell Members

Send Feedback