title: Where can I find the default template for the Expander control?
body: <p>I need to modify the template of the Expander control (move the chevron icon to the left), but I could not find it.</p>
  <p>Per <a href="https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.expander?view=winui-3.0#control-style-and-template" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.expander?view=winui-3.0#control-style-and-template</a></p>
  <blockquote>
  <p>The default style, template, and resources that define the look of the control are included in the generic.xaml file. For design purposes, generic.xaml is available in the (Program Files)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\ \Generic folder from a Windows Software Development Kit (SDK) installation. Styles and resources from different versions of the SDK might have different values.</p>
  </blockquote>
  <p>The generic.xaml in that location does not have the default template of the Expander control.</p>
  <p>I also looked in the generic.xaml from <code>%Users%\myuser\.nuget\packages\microsoft.windowsappsdk\1.0.0\lib\net5.0-windows10.0.18362.0\Microsoft.WinUI\Themes\generic.xaml</code></p>
  <p>So confusing. Back in the old WPF\UWP days I could just do Edit Template in Visual Studio, but with WinUI, that's not available...</p>