Skip to content

Commit f847061

Browse files
niels9001Copilot
andcommitted
Fix broken file links in moved pages
Fix relative paths for images, cross-references, and internal links in files moved from design/ to develop/motion/ and develop/ui/. - Fix image paths (../../design/ depth for files in develop/motion/) - Fix index.md references to point to correct design pages - Fix navigation and controls cross-references - Fix storyboarded-animations.md self-referencing develop/ paths Co-authored-by: Copilot <[email protected]>
1 parent 285fcc9 commit f847061

7 files changed

Lines changed: 30 additions & 30 deletions

File tree

hub/apps/develop/motion/connected-animation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ In a connected animation, an element appears to "continue" between two views dur
2424

2525
In this short video, an app uses a connected animation to animate an item image as it "continues" to become part of the header of the next page. The effect helps maintain user context across the transition.
2626

27-
![Connected Animation](../design/motion/images/connected-animations/example.gif)
27+
![Connected Animation](../../design/motion/images/connected-animations/example.gif)
2828

2929
## Connected animation and the Fluent Design System
3030

31-
The Fluent Design System helps you create modern, bold UI that incorporates light, depth, motion, material, and scale. Connected animation is a Fluent Design System component that adds motion to your app. To learn more, see [Design for Windows apps](../index.md).
31+
The Fluent Design System helps you create modern, bold UI that incorporates light, depth, motion, material, and scale. Connected animation is a Fluent Design System component that adds motion to your app. To learn more, see [Design for Windows apps](../../design/index.md).
3232

3333
## Why connected animation?
3434

@@ -44,7 +44,7 @@ Connected animations further embody Fluent design by providing animation configu
4444

