Version

AddGradientStop Method (XamPropertyGridProxy)

Add a gradient stop for the currently selected property, if the property is a brush
Syntax
'Declaration
 
Public Sub AddGradientStop( _
   ByVal dGradientLoc As System.Double, _
   Optional ByVal oColor As System.Object _
) 
public void AddGradientStop( 
   System.double dGradientLoc,
   System.object oColor
)
public: void AddGradientStop( 
   System.double dGradientLoc,
   System.Object* oColor
) 

Parameters

dGradientLoc
double value representing where the gradient stop should be added
oColor
optional string value that represents a color
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