Flexible TreeView 5.1.9 Help
FormatValue<T>(Node,DisplayFormat,String,T) Method



The target node.
The value format settings.
The field or property name from which to retrieve a value.
The value for convert.
Convert the specified value to the string either using the specified format or the ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeControlFormatValue event.
Syntax
'Declaration
 
Protected Overloads Function FormatValue(Of T)( _
   ByVal pNode As Node, _
   ByVal pDisplayFormat As DisplayFormat, _
   ByVal pFieldName As String, _
   ByVal pValue As T _
) As String
'Usage
 
Dim instance As BindableControl
Dim pNode As Node
Dim pDisplayFormat As DisplayFormat
Dim pFieldName As String
Dim pValue As T
Dim value As String
 
value = instance.FormatValue(Of T)(pNode, pDisplayFormat, pFieldName, pValue)
protected:
String^ FormatValuegeneric<typename T>
( 
   Node^ pNode,
   DisplayFormat^ pDisplayFormat,
   String^ pFieldName,
   T^ pValue
) 

Parameters

pNode
The target node.
pDisplayFormat
The value format settings.
pFieldName
The field or property name from which to retrieve a value.
pValue
The value for convert.

Type Parameters

T

Return Value

String representation of the value.
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

BindableControl Class
BindableControl Members
Overload List

Send Feedback