4545
You specify an animation configuration by setting the Configuration property on the ConnectedAnimation. (We'll show examples of this in the next section.)
4646

47-
This table describes the available configurations. For more information about the motion principles applied in these animations, see [Directionality and gravity](index.md).
47+
This table describes the available configurations. For more information about the motion principles applied in these animations, see [Directionality and gravity](../../design/motion/directionality-and-gravity.md).
4848

4949
| [GravityConnectedAnimationConfiguration](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.media.animation.gravityconnectedanimationconfiguration) |
5050
| - |
@@ -259,7 +259,7 @@ private async void ContactsListView_Loaded(object sender, RoutedEventArgs e)
259259

260260
## Coordinated animation
261261

262-
![Coordinated Animation](../design/motion/images/connected-animations/coordinated_example.gif)
262+
![Coordinated Animation](../../design/motion/images/connected-animations/coordinated_example.gif)
263263

264264
A *coordinated animation* is a special type of entrance animation where an element appears along with the connected animation target, animating in tandem with the connected animation element as it moves across the screen. Coordinated animations can add more visual interest to a transition and further draw the user's attention to the context that is shared between the source and destination views. In these images, the caption UI for the item is animating using a coordinated animation.
265265

hub/apps/develop/motion/motion-in-practice.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ There may be times when the system does not yet provide an exact motion solution
2424

2525
**_Transition example_**
2626

27-
![functional animation](../design/motion/images/page-refresh.gif)
27+
![functional animation](../../design/motion/images/page-refresh.gif)
2828

2929
:::row:::
3030
:::column:::
@@ -43,7 +43,7 @@ Fade in: 300ms; Easing: Default Decelerate
4343

4444
**_Object example_**
4545

46-
![300ms motion](../design/motion/images/control.gif)
46+
![300ms motion](../../design/motion/images/control.gif)
4747

4848
:::row:::
4949
:::column:::
@@ -113,6 +113,6 @@ public double OpaqueIfEnabled(bool IsEnabled)
113113

114114
## Related articles
115115

116-
- [Motion overview](../design/signature-experiences/motion.md)
117-
- [Timing and easing](../design/motion/timing-and-easing.md)
118-
- [Directionality and gravity](../design/motion/directionality-and-gravity.md)
116+
- [Motion overview](../../design/signature-experiences/motion.md)
117+
- [Timing and easing](../../design/motion/timing-and-easing.md)
118+
- [Directionality and gravity](../../design/motion/directionality-and-gravity.md)

hub/apps/develop/motion/page-transitions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Page refresh is a combination of a slide up animation and a fade in animation fo
2828

2929
The desired feeling is that the user has started over.
3030

31-
![page refresh animation](../design/motion/images/page-refresh.gif)
31+
![page refresh animation](../../design/motion/images/page-refresh.gif)
3232

3333
The page refresh animation is represented by the [**EntranceNavigationTransitionInfo**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.media.animation.entrancenavigationtransitioninfo) class.
3434

@@ -47,7 +47,7 @@ Use drill when users navigate deeper into an app, such as displaying more inform
4747

4848
The desired feeling is that the user has gone deeper into the app.
4949

50-
![drill animation](../design/motion/images/drill.gif)
50+
![drill animation](../../design/motion/images/drill.gif)
5151

5252
The drill animation is represented by the [**DrillInNavigationTransitionInfo**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.media.animation.drillinnavigationtransitioninfo) class.
5353

@@ -58,7 +58,7 @@ myFrame.Navigate(typeof(Page2), null, new DrillInNavigationTransitionInfo());
5858

5959
## Horizontal slide
6060

61-
Use horizontal slide to show that sibling pages appear next to each other. The [NavigationView](../controls/navigationview.md) control automatically uses this animation for top nav, but if you are building your own horizontal navigation experience, then you can implement horizontal slide with SlideNavigationTransitionInfo.
61+
Use horizontal slide to show that sibling pages appear next to each other. The [NavigationView](../ui/controls/navigationview.md) control automatically uses this animation for top nav, but if you are building your own horizontal navigation experience, then you can implement horizontal slide with SlideNavigationTransitionInfo.
6262

6363
The desired feeling is that the user is navigating between pages that are next to each other.
6464

@@ -89,5 +89,5 @@ This can be useful when you modify navigation behavior dynamically based on scre
8989

9090
## Related topics
9191

92-
- [Navigate between two pages](../basics/navigate-between-two-pages.md)
93-
- [Motion in Windows](index.md)
92+
- [Navigate between two pages](../ui/navigation/navigate-between-two-pages.md)
93+
- [Motion in Windows](../../design/signature-experiences/motion.md)

hub/apps/develop/motion/parallax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ Parallax is a visual effect where items closer to the viewer move faster than it
2424

2525
## Parallax and the Fluent Design System
2626

27-
The Fluent Design System helps you create modern, bold UI that incorporates light, depth, motion, material, and scale. Parallax is a Fluent Design System component that adds motion, depth, and scale to your app. To learn more, see the [Fluent Design overview](../index.md).
27+
The Fluent Design System helps you create modern, bold UI that incorporates light, depth, motion, material, and scale. Parallax is a Fluent Design System component that adds motion, depth, and scale to your app. To learn more, see the [Fluent Design overview](../../design/index.md).
2828

2929
## How it works in a user interface
3030

3131
In a UI, you can create a parallax effect by moving different objects at different rates when the UI scrolls or pans. To demonstrate, let's look at two layers of content, a list and a background image. The list is placed on top of the background image which already gives the illusion that the list might be closer to the viewer. Now, to achieve the parallax effect, we want the object closest to us to travel "faster" than the object that is farther away. As the user scrolls the interface, the list moves at a faster rate than the background image, which creates the illusion of depth.
3232

33-
![An example of parallax with a list and background image](../design/motion/images/parallax-v2.gif)
33+
![An example of parallax with a list and background image](../../design/motion/images/parallax-v2.gif)
3434

3535
## Using the ParallaxView control to create a parallax effect
3636

hub/apps/develop/motion/storyboarded-animations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ This next example shows how the previous example [**Storyboard**](/windows/windo
202202
</Page>
203203
```
204204

205-
Defining resources at the XAML root of a XAML file such as page.xaml or app.xaml is a common practice for how to organize keyed resources in your XAML. You also can factor resources into separate files and merge them into apps or pages. For more info, see [ResourceDictionary and XAML resource references](../../develop/platform/xaml/xaml-resource-dictionary.md).
205+
Defining resources at the XAML root of a XAML file such as page.xaml or app.xaml is a common practice for how to organize keyed resources in your XAML. You also can factor resources into separate files and merge them into apps or pages. For more info, see [ResourceDictionary and XAML resource references](../platform/xaml/xaml-resource-dictionary.md).
206206

207207
> [!NOTE]
208208
> Windows Runtime XAML supports identifying resources either using the [x:Key attribute](/windows/apps/develop/platform/xaml/x-key-attribute) or the [x:Name attribute](/windows/apps/develop/platform/xaml/x-name-attribute). Using x:Name attribute is more common for a [**Storyboard**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Media.Animation.Storyboard), because you'll want to reference it by variable name eventually, so that you can call its [**Begin**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.media.animation.storyboard.begin) method and run the animations. If you do use [x:Key attribute](/windows/apps/develop/platform/xaml/x-key-attribute), you'll need to use [**ResourceDictionary**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.ResourceDictionary) methods such as the [**Item**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.resourcedictionary) indexer to retrieve it as a keyed resource and then cast the retrieved object to **Storyboard** to use the **Storyboard** methods.
@@ -321,6 +321,6 @@ In general, creating storyboarded animations in a Windows Runtime app is like WP
321321
- [Dependency properties overview](/windows/apps/develop/platform/xaml/dependency-properties-overview)
322322
- [Key-frame and easing function animations](key-frame-and-easing-function-animations.md)
323323
- [Storyboarded animations for visual states](/previous-versions/windows/apps/jj819808(v=win.10))
324-
- [Control templates](../../develop/platform/xaml/xaml-control-templates.md)
324+
- [Control templates](../platform/xaml/xaml-control-templates.md)
325325
- [**Storyboard**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Media.Animation.Storyboard)
326326
- [**Storyboard.TargetProperty**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.media.animation.storyboard.targetproperty)

hub/apps/develop/motion/xaml-animation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Animations can enhance your app by adding movement and interactivity. By using t
1515
1616
Animations from the Windows Runtime animation library provide these benefits:
1717

18-
- Motions that align to the [Guidelines for animations](./index.md)
18+
- Motions that align to the [Guidelines for animations](../../design/signature-experiences/motion.md)
1919
- Fast, fluid transitions between UI states that inform but do not distract the user
2020
- Visual behavior that indicates transitions within an app to the user
2121

@@ -200,7 +200,7 @@ The child rectangles of the [**Grid**](/windows/windows-app-sdk/api/winrt/micros
200200

201201
Here's a demonstration of this animation:
202202

203-
![Animation showing child rectangle transitioning into view](./images/animation-child-rectangles.gif)
203+
![Animation showing child rectangle transitioning into view](../../design/motion/images/animation-child-rectangles.gif)
204204

205205
Child objects of a container can also re-flow when one or more of those children change position. In the following example, we apply a [**RepositionThemeTransition**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Media.Animation.RepositionThemeTransition) to a grid of rectangles. When you remove one of the rectangles, all the other rectangles re-flow into their new position.
206206

hub/apps/develop/ui/alignment-margin-padding.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ In XAML apps, most user interface (UI) elements inherit from the [**FrameworkEle
1515

1616
Proper sizing ensures all content is clear and legible. Users shouldn’t have to scroll or zoom to decipher primary content.
1717

18-
![diagram showing dimensions](images/dimensions.svg)
18+
![diagram showing dimensions](../../design/layout/images/dimensions.svg)
1919

20-
- [**Height**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.height) and [**Width**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.width) specify the size of an element. The default values are mathematically `NaN` (Not A Number). You can set fixed values measured in [effective pixels](screen-sizes-and-breakpoints-for-responsive-design.md#effective-pixels-and-scale-factor), or you can use **Auto** or [proportional sizing](layout-panels.md#grid) for fluid behavior.
20+
- [**Height**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.height) and [**Width**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.width) specify the size of an element. The default values are mathematically `NaN` (Not A Number). You can set fixed values measured in [effective pixels](../../design/layout/screen-sizes-and-breakpoints-for-responsive-design.md#effective-pixels-and-scale-factor), or you can use **Auto** or [proportional sizing](layout-panels.md#grid) for fluid behavior.
2121

2222
- [**ActualHeight**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.actualheight) and [**ActualWidth**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.actualwidth) are read-only properties that provide the size of an element at runtime. If fluid layouts grow or shrink, then the values change in a [**SizeChanged**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.sizechanged) event. Note that a [**RenderTransform**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.uielement.rendertransform) will not change the ActualHeight and ActualWidth values.
2323

@@ -29,7 +29,7 @@ Proper sizing ensures all content is clear and legible. Users shouldn’t have t
2929

3030
Alignment makes your UI look neat, organized, and balanced and can also be used to establish visual hierarchy and relationships.
3131

32-
![diagram showing alignment](images/alignment.svg)
32+
![diagram showing alignment](../../design/layout/images/alignment.svg)
3333

3434
- [**HorizontalAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.horizontalalignment) and [**VerticalAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.verticalalignment) specify how an element should be positioned within its parent container.
3535

@@ -38,13 +38,13 @@ Alignment makes your UI look neat, organized, and balanced and can also be used
3838
- **Stretch** is the default for both properties, and elements fill all of the space they're provided in the parent container. Real-number Height and Width cancel a Stretch value, which will instead act as a Center value. Some controls, like Button, override the default Stretch value in their default style.
3939
- [**HorizontalContentAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.control.horizontalcontentalignment) and [**VerticalContentAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.control.verticalcontentalignment) specify how child elements are positioned within a container.
4040
- Alignment can affect clipping within a layout panel. For example, with `HorizontalAlignment="Left"`, the right side of the element gets clipped if the content is larger than the ActualWidth.
41-
- Text elements use the [**TextAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.textalignment) property. Generally, we recommend using left-alignment, the default value. For more information about styling text, see [Typography](../style/typography.md).
41+
- Text elements use the [**TextAlignment**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.textalignment) property. Generally, we recommend using left-alignment, the default value. For more information about styling text, see [Typography](../../design/signature-experiences/typography.md).
4242

4343
## Margin and padding
4444

4545
Margin and padding properties keep UI from looking too cluttered or too sparse, and they can also make it easier to use certain inputs like pen and touch. Here's an illustration displaying margins and padding for a container and its content.
4646

47-
![xaml margins and padding diagram](images/xaml-layout-margins-padding.svg)
47+
![xaml margins and padding diagram](../../design/layout/images/xaml-layout-margins-padding.svg)
4848

4949
### Margin
5050

@@ -72,7 +72,7 @@ In each of these cases, elements also have a Margin property. If both Margin and
7272

7373
Let's look at the effects of Margin and Padding on real controls. Here’s a TextBox inside of a Grid with the default Margin and Padding values of 0.
7474

75-
![TextBox with margin and padding of 0](images/xaml-layout-textbox-no-margins-padding.svg)
75+
![TextBox with margin and padding of 0](../../design/layout/images/xaml-layout-textbox-no-margins-padding.svg)
7676

7777
Here’s the same TextBox and Grid with Margin and Padding values on the TextBox as shown in this XAML.
7878

@@ -82,19 +82,19 @@ Here’s the same TextBox and Grid with Margin and Padding values on the TextBox
8282
</Grid>
8383
```
8484

85-
![TextBox with positive margin and padding values](images/xaml-layout-textbox-with-margins-padding.svg)
85+
![TextBox with positive margin and padding values](../../design/layout/images/xaml-layout-textbox-with-margins-padding.svg)
8686

8787
## Style resources
8888

8989
You don't have to set each property value individually on a control. It's typically more efficient to group property values into a [**Style**](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.style) resource and apply the Style to a control. This is especially true when you need to apply the same property values to many controls. For more info about using styles, see [XAML styles](../../develop/platform/xaml/xaml-styles.md).
9090

9191
## General recommendations
9292

93-
- Only apply measurement values to certain key elements and use fluid layout behavior for the other elements. This provides for [responsive UI](responsive-design.md) when the window width changes.
94-
- If you do use measurement values, **all dimensions, margins, and padding should be in increments of 4 epx**. When XAML uses [effective pixels and scaling](screen-sizes-and-breakpoints-for-responsive-design.md) to make your app legible on all devices and screen sizes, it scales UI elements by multiples of 4. Using values in increments of 4 results in the best rendering by aligning with whole pixels.
93+
- Only apply measurement values to certain key elements and use fluid layout behavior for the other elements. This provides for [responsive UI](../../design/layout/responsive-design.md) when the window width changes.
94+
- If you do use measurement values, **all dimensions, margins, and padding should be in increments of 4 epx**. When XAML uses [effective pixels and scaling](../../design/layout/screen-sizes-and-breakpoints-for-responsive-design.md) to make your app legible on all devices and screen sizes, it scales UI elements by multiples of 4. Using values in increments of 4 results in the best rendering by aligning with whole pixels.
9595
- For small window widths (less than 640 pixels), we recommend 12 epx gutters, and for larger window widths, we recommend 24 epx gutters.
9696

97-
![recommended gutters](images/12-gutter.svg)
97+
![recommended gutters](../../design/layout/images/12-gutter.svg)
9898

9999
## Related topics
100100

0 commit comments

Comments
 (0)