c# - Where to Find the default wpf chart template? -


i'm using wpftoolkit. want change of wpf chart based on default chart style template.

i noticed chart instance has properties titlestyle legendstyle chartareastyle plotareastyle think modifing these properties change of chart.

where find these default style templates?

you can extract default controltemplates visual studio directly:

  1. in wpf designer, select relevant control, or place mouse cursor on relevant control in xaml.

  2. press f4 open properties window.

  3. open miscellaneous category find template property, or type template in search field @ top of window.

  4. click on little square right of template field , select convert new resource... option:

enter image description here

  1. in popup dialog, name new controltemplate added , decide want defined:

enter image description here

  1. click on ok button.

taken how extract default control template in visual studio? question.


Comments