Assigns the color and color name to the palette entry with the specified index.

Namespace:  C1.Silverlight.Extended
Assembly:  C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)

Syntax

C#
public void Set(
	int index,
	Color color,
	string colorName
)
Visual Basic
Public Sub Set ( _
	index As Integer, _
	color As Color, _
	colorName As String _
)

Parameters

index
Type: System..::..Int32
color
Type: System.Windows.Media..::..Color
colorName
Type: System..::..String

See Also