Skip to content

Commit 39ff627

Browse files
authored
Move some articles out of the Design section (#4989)
1 parent 4a3dbac commit 39ff627

File tree

70 files changed

+206
-153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+206
-153
lines changed

.openpublishing.redirection.json

Lines changed: 70 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,13 +1487,13 @@
14871487
},
14881488
{
14891489
"source_path": "uwp/controls-and-patterns/xaml-styles.md",
1490-
"redirect_url": "/windows/uwp/design/controls-and-patterns/xaml-styles",
1491-
"redirect_document_id": true
1490+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-styles",
1491+
"redirect_document_id": false
14921492
},
14931493
{
14941494
"source_path": "uwp/controls-and-patterns/xaml-theme-resources.md",
1495-
"redirect_url": "/windows/uwp/design/controls-and-patterns/xaml-theme-resources",
1496-
"redirect_document_id": true
1495+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-theme-resources",
1496+
"redirect_document_id": false
14971497
},
14981498
{
14991499
"source_path": "uwp/controls-and-patterns/tiles-and-notifications/channel-types.md",
@@ -1822,7 +1822,7 @@
18221822
},
18231823
{
18241824
"source_path": "uwp/layout/show-multiple-views.md",
1825-
"redirect_url": "/windows/uwp/design/layout/show-multiple-views",
1825+
"redirect_url": "/windows/uwp/ui-input/show-multiple-views",
18261826
"redirect_document_id": true
18271827
},
18281828
{
@@ -2027,7 +2027,7 @@
20272027
},
20282028
{
20292029
"source_path": "uwp/graphics/3-d-perspective-effects.md",
2030-
"redirect_url": "/windows/uwp/design/layout/3-d-perspective-effects",
2030+
"redirect_url": "/windows/apps/develop/platform/xaml/3-d-perspective-effects",
20312031
"redirect_document_id": false
20322032
},
20332033
{
@@ -6252,12 +6252,12 @@
62526252
},
62536253
{
62546254
"source_path": "uwp/design/controls-and-patterns/xaml-styles.md",
6255-
"redirect_url": "/windows/apps/design/style/xaml-styles",
6255+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-styles",
62566256
"redirect_document_id": false
62576257
},
62586258
{
62596259
"source_path": "uwp/design/controls-and-patterns/xaml-theme-resources.md",
6260-
"redirect_url": "/windows/apps/design/style/xaml-theme-resources",
6260+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-theme-resources",
62616261
"redirect_document_id": false
62626262
},
62636263
{
@@ -6637,7 +6637,7 @@
66376637
},
66386638
{
66396639
"source_path": "uwp/design/layout/3-d-perspective-effects.md",
6640-
"redirect_url": "/windows/apps/design/layout/3-d-perspective-effects",
6640+
"redirect_url": "/windows/apps/develop/platform/xaml/3-d-perspective-effects",
66416641
"redirect_document_id": false
66426642
},
66436643
{
@@ -6647,12 +6647,12 @@
66476647
},
66486648
{
66496649
"source_path": "uwp/design/layout/app-window.md",
6650-
"redirect_url": "/windows/apps/design/layout/app-window",
6650+
"redirect_url": "/windows/uwp/ui-input/app-window",
66516651
"redirect_document_id": false
66526652
},
66536653
{
66546654
"source_path": "uwp/design/layout/application-view.md",
6655-
"redirect_url": "/windows/apps/design/layout/application-view",
6655+
"redirect_url": "/windows/uwp/ui-input/application-view",
66566656
"redirect_document_id": false
66576657
},
66586658
{
@@ -6712,12 +6712,12 @@
67126712
},
67136713
{
67146714
"source_path": "uwp/design/layout/show-multiple-views.md",
6715-
"redirect_url": "/windows/apps/design/layout/show-multiple-views",
6715+
"redirect_url": "/windows/uwp/ui-input/show-multiple-views",
67166716
"redirect_document_id": false
67176717
},
67186718
{
67196719
"source_path": "uwp/design/layout/transforms.md",
6720-
"redirect_url": "/windows/apps/design/layout/transforms",
6720+
"redirect_url": "/windows/apps/develop/platform/xaml/transforms",
67216721
"redirect_document_id": false
67226722
},
67236723
{
@@ -7097,7 +7097,7 @@
70977097
},
70987098
{
70997099
"source_path": "uwp/design/style/brushes.md",
7100-
"redirect_url": "/windows/apps/design/style/brushes",
7100+
"redirect_url": "/windows/apps/develop/platform/xaml/brushes",
71017101
"redirect_document_id": false
71027102
},
71037103
{
@@ -7117,7 +7117,7 @@
71177117
},
71187118
{
71197119
"source_path": "uwp/design/style/reveal-focus.md",
7120-
"redirect_url": "/windows/apps/design/style/reveal-focus",
7120+
"redirect_url": "/windows/uwp/ui-input/reveal-focus",
71217121
"redirect_document_id": false
71227122
},
71237123
{
@@ -8574,6 +8574,61 @@
85748574
"source_path": "hub/dev-home/quickstart-playground.md",
85758575
"redirect_url": "/windows/dev-home/#experimental-features",
85768576
"redirect_document_id": false
8577+
},
8578+
{
8579+
"source_path": "hub/apps/design/style/xaml-control-templates.md",
8580+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-control-templates",
8581+
"redirect_document_id": false
8582+
},
8583+
{
8584+
"source_path": "hub/apps/design/style/xaml-resource-dictionary.md",
8585+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-resource-dictionary",
8586+
"redirect_document_id": false
8587+
},
8588+
{
8589+
"source_path": "hub/apps/design/style/xaml-styles.md",
8590+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-styles",
8591+
"redirect_document_id": false
8592+
},
8593+
{
8594+
"source_path": "hub/apps/design/style/xaml-theme-resources.md",
8595+
"redirect_url": "/windows/apps/develop/platform/xaml/xaml-theme-resources",
8596+
"redirect_document_id": false
8597+
},
8598+
{
8599+
"source_path": "hub/apps/design/layout/transforms.md",
8600+
"redirect_url": "/windows/apps/develop/platform/xaml/transforms",
8601+
"redirect_document_id": false
8602+
},
8603+
{
8604+
"source_path": "hub/apps/design/layout/3-d-perspective-effects.md",
8605+
"redirect_url": "/windows/apps/develop/platform/xaml/3-d-perspective-effects",
8606+
"redirect_document_id": false
8607+
},
8608+
{
8609+
"source_path": "hub/apps/design/style/brushes.md",
8610+
"redirect_url": "/windows/apps/develop/platform/xaml/brushes",
8611+
"redirect_document_id": false
8612+
},
8613+
{
8614+
"source_path": "hub/apps/design/style/reveal-focus.md",
8615+
"redirect_url": "/windows/uwp/ui-input/reveal-focus",
8616+
"redirect_document_id": false
8617+
},
8618+
{
8619+
"source_path": "hub/apps/design/layout/app-window.md",
8620+
"redirect_url": "/windows/uwp/ui-input/app-window",
8621+
"redirect_document_id": false
8622+
},
8623+
{
8624+
"source_path": "hub/apps/design/layout/application-view.md",
8625+
"redirect_url": "/windows/uwp/ui-input/application-view",
8626+
"redirect_document_id": false
8627+
},
8628+
{
8629+
"source_path": "hub/apps/design/layout/show-multiple-views.md",
8630+
"redirect_url": "/windows/uwp/ui-input/show-multiple-views",
8631+
"redirect_document_id": false
85778632
},
85788633
{
85798634
"source_path": "hub/android/defender-settings.md",

hub/apps/design/accessibility/developing-inclusive-windows-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ XAML
5050
```xaml
5151
<Button Background="{ThemeResource ButtonBackgroundThemeBrush}">OK</Button>
5252
```
53-
For more information about using system colors and resources, see [XAML theme resources](../style/xaml-theme-resources.md).
53+
For more information about using system colors and resources, see [XAML theme resources](../../develop/platform/xaml/xaml-theme-resources.md).
5454

5555
As long as you haven’t overridden system colors, a UWP app supports high-contrast themes by default. If a user has chosen that they want the system to use a high-contrast theme from system settings or accessibility tools, the framework automatically uses colors and style settings that produce a high-contrast layout and rendering for controls and components in the UI.
5656

hub/apps/design/basics/titlebar-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This section describes the design recommendations and behaviors of the parts of
5555
- Place the window title 16px from the window icon or back button.
5656
- If neither an icon nor back button are present, place the window title 16px from the left-most border in LTR, or right-most border in RTL.
5757
- The window title should use the Segoe UI Variable (if available) or Segoe UI font.
58-
- The window title should use _caption_ style text (see [XAML type ramp](../style/xaml-theme-resources.md#the-xaml-type-ramp)).
58+
- The window title should use _caption_ style text (see [XAML type ramp](../../develop/platform/xaml/xaml-theme-resources.md#the-xaml-type-ramp)).
5959
- The window title can be truncated, and an ellipsis added if the window width is smaller than the length of the title bar elements. The icon and caption buttons (min, max and close) should always be fully visible.
6060

6161
**Behavior**

hub/apps/design/controls/breadcrumbbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private void BreadcrumbBar1_ItemClicked(muxc.BreadcrumbBar sender, muxc.Breadcru
149149

150150
### Lightweight styling
151151

152-
You can modify the default Style and ControlTemplate to give the control a unique appearance. See the Control Style and Template section of the BreadcrumbBar API docs for a list of the available theme resources. For more info, see the [Light-weight styling section](../style/xaml-styles.md#lightweight-styling) of the [Styling controls](../style/xaml-styles.md) article.
152+
You can modify the default Style and ControlTemplate to give the control a unique appearance. See the Control Style and Template section of the BreadcrumbBar API docs for a list of the available theme resources. For more info, see the [Light-weight styling section](../../develop/platform/xaml/xaml-styles.md#lightweight-styling) of the [Styling controls](../../develop/platform/xaml/xaml-styles.md) article.
153153

154154
## Code examples
155155

hub/apps/design/controls/command-bar-flyout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Here, an AppBarElementContainer is used to add extra elements to a command bar f
196196
> [!TIP]
197197
> By default, elements designed for the app canvas might not look right in a command bar. When you add an element using AppBarElementContainer, there are some steps you should take to make the element match other command bar elements:
198198
>
199-
> - Override the default brushes with [lightweight styling](../style/xaml-styles.md#lightweight-styling) to make the element's background and border match the app bar buttons.
199+
> - Override the default brushes with [lightweight styling](../../develop/platform/xaml/xaml-styles.md#lightweight-styling) to make the element's background and border match the app bar buttons.
200200
> - Adjust the size and position of the element.
201201
> - Wrap icons in a Viewbox with a Width and Height of 16px.
202202

hub/apps/design/controls/controls-and-events-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In Windows app development, a *control* is a UI element that displays content or
2020
2121
A *pattern* is a recipe for modifying a control or combining several controls to make something new. For example, the [list/details](list-details.md) pattern is a way that you can use a [SplitView](split-view.md) control for app navigation. Similarly, you can customize the template of a [NavigationView](navigationview.md) control to implement the tab pattern.
2222

23-
In many cases, you can use a control as-is. But XAML controls separate function from structure and appearance, so you can make various levels of modification to make them fit your needs. In the [Style](../style/index.md) section, you can learn how to use [XAML styles](../style/xaml-styles.md) and [control templates](../style/xaml-control-templates.md) to modify a control.
23+
In many cases, you can use a control as-is. But XAML controls separate function from structure and appearance, so you can make various levels of modification to make them fit your needs. In the [Style](../style/index.md) section, you can learn how to use [XAML styles](../../develop/platform/xaml/xaml-styles.md) and [control templates](../../develop/platform/xaml/xaml-control-templates.md) to modify a control.
2424

2525
In this section, we provide guidance for each of the XAML controls you can use to build your app UI. To start, this article shows you how to add controls to your app. There are 3 key steps to using controls to your app:
2626

hub/apps/design/controls/custom-transport-controls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The [**ControlTemplate**](/uwp/api/Windows.UI.Xaml.Controls.ControlTemplate) is
5151
- The third section contains the [**Grid**](/uwp/api/Windows.UI.Xaml.Controls.Grid) that holds that various MediaTransportControls elements together and defines how the components are laid out.
5252

5353
> [!NOTE]
54-
> For more info about modifying templates, see [Control templates](../style/xaml-control-templates.md). You can use a text editor or similar editors in your IDE to open the XAML files in \(*Program Files*)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\\(*SDK version*)\Generic. The default style and template for each control is defined in the **generic.xaml** file. You can find the MediaTransportControls template in generic.xaml by searching for "MediaTransportControls".
54+
> For more info about modifying templates, see [Control templates](../../develop/platform/xaml/xaml-control-templates.md). You can use a text editor or similar editors in your IDE to open the XAML files in \(*Program Files*)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\\(*SDK version*)\Generic. The default style and template for each control is defined in the **generic.xaml** file. You can find the MediaTransportControls template in generic.xaml by searching for "MediaTransportControls".
5555
5656
In the following sections, you learn how to customize several of the main elements of the transport controls:
5757
- [**Slider**](/uwp/api/Windows.UI.Xaml.Controls.Slider): allows a user to scrub through their media and also displays progress
@@ -85,7 +85,7 @@ If you want to modify only the appearance of the MediaTransportControls, you can
8585
</MediaPlayerElement>
8686
```
8787

88-
For more info about modifying styles and templates, see [Styling controls](../style/xaml-styles.md) and [Control templates](../style/xaml-control-templates.md).
88+
For more info about modifying styles and templates, see [Styling controls](../../develop/platform/xaml/xaml-styles.md) and [Control templates](../../develop/platform/xaml/xaml-control-templates.md).
8989

9090
### Create a derived control
9191

hub/apps/design/controls/expander.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private void Expander_Collapsed(muxc.Expander sender,
235235

236236
### Lightweight styling
237237

238-
You can modify the default `Style` and `ControlTemplate` to give the control a unique appearance. See the Control Style and Template section of the Expander API docs for a list of the available theme resources. For more info, see the [Light-weight styling section](../style/xaml-styles.md#lightweight-styling) of the [Styling controls](../style/xaml-styles.md) article.
238+
You can modify the default `Style` and `ControlTemplate` to give the control a unique appearance. See the Control Style and Template section of the Expander API docs for a list of the available theme resources. For more info, see the [Light-weight styling section](../../develop/platform/xaml/xaml-styles.md#lightweight-styling) of the [Styling controls](../../develop/platform/xaml/xaml-styles.md) article.
239239

240240
## Recommendations
241241

hub/apps/design/controls/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ General instructions and code examples for adding and styling controls in XAML a
2828
There are 3 key steps to adding controls to your app: Add a control to your app UI, set properties on the control, and add code to the control's event handlers so that it does something.</p>
2929
:::column-end:::
3030
:::column:::
31-
<p><b><a href="../style/xaml-styles.md">Styling controls</a></b> <br/>
31+
<p><b><a href="../../develop/platform/xaml/xaml-styles.md">Styling controls</a></b> <br/>
3232
You can customize the appearance of your apps in many ways by using the XAML framework. Styles let you set control properties and reuse those settings for a consistent appearance across multiple controls.</p>
3333
:::column-end:::
3434
:::row-end:::

hub/apps/design/controls/infobar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ XAML content can be added to an InfoBar using the Content property. It will appe
298298
You can modify the default Style and ControlTemplate to give the control a unique appearance.
299299
See the [Control Style and Template](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.infobar#control-style-and-template) section of the InfoBar API docs for a list of the available theme resources.
300300

301-
For more info, see the [Light-weight styling section](../style/xaml-styles.md#lightweight-styling)
302-
of the [Styling controls](../style/xaml-styles.md)
301+
For more info, see the [Light-weight styling section](../../develop/platform/xaml/xaml-styles.md#lightweight-styling)
302+
of the [Styling controls](../../develop/platform/xaml/xaml-styles.md)
303303
article.
304304

305305
For example, the following causes the background color for all informational InfoBars on a page to be blue:

0 commit comments

Comments
 (0)