Skip to content

Commit

Permalink
Merge pull request #112 from wpfcontrib/add-yaml-frontmatter
Browse files Browse the repository at this point in the history
Add YAML Front matter for Samples Browser
  • Loading branch information
vatsan-madhavan authored Oct 29, 2019
2 parents 0fc29c6 + 2615693 commit 2b68b52
Show file tree
Hide file tree
Showing 218 changed files with 2,154 additions and 221 deletions.
11 changes: 10 additions & 1 deletion Accessibility/FetchTimer/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "FetchTimer Sample"
---

# FetchTimer Sample

Expand All @@ -10,7 +18,7 @@ The sample is designed to demonstrate the use of CacheRequest and related classe

## Build the sample

The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample

Expand All @@ -20,3 +28,4 @@ The easiest way to use these samples without using Git is to download the zip fi

- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


2 changes: 1 addition & 1 deletion Accessibility/FindText/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The functionality demonstrated by the sample includes the ability to search for
Three WPF documents are provided in the Content folder of the TextProvider project.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.
Expand Down
11 changes: 10 additions & 1 deletion Accessibility/FocusTracker/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "TrackFocus Sample"
---

# TrackFocus Sample
This sample tracks the input focus on the desktop and displays information about focus changes, using Microsoft UI Automation. This is a simple console application that might be used as a starting-point for an application that uses UI Automation to track events on the desktop.
Expand All @@ -13,11 +21,12 @@ The program subscribes to three event types:
For simplicity, no caching is done. A full-scale application would likely cache all immediate children of an application window as soon as that window received focus.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


11 changes: 10 additions & 1 deletion Accessibility/Highlighter/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Highlighter Sample"
---

# Highlighter Sample
This sample demonstrates how to keep track of focus changes so that focused elements can be highlighted on the screen. The highlight is a simple colored rectangle, but it could be a magnifier window or some other tool to make the focused element more accessible.
Expand All @@ -7,11 +15,12 @@ Sometimes focus-changed events occur in rapid succession: for example, when the
You can experiment with different timer intervals by using the slider.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


2 changes: 1 addition & 1 deletion Accessibility/InsertText/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The sample defines two applications, a target and a client that operates against
The target application, InsertTextTarget.exe, should be automatically copied to the InsertText client folder when you build the sample and is started manually from the client. You may have to manually copy this file to the bin/debug folder of the client application if you receive an error stating that the file cannot be found.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.
Expand Down
2 changes: 1 addition & 1 deletion Accessibility/InvokePattern/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The sample illustrates how identical controls may provide different control patt
Two applications—a Windows Presentation Foundation (WPF) target application containing a variety of TreeView controls used as UI Automation providers and a WPF UI Automation client that operates against this target application—are created by the sample. The client uses the ExpandCollapsePattern, InvokePattern, and TogglePattern control patterns to interact with the controls in the target.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.
Expand Down
2 changes: 1 addition & 1 deletion Accessibility/SelectionPattern/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This sample demonstrates the Microsoft UI Automation SelectionPattern and Select
The sample consists of a Windows Forms target and a Windows Presentation Foundation (WPF) client. The client uses the SelectionPattern and SelectionItemPattern control patterns to interact with the collection of controls in the target. The functionality demonstrated by the sample includes the dynamic construction of selection controls in the client that map to the controls found in the target, a report of important properties for each selection control, and the ability to echo selection events from the target in the client and vice versa.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.
Expand Down
11 changes: 10 additions & 1 deletion Accessibility/WindowMove/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "WindowPattern Sample"
---

# WindowPattern Sample
This sample demonstrates how to use the WindowPattern control pattern to control the screen location of a top-level window as well as register and listen for standard window events.

This sample defines two applications; an instance of Notepad used as a UI Automation provider, or target application, and a UI Automation client that operates against this target application.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


11 changes: 10 additions & 1 deletion Animation/AnimationExamples/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Animation Example Gallery"
---

# Animation Example Gallery
This sample shows how to animate a variety of objects, include text, 2-D transforms, and 3-D transforms. It also demonstrates splined interpolation, path animations, and custom animations.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


11 changes: 10 additions & 1 deletion Animation/AnimationTiming/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Animation Timing Behavior Sample"
---

# Animation Timing Behavior Sample
This sample shows how to specify when an animation starts, how many times it repeats, whether it accelerates or decelerates, and other timing behaviors.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


12 changes: 11 additions & 1 deletion Animation/CustomAnimation/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Custom Animation Sample"
description: "This sample shows how to create custom animations that simulate bouncing and other interesting effects."
---

# Custom Animation Sample
This sample shows how to create custom animations that simulate bouncing and other interesting effects.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


12 changes: 11 additions & 1 deletion Animation/KeyFrameAnimation/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Key Frame Animation Sample"
description: "This sample shows how to use key frame animations to animate along a set of target values."
---

# Key Frame Animation Sample
This sample shows how to use key frame animations to animate along a set of target values.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


12 changes: 11 additions & 1 deletion Animation/KeySplineAnimations/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Key Spline Animation Sample"
description: "This sample enables you to interactively adjust the key spline of a DoubleAnimationUsingKeyFrames."
---

# Key Spline Animation Sample
This sample enables you to interactively adjust the key spline of a DoubleAnimationUsingKeyFrames.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


11 changes: 10 additions & 1 deletion Animation/LocalAnimations/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Local Animations Sample"
---

# Local Animations Sample
This sample shows how to use local, or non-storyboard, animations. Non-storyboard animations are only available in code. To create an animation in Extensible Application Markup Language (XAML), use a storyboard. For an example that shows how to use storyboards to animate properties, see the Property Animation Sample.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


12 changes: 11 additions & 1 deletion Animation/OpacityAnimation/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
---
languages:
- csharp
products:
- windows-wpf
page_type: sample
name: "Animating the Opacity of an Element Sample"
description: "This sample shows how to animate the Opacity of an element."
---

# Animating the Opacity of an Element Sample
This sample shows how to animate the Opacity of an element.

## Build the sample
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2015](https://www.visualstudio.com/wpf-vs).
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in [Visual Studio 2019](https://www.visualstudio.com/wpf-vs).

### Deploying the sample
- Select Build > Deploy Solution.

### Deploying and running the sample
- To debug the sample and then run it, press F5 or select Debug > Start Debugging. To run the sample without debugging, press Ctrl+F5 or selectDebug > Start Without Debugging.


Loading

0 comments on commit 2b68b52

Please sign in to comment.