Click here to Skip to main content
15,947,958 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a requirement to create a symbol picker for redlining for which, I need to create a modal for the same to pick the symbols from a defined resource dictionary.e.g : there would be multiple SimpleFillSymbol for polygon.

Is there any way todo this?

XML
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
xmlns:esriSymbols="clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI .ArcGIS.Client"
>

<esriSymbols:SimpleLineSymbol x:Name="DrawLineSymbol" Color="Green" Width="4" />
<esriSymbols:SimpleFillSymbol x:Name="DrawFillSymbol" Fill="#3300FF00" BorderBrush="Green" BorderThickness="2" />
<esriSymbols:SimpleMarkerSymbol x:Name="DefaultMarkerSymbol" Color="Red" Size="12" Style="Circle" />
<esriSymbols:SimpleLineSymbol x:Name="DefaultLineSymbol" Color="Red" Width="4" />
<esriSymbols:SimpleFillSymbol x:Name="DefaultFillSymbol" Fill="#33FF0000" BorderBrush="Red" BorderThickness="2" />


</ResourceDictionary>
Posted
Updated 6-Oct-10 22:56pm
v2
Comments
DaveAuld 7-Oct-10 4:56am    
Edited to remove question from code block.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900