BCGControlBar Library for .NET
DataToString Method




Returns text representation of data to be edited. Called from OnBeginEdit to place this text into edit control.
Syntax
'Declaration
 
Public Overridable Function DataToString() As String
'Usage
 
Dim instance As Cell
Dim value As String
 
value = instance.DataToString()
public virtual string DataToString()
public: virtual string* DataToString(); 
public:
virtual String^ DataToString(); 
Remarks
The default implementation just calls ToString () for item's data. You should override this method if the data in custom cell should be displayed differently in the edit control.
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