Skip to content

Commit 2dd28e0

Browse files
authored
Fix links broken when files were moved (#1610)
* Fix links broken when files were moved * Fix two more links
1 parent ee09f63 commit 2dd28e0

File tree

90 files changed

+230
-230
lines changed

Some content is hidden

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

90 files changed

+230
-230
lines changed

hub/design/accessibility/basic-accessibility-information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Windows supports many controls that can be used to display values that come from
142142
<span id="ACCESSIBLE_NAMES_AND_LOCALIZATION"/>
143143

144144
## Accessible names and localization
145-
To make sure that the accessible name is also an element that is localized, you should use correct techniques for storing localizable strings as resources and then referencing the resource connections with [x:Uid directive](../../xaml-platform/x-uid-directive.md) values. If the accessible name is coming from an explicitly set [**AutomationProperties.Name**](/dotnet/api/system.windows.automation.automationproperties.name) usage, make sure that the string there is also localizable.
145+
To make sure that the accessible name is also an element that is localized, you should use correct techniques for storing localizable strings as resources and then referencing the resource connections with [x:Uid directive](/windows/uwp/xaml-platform/x-uid-directive) values. If the accessible name is coming from an explicitly set [**AutomationProperties.Name**](/dotnet/api/system.windows.automation.automationproperties.name) usage, make sure that the string there is also localizable.
146146

147147
Note that attached properties such as the [**AutomationProperties**](/uwp/api/Windows.UI.Xaml.Automation.AutomationProperties) properties use a special qualifying syntax for the resource name, so that the resource references the attached property as applied to a specific element. For example, the resource name for [**AutomationProperties.Name**](/dotnet/api/system.windows.automation.automationproperties.name) as applied to a UI element named `MediumButton` is: `MediumButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name`.
148148

hub/design/accessibility/high-contrast-themes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ While common controls come with full high contrast support for free, care needs
3333

3434
When the `#E6E6E6` color is set inline in the first example, the Grid will retain that background color in all themes. If the user switches to the High Contrast Black theme, they'll expect your app to have a black background. Since `#E6E6E6` is almost white, some users may not be able to interact with your app.
3535

36-
In the second example, the [**{ThemeResource} markup extension**](../../xaml-platform/themeresource-markup-extension.md) is used to reference a color in the [**ThemeDictionaries**](/uwp/api/windows.ui.xaml.resourcedictionary.themedictionaries) collection, a dedicated property of a [**ResourceDictionary**](/uwp/api/Windows.UI.Xaml.ResourceDictionary) element. **ThemeDictionaries** allows XAML to automatically swap colors for you based on the user's current theme.
36+
In the second example, the [**{ThemeResource} markup extension**](/windows/uwp/xaml-platform/themeresource-markup-extension) is used to reference a color in the [**ThemeDictionaries**](/uwp/api/windows.ui.xaml.resourcedictionary.themedictionaries) collection, a dedicated property of a [**ResourceDictionary**](/uwp/api/Windows.UI.Xaml.ResourceDictionary) element. **ThemeDictionaries** allows XAML to automatically swap colors for you based on the user's current theme.
3737

3838
## Theme dictionaries
3939

hub/design/basics/content-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ To create these page patterns, you'll need to use a combination of individual co
101101
<tr class="odd">
102102
<td align="left">Maps<br/><br/>
103103
<img src="images/content-basics/mapcontrol.png" alt="map control" /></td>
104-
<td align="left"><a href="../../maps-and-location/display-maps.md">MapControl</a></td>
104+
<td align="left"><a href="/windows/uwp/maps-and-location/display-maps">MapControl</a></td>
105105
<td align="left">Displays a symbolic or photorealistic map of the Earth.</td>
106106
</tr>
107107
<tr class="even">

hub/design/basics/design-and-ui-intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ If you'd like to learn about the principles behind Fluent Design (Microsoft's de
170170

171171
## Related articles
172172

173-
- [What's a UWP app?](../../get-started/universal-application-platform-guide.md)
174-
- [Fluent Design System](/windows/apps/fluent-design-system)
175-
- [XAML platform overview](../../xaml-platform/index.md)
173+
- [What's a UWP app?](/windows/uwp/get-started/universal-application-platform-guide)
174+
- [Fluent Design System](/windows/apps/design)
175+
- [XAML platform overview](/windows/uwp/xaml-platform/index)

hub/design/basics/xaml-basics-adaptive-layout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ Run the app. When the app loads, try changing the size of the window. When you s
258258

259259
## Going further
260260

261-
Now that you've completed this lab, you have enough adaptive layout knowledge to experiment further on your own. For a bigger challenge, try optimizing the layout for larger screen sizes, like Surface Hub. See [Test Surface Hub apps using Visual Studio](../../debug-test-perf/test-surface-hub-apps-using-visual-studio.md) if you'd like to test a Surface Hub layout.
261+
Now that you've completed this lab, you have enough adaptive layout knowledge to experiment further on your own. For a bigger challenge, try optimizing the layout for larger screen sizes, like Surface Hub. See [Test Surface Hub apps using Visual Studio](/windows/uwp/debug-test-perf/test-surface-hub-apps-using-visual-studio) if you'd like to test a Surface Hub layout.
262262

263263
If you get stuck, you can find more guidance in [Responsive layouts with XAML](../layout/layouts-with-xaml.md).
264264

265-
Alternatively, if you want to learn more about how the initial photo editing app was built, check out these tutorials on XAML [user interfaces](../basics/xaml-basics-ui.md) and [data binding](../../data-binding/xaml-basics-data-binding.md).
265+
Alternatively, if you want to learn more about how the initial photo editing app was built, check out these tutorials on XAML [user interfaces](../basics/xaml-basics-ui.md) and [data binding](/windows/uwp/data-binding/xaml-basics-data-binding).
266266

267267
## Get the final version of the PhotoLab sample
268268

hub/design/basics/xaml-basics-ui.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ You'll notice that the app isn't showing images yet. By default, it shows the `T
232232

233233
Now, you'll create a [DataTemplate](/uwp/api/windows.ui.xaml.datatemplate) object that tells the `GridView` control how to display your data. For a full explanation of data templates, see [Item containers and templates](../controls-and-patterns/item-containers-templates.md).
234234

235-
For now, you'll add only placeholders to help you create the layout you want. In the [XAML data binding](../../data-binding/xaml-basics-data-binding.md) tutorial, you'll replace these placeholders with real data from the `ImageFileInfo` class. You can open the **ImageFileInfo.cs** file now if you want to see what the data object looks like.
235+
For now, you'll add only placeholders to help you create the layout you want. In the [XAML data binding](/windows/uwp/data-binding/xaml-basics-data-binding) tutorial, you'll replace these placeholders with real data from the `ImageFileInfo` class. You can open the **ImageFileInfo.cs** file now if you want to see what the data object looks like.
236236

237237
To add a data template to a grid view:
238238

@@ -261,7 +261,7 @@ To add a data template to a grid view:
261261
NavigationCacheMode="Enabled">
262262
```
263263

264-
For more info about XAML namespaces, see [XAML namespaces and namespace mapping](../../xaml-platform/xaml-namespaces-and-namespace-mapping.md).
264+
For more info about XAML namespaces, see [XAML namespaces and namespace mapping](/windows/uwp/xaml-platform/xaml-namespaces-and-namespace-mapping).
265265

266266
3. In Document Outline, right-click **ImageGridView**. On the shortcut menu, select **Edit Additional Templates** > **Edit Generated Items (ItemTemplate)** > **Create Empty**. The **Create Resource** dialog box opens.
267267

@@ -538,7 +538,7 @@ Now, the scroll bar is aligned with the edge of the window. Good job! You've cre
538538

539539
Now that you've created the basic UI, check out these other tutorials. They're also based on the PhotoLab sample.
540540

541-
* Add real images and data in the [XAML data binding tutorial](../../data-binding/xaml-basics-data-binding.md).
541+
* Add real images and data in the [XAML data binding tutorial](/windows/uwp/data-binding/xaml-basics-data-binding).
542542
* Make the UI adapt to different screen sizes in the [XAML adaptive layout tutorial](xaml-basics-adaptive-layout.md).
543543

544544

hub/design/controls-and-patterns/buttons.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A button gives the user a way to trigger an immediate action. Some buttons are s
2020

2121
![Example of buttons](images/controls/button.png)
2222

23-
The [Extensible Application Markup Language (XAML)](../../xaml-platform/xaml-overview.md) framework provides a standard button control as well as several specialized button controls.
23+
The [Extensible Application Markup Language (XAML)](/windows/uwp/xaml-platform/xaml-overview) framework provides a standard button control as well as several specialized button controls.
2424

2525
Control | Description
2626
------- | -----------
@@ -131,7 +131,7 @@ private async void SubscribeButton_Click(object sender, RoutedEventArgs e)
131131

132132
When you tap a **Button** control with a finger or stylus, or press a left mouse button while the pointer is over it, the button raises the [Click](/uwp/api/windows.ui.xaml.controls.primitives.buttonbase.click) event. If a button has keyboard focus, pressing the Enter key or the Spacebar also raises the **Click** event.
133133

134-
You generally can't handle low-level [PointerPressed](/uwp/api/windows.ui.xaml.uielement.pointerpressed) events on a **Button** object because it has the **Click** behavior instead. For more info, see [Events and routed events overview](../../xaml-platform/events-and-routed-events-overview.md).
134+
You generally can't handle low-level [PointerPressed](/uwp/api/windows.ui.xaml.uielement.pointerpressed) events on a **Button** object because it has the **Click** behavior instead. For more info, see [Events and routed events overview](/windows/uwp/xaml-platform/events-and-routed-events-overview).
135135

136136
You can change how a button raises the **Click** event by changing the [ClickMode](/uwp/api/windows.ui.xaml.controls.clickmode) property. The default value of **ClickMode** is **Release**, but you also can set a button's **ClickMode** value to **Hover** or **Press**. If **ClickMode** is **Hover**, the **Click** event can't be raised by using the keyboard or touch.
137137

hub/design/controls-and-patterns/checkbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ In this example, the **IsChecked** property of the check box to agree to terms o
9898

9999
#### Using x:Bind
100100

101-
> Note&nbsp;&nbsp;We only show the relevant code here. For more info about data binding see [Data binding overview](../../data-binding/data-binding-quickstart.md). Specific {x:Bind} info (such as casting) is detailed [here](../../xaml-platform/x-bind-markup-extension.md).
101+
> Note&nbsp;&nbsp;We only show the relevant code here. For more info about data binding see [Data binding overview](/windows/uwp/data-binding/data-binding-quickstart). Specific {x:Bind} info (such as casting) is detailed [here](/windows/uwp/xaml-platform/x-bind-markup-extension).
102102
103103
```xaml
104104
<StackPanel Grid.Column="2" Margin="40">
@@ -117,7 +117,7 @@ If the check box can also be in the **indeterminate** state, we use the binding'
117117

118118
#### Using x:Bind or Binding
119119

120-
> Note&nbsp;&nbsp;We only show the relevant code here using {x:Bind}. In the {Binding} example, we would replace {x:Bind} with {Binding}. For more info about data binding, value converters and differences between the {x:Bind} and {Binding} markup extensions, see [Data binding overview](../../data-binding/data-binding-quickstart.md).
120+
> Note&nbsp;&nbsp;We only show the relevant code here using {x:Bind}. In the {Binding} example, we would replace {x:Bind} with {Binding}. For more info about data binding, value converters and differences between the {x:Bind} and {Binding} markup extensions, see [Data binding overview](/windows/uwp/data-binding/data-binding-quickstart).
121121
122122
```xaml
123123
...

hub/design/controls-and-patterns/contact-card.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Use the contact card when you want to display contact info for a contact. If you
8888
Rect selectionRect = GetElementRect((FrameworkElement)sender);
8989
```
9090

91-
4. Get the [Contact](//docs.microsoft.com/uwp/api/Windows.ApplicationModel.Contacts.Contact) object you want to display. This example just creates a simple contact, but your code should retrieve an actual contact.
91+
4. Get the [Contact](/uwp/api/Windows.ApplicationModel.Contacts.Contact) object you want to display. This example just creates a simple contact, but your code should retrieve an actual contact.
9292

9393
```csharp
9494
// Retrieve the contact to display
@@ -168,12 +168,12 @@ private void onUserClickShowContactCard()
168168

169169
## Retrieving "real" contacts
170170

171-
The examples in this article create a simple contact. In a real app, you'd probably want to retrieve an existing contact. For instructions, see the [Contacts and calendar article](../../contacts-and-calendar/index.md).
171+
The examples in this article create a simple contact. In a real app, you'd probably want to retrieve an existing contact. For instructions, see the [Contacts and calendar article](/windows/uwp/contacts-and-calendar/index).
172172

173173

174174

175175

176176
## Related articles
177-
- [Contacts and calendar](../../contacts-and-calendar/index.md)
177+
- [Contacts and calendar](/windows/uwp/contacts-and-calendar/index)
178178
- [Contact cards sample](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/ContactCards)
179179
- [People picture control](/windows/uwp/controls-and-patterns/person-picture/)

hub/design/controls-and-patterns/content-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ The People picker creates a ContentLinkInfo with a Uri that uses the **ms-people
159159
- If LinkContentKind is not "People", it opens the **People** app. For example, this can happen if you’ve modified the LinkContentKind in the ContentLinkChanged event handler.
160160

161161
> [!TIP]
162-
> For more info about opening other apps and websites from your app, see the topics under [Launch an app with a Uri](../../launch-resume/launch-app-with-uri.md).
162+
> For more info about opening other apps and websites from your app, see the topics under [Launch an app with a Uri](/windows/uwp/launch-resume/launch-app-with-uri).
163163
164164
#### Invoked
165165

hub/design/controls-and-patterns/control-templates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ When you create a [**ControlTemplate**](/uwp/api/Windows.UI.Xaml.Controls.Contro
4444

4545
This XAML creates a [**ControlTemplate**](/uwp/api/Windows.UI.Xaml.Controls.ControlTemplate) for a [**CheckBox**](/uwp/api/Windows.UI.Xaml.Controls.CheckBox) that specifies that the content of the control is below the selection box. The root element is a [**Border**](/uwp/api/Windows.UI.Xaml.Controls.Border). The example specifies a [**Path**](/uwp/api/Windows.UI.Xaml.Shapes.Path) to create an **X** that indicates that a user selected the **CheckBox**, and an [**Ellipse**](/uwp/api/Windows.UI.Xaml.Shapes.Ellipse) that indicates an indeterminate state. Note that the [**Opacity**](/uwp/api/Windows.UI.Xaml.UIElement.Opacity) is set to 0 on the **Path** and the **Ellipse** so that by default, neither appear.
4646

47-
A [TemplateBinding](../../xaml-platform/templatebinding-markup-extension.md) is a special binding that links the value of a property in a control template to the value of some other exposed property on the templated control. TemplateBinding can only be used within a ControlTemplate definition in XAML. See [TemplateBinding markup extension](../../xaml-platform/templatebinding-markup-extension.md) for more info.
47+
A [TemplateBinding](/windows/uwp/xaml-platform/templatebinding-markup-extension) is a special binding that links the value of a property in a control template to the value of some other exposed property on the templated control. TemplateBinding can only be used within a ControlTemplate definition in XAML. See [TemplateBinding markup extension](/windows/uwp/xaml-platform/templatebinding-markup-extension) for more info.
4848

4949
> [!NOTE]
50-
> Starting with Windows 10, version 1809 ([SDK 17763](https://developer.microsoft.com/windows/downloads/windows-10-sdk)), you can use [**x:Bind**](../../xaml-platform/x-bind-markup-extension.md) markup extensions in places you use [TemplateBinding](../../xaml-platform/templatebinding-markup-extension.md). See [TemplateBinding markup extension](../../xaml-platform/templatebinding-markup-extension.md) for more info.
50+
> Starting with Windows 10, version 1809 ([SDK 17763](https://developer.microsoft.com/windows/downloads/windows-10-sdk)), you can use [**x:Bind**](/windows/uwp/xaml-platform/x-bind-markup-extension) markup extensions in places you use [TemplateBinding](/windows/uwp/xaml-platform/templatebinding-markup-extension). See [TemplateBinding markup extension](/windows/uwp/xaml-platform/templatebinding-markup-extension) for more info.
5151
5252
```XAML
5353
<ControlTemplate x:Key="CheckBoxTemplate1" TargetType="CheckBox">
@@ -190,7 +190,7 @@ The topics that document the styles and templates for XAML controls show you exc
190190

191191
## Theme resources in control templates
192192

193-
For some of the attributes in the XAML examples, you may have noticed resource references that use the [{ThemeResource} markup extension](../../xaml-platform/themeresource-markup-extension.md). This is a technique that enables a single control template to use resources that can be different values depending on which theme is currently active. This is particularly important for brushes and colors, because the main purpose of the themes is to enable users to choose whether they want a dark, light, or high contrast theme applied to the system overall. Apps that use the XAML resource system can use a resource set that's appropriate for that theme, so that the theme choices in an app's UI are reflective of the user's systemwide theme choice.
193+
For some of the attributes in the XAML examples, you may have noticed resource references that use the [{ThemeResource} markup extension](/windows/uwp/xaml-platform/themeresource-markup-extension). This is a technique that enables a single control template to use resources that can be different values depending on which theme is currently active. This is particularly important for brushes and colors, because the main purpose of the themes is to enable users to choose whether they want a dark, light, or high contrast theme applied to the system overall. Apps that use the XAML resource system can use a resource set that's appropriate for that theme, so that the theme choices in an app's UI are reflective of the user's systemwide theme choice.
194194

195195
## Get the sample code
196196

0 commit comments

Comments
 (0)