From e630dd9ce258b7e6bce14b8fd0946534b7f8af8e Mon Sep 17 00:00:00 2001 From: David Pine Date: Mon, 8 Mar 2021 16:26:49 -0600 Subject: [PATCH 1/6] Update README.md (#224) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). From f646753cfd31e99f33056b169a66ffb53296374e Mon Sep 17 00:00:00 2001 From: Andy De George <67293991+adegeo@users.noreply.github.com> Date: Mon, 8 Mar 2021 14:36:55 -0800 Subject: [PATCH 2/6] Update dotnet-versionsweeper.json (#1006) --- dotnet-versionsweeper.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/**/*.*" ] } From 911443635a68e3ad528c8c8ef330280be0766480 Mon Sep 17 00:00:00 2001 From: Christy Date: Mon, 8 Mar 2021 19:19:04 -0600 Subject: [PATCH 3/6] Update how-to-create-a-quadratic-bezier-curve.md (#223) * Update how-to-create-a-quadratic-bezier-curve.md Removed unnecessary [xaml] tags * Update how-to-create-a-quadratic-bezier-curve.md * Update how-to-create-a-quadratic-bezier-curve.md Co-authored-by: Andy De George <67293991+adegeo@users.noreply.github.com> --- .../how-to-create-a-quadratic-bezier-curve.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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. From 1548a171183873c55ce7b60e1034002a5baf58d3 Mon Sep 17 00:00:00 2001 From: Christy Date: Mon, 8 Mar 2021 19:19:37 -0600 Subject: [PATCH 4/6] Cleaned up how-to-create-a-cubic-bezier-curve.md (#220) * Cleaned up how-to-create-a-cubic-bezier-curve.md Removed unnecessary [xml] tags * Update how-to-create-a-cubic-bezier-curve.md Co-authored-by: Andy De George <67293991+adegeo@users.noreply.github.com> --- .../how-to-create-a-cubic-bezier-curve.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. From ad9b095b5fdd329e0be9b525e23e34543b887ccd Mon Sep 17 00:00:00 2001 From: Christy Date: Mon, 8 Mar 2021 19:19:59 -0600 Subject: [PATCH 5/6] Update how-to-create-a-linesegment-in-a-pathgeometry.md (#221) * Update how-to-create-a-linesegment-in-a-pathgeometry.md Removed unnecessary [xaml] tags * Update how-to-create-a-linesegment-in-a-pathgeometry.md Co-authored-by: Andy De George <67293991+adegeo@users.noreply.github.com> --- .../how-to-create-a-linesegment-in-a-pathgeometry.md | 4 ---- 1 file changed, 4 deletions(-) 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. From 27a7699fe32021b07255dc484abbb24f344a08b5 Mon Sep 17 00:00:00 2001 From: Christy Date: Mon, 8 Mar 2021 19:21:02 -0600 Subject: [PATCH 6/6] Update how-to-create-an-elliptical-arc.md (#222) * Update how-to-create-an-elliptical-arc.md Removed unnecessary [xaml] tags * Update how-to-create-an-elliptical-arc.md Co-authored-by: Andy De George <67293991+adegeo@users.noreply.github.com> --- .../how-to-create-an-elliptical-arc.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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.