<esri:LineSymbol x:Key="DefaultLineSymbol"> <esri:LineSymbol.ControlTemplate> <ControlTemplate> <Path x:Name="Element" Stroke="{TemplateBinding Color}" StrokeThickness="{TemplateBinding Width}" /> </ControlTemplate> </esri:LineSymbol.ControlTemplate> </esri:LineSymbol>
Try binding to the symbol:
<Ellipse Fill="{Binding Attributes, Converter={StaticResource DictionaryConverter}, ConverterParameter=EllipseFill, Mode=OneWay}" Height="10" HorizontalAlignment="Left" Margin="-5,-5,0,0" VerticalAlignment="Top" Width="10" />
<Ellipse Fill="{Binding Attributes[EllipseFill], Mode=OneWay}" Height="10" HorizontalAlignment="Left" Margin="-5,-5,0,0" VerticalAlignment="Top" Width="10" />
<esri:LineSymbol x:Key="DefaultLineSymbol"> <esri:LineSymbol.ControlTemplate> <ControlTemplate> <Path x:Name="Element" Stroke="{Binding Symbol.Color}" StrokeThickness="{Binding Symbol.Width}" /> </ControlTemplate> </esri:LineSymbol.ControlTemplate> </esri:LineSymbol>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.