1

I want to get default template for e.g. GridViewColumnHeader. However that is not in XAML and I cannot select mouse 2nd button and select Edit template. Is it possible to get with VS2015?

char m
  • 7,840
  • 14
  • 68
  • 117

1 Answers1

0

You could open Blend for Visual Studio, add a temporary <GridViewColumnHeader /> element to an open document, right-click on it in the "Objects and Timeline" view and choose Edit Template->Edit a Copy. This will copy the default template into your XAML markup.

enter image description here

mm8
  • 163,881
  • 10
  • 57
  • 88
  • thanks! i'm an idiot. i've been doing this before. i tried to add it from Toolbox but it didn't have it. One has to write it in XAML. – char m Mar 19 '18 at 16:04