US-1889327: Header fixes (#1319)

* Metadata updates for US-1889327.

* H2 edits.

* Updated column header.

* Minor edits.

* Review edits.
This commit is contained in:
Pooja Poojari
2022-02-28 08:53:24 -08:00
committed by GitHub
parent 1ef955c27d
commit a606313314
20 changed files with 73 additions and 45 deletions
@@ -4,6 +4,7 @@ description: Learn how to create and reference a control template in Windows Pre
author: adegeo
ms.author: adegeo
ms.date: 12/03/2020
ms.custom: devdivchpfy22
no-loc: ["<Window>", "<ControlTemplate>", "<Ellipse>", "<ContentPresenter>", "<Trigger>", "<Setter>", "<PropertyTrigger>", "<Grid>", "<VisualStateManager.VisualStateGroups>", "<VisualStateGroup>", "<VisualState>", "<Storyboard>", "SizeToContent", "MinWidth", "TargetType", "Title"]
ms.topic: how-to
helpviewer_keywords:
@@ -35,11 +36,11 @@ On the other hand, if you need a control with new functionality, different prope
Create a new WPF application and in *MainWindow.xaml* (or another window of your choice) set the following properties on the **\<Window>** element:
| | |
| --- | --- |
| Property | Value |
|----------|-------|
| **Title** | `Template Intro Sample` |
| **SizeToContent** | `WidthAndHeight` |
| **MinWidth** | `250` |
| **MinWidth** | `250` |
Set the content of the **\<Window>** element to the following XAML:
@@ -63,10 +64,10 @@ To start with, add a `Window.Resources` element to your *MainWindow.xaml* file:
Create a new **\<ControlTemplate>** with the following properties set:
| | |
| --- | --- |
| **x:Key** | `roundbutton` |
| **TargetType** | `Button` |
| Property | Value |
| ----- | ---------- |
| **x:Key** | `roundbutton` |
| **TargetType** | `Button` |
This control template will be simple: