Spread Silverlight Documentation
FromColor Method


The compare type.
The expected color.
Creates a color condition from the color.
Syntax
'Declaration
 
Public Shared Function FromColor( _
   ByVal compareType As ColorCompareType, _
   ByVal expected As System.Windows.Media.Color _
) As ColorCondition
'Usage
 
Dim compareType As ColorCompareType
Dim expected As System.Windows.Media.Color
Dim value As ColorCondition
 
value = ColorCondition.FromColor(compareType, expected)
public static ColorCondition FromColor( 
   ColorCompareType compareType,
   System.Windows.Media.Color expected
)

Parameters

compareType
The compare type.
expected
The expected color.

Return Value

The ColorCondition object.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ColorCondition Class
ColorCondition Members

 

 


Copyright © GrapeCity, inc. All rights reserved.