diff --git a/README.md b/README.md index d7f27ae..3bdbecf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # .NET Desktop Guide docs -![Markdownlint](https://github.com/dotnet/docs-desktop/workflows/Markdownlint/badge.svg) +![Markdownlint](https://github.com/dotnet/docs-desktop/workflows/Markdownlint/badge.svg) [![target supported version](https://github.com/dotnet/docs-desktop/actions/workflows/version-sweep.yml/badge.svg)](https://github.com/dotnet/docs-desktop/actions/workflows/version-sweep.yml) This repository contains the conceptual documentation for .NET desktop technologies, such as Windows Presentation Foundation (WPF) and Windows Forms (WinForms). It's published at the [.NET Desktop Guide documentation site](https://docs.microsoft.com/dotnet/desktop). diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md index f10eec5..562826e 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md @@ -12,13 +12,10 @@ ms.assetid: 450a3a77-7c57-48b0-a008-0f6051add980 This example shows how to create a cubic Bezier curve. To create a cubic Bezier curve, use the , , and classes. To display the resulting geometry, use a element, or use it with a or a . In the following examples, a cubic Bezier curve is drawn from (10, 100) to (300, 100). The curve has control points of (100, 0) and (200, 200). ## Example - [xaml] - + In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you may use abbreviated markup syntax to describe a path. - [!code-xaml[GeometrySample#53](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#53)] - - [xaml] + [!code-xaml[GeometrySample#53](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#53)] In [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], you can also draw a cubic Bezier curve using object tags. The following is equivalent to the previous [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)] example. diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-linesegment-in-a-pathgeometry.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-linesegment-in-a-pathgeometry.md index 812505a..aafc740 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-linesegment-in-a-pathgeometry.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-linesegment-in-a-pathgeometry.md @@ -21,8 +21,6 @@ The following examples draw a from (10, ![A LineSegment in a PathFigure](./media/graphicsmm-pathgeometrylinesegment.png "graphicsmm_pathgeometrylinesegment") A LineSegment drawn from (10,50) to (200,70) -[xaml] - In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you may use attribute syntax to describe a path. ```xaml @@ -30,8 +28,6 @@ In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you may u Data="M 10,50 L 200,70" /> ``` -[xaml] - (Note that this attribute syntax actually creates a , a lighter-weight version of a . For more information, see the [Path Markup Syntax](path-markup-syntax.md) page.) In [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], you may also draw a line segment by using object element syntax. The following is equivalent to the previous [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)] example. diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-quadratic-bezier-curve.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-quadratic-bezier-curve.md index a6f82a2..aab90a3 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-quadratic-bezier-curve.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-quadratic-bezier-curve.md @@ -12,15 +12,11 @@ This example shows how to create a quadratic Bezier curve. To create a quadrati ## Example In the following examples, a quadratic Bezier curve is drawn from (10,100) to (300,100). The curve has a control point of (200,200). - - [xaml] - + In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you can use attribute syntax to describe a path. [!code-xaml[GeometrySample#54](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#54)] - - [xaml] - + (Note that this attribute syntax actually creates a , a lighter-weight version of a . For more information, see the [Path Markup Syntax](path-markup-syntax.md) page.) In [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], you may also draw a quadratic Bezier curve using object element syntax. The following is equivalent to the previous [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)] example. diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-an-elliptical-arc.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-an-elliptical-arc.md index 0042a4b..6a21a27 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-an-elliptical-arc.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-an-elliptical-arc.md @@ -12,15 +12,11 @@ This example shows how to draw an elliptical arc. To create an elliptical arc, u ## Example In the following examples, an elliptical arc is drawn from (10,100) to (200,100). The arc has a of 100 by 50 device-independent pixels, a of 45 degrees, an setting of `true`, and a of . - - [xaml] - + In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you can use attribute syntax to describe a path. [!code-xaml[GeometrySample#56](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#56)] - - [xaml] - + (Note that this attribute syntax actually creates a , a lighter-weight version of a . For more information, see the [Path Markup Syntax](path-markup-syntax.md) page.) In [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], you can also draw an elliptical arc by explicitly using object tags. The following is equivalent to the preceding [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)] markup. diff --git a/dotnet-versionsweeper.json b/dotnet-versionsweeper.json index 4ed8390..9a99b5e 100644 --- a/dotnet-versionsweeper.json +++ b/dotnet-versionsweeper.json @@ -1,5 +1,5 @@ { "ignore":[ - "samples/**/*.*" + "dotnet-desktop-guide/samples/**/*.*" ] }