ArcFM Solution Developer Guide
Convert Method (ChangeStateToColorConverter)


Default color
Set the color based on the value of ChangeState If the default color is Colors.Transparent, then this is a fill so use the lighter color. Otherwise use the darker text-friendly color.
Syntax
'Declaration
 
Public Function Convert( _
   ByVal value As System.Object, _
   ByVal targetType As System.Type, _
   ByVal parameter As System.Object, _
   ByVal culture As System.Globalization.CultureInfo _
) As System.Object
'Usage
 
Dim instance As ChangeStateToColorConverter
Dim value As System.Object
Dim targetType As System.Type
Dim parameter As System.Object
Dim culture As System.Globalization.CultureInfo
Dim value As System.Object
 
value = instance.Convert(value, targetType, parameter, culture)
public System.object Convert( 
   System.object value,
   System.Type targetType,
   System.object parameter,
   System.Globalization.CultureInfo culture
)

Parameters

value
targetType
parameter
Default color
culture
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ChangeStateToColorConverter Class
ChangeStateToColorConverter Members

 

 


Send Comment