I'm sorry I did not understand the question. Are you trying to use Draw (similar to this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics) ? And you are trying to set or get the graphic symbol?
MyMap.Layers.Add(new GraphicsLayer() { ID = "MyGraphicsLayer"});
GraphicsLayer graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer;
ESRI.ArcGIS.Client.Graphic graphic = new ESRI.ArcGIS.Client.Graphic()
{
Geometry = args.Geometry,
Symbol = _activeSymbol,
};
graphicsLayer.Graphics.Add(graphic);
public static bool IsPointInPolygon( PointCollection points, MapPoint point )
{
int i;
int j = points.Count - 1;
bool inPoly = false;
for( i = 0; i < points.Count; i++ )
{
if( points[ i ].X < point.X && points[ j ].X >= point.X
|| points[ j ].X < point.X && points[ i ].X >= point.X )
{
if( points[ i ].Y + ( point.X - points[ i ].X ) / ( points[ j ].X - points[ i ].X ) * ( points[ j ].Y - points[ i ].Y ) < point.Y )
{
inPoly = !inPoly;
}
}
j = i;
}
return inPoly;
}