This is a migrated thread and some comments may be shown as answers.

Styling the MapCommandBar

1 Answer 8 Views
Map
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 04 Apr 2019, 04:25 PM

I'm struggling to style the MapCommandBar because I can't find the properties referred to in the Styling the MapCommandBar article e.g. MapButtonBackground. Where can I set that? It doesn't exist in the generated default MapCommandBar or RadMap style templates 

Thanks,

Simon

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 09 Apr 2019, 10:16 AM
Hello Simon,

The MapButtonBackground along with the other resources specified in the article are brushes, which are used in various places in the RadMap. You can edit their values in Microsoft Blend or altenatively you can extract their default values from the theme's xaml file and edit them.

For example, for the RadMap, the path will be "Themes.Implicit\{your theme}\Themes\Telerik.Windows.Controls.DataVisualization.xaml". In the Telerik.Windows.Controls.DataVisualization.xaml file, you can find all of the mentioned brushes, extract them and edit them appropriately. 

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Map
Asked by
Simon
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or