Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few typos #701

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Nuget-Packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NuGet is a standard package manager for .Net applications that is built into Vis
| Microsoft.Toolkit.Uwp.UI.Controls.Layout | Controls for various application layout scenarios. |
| Microsoft.Toolkit.Uwp.UI.Controls.Markdown | Markdown renderer control. |
| Microsoft.Toolkit.Uwp.UI.Controls.Media | Controls that depend on Win2D. |
| Microsoft.Toolkit.Uwp.UI.Controls.Primitives | Panels and simple layout controls without stlyes |
| Microsoft.Toolkit.Uwp.UI.Controls.Primitives | Panels and simple layout controls without styles |
| Microsoft.Toolkit.Uwp.UI.Lottie | Library for rendering Adobe AfterEffects animations natively in Windows apps |
| Microsoft.Toolkit.Uwp.UI.Media | Brushes, Win2D/Composition effects, and helpers to create visual effects |
| Microsoft.Toolkit.Uwp.Connectivity | API helpers such as BluetoothLEHelper and Networking |
Expand Down
4 changes: 2 additions & 2 deletions docs/animations/Blur.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Await MyUIElement.Blur(value:=5, duration:=2500, delay:=250).StartAsync() ' B

| Methods | Return Type | Description |
| -- | -- | -- |
| Blur(AnimationSet, Double, Double, Double) | AnimationSet | Animates the gaussian blur of the the UIElement |
| Blur(FrameworkElement, Double, Double, Double) | AnimationSet | Animates the gaussian blur of the the UIElement |
| Blur(AnimationSet, Double, Double, Double) | AnimationSet | Animates the gaussian blur of the UIElement |
| Blur(FrameworkElement, Double, Double, Double) | AnimationSet | Animates the gaussian blur of the UIElement |

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/animations/CompositionAnimations.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Let's create some plain animation first. Theses animation will run when the `Tar
<animations:Vector3Animation Target="CenterPoint" Duration="0:0:1" From="0, 0, 0" To="50, 50, 50"/>
```

- Creating a animation that takes final value as `To` value. If you didn't set From/To value or any KeyFrames then in this case, an ExpressionKeyFrame will be added of `Value="this.FinalValue"`.
- Creating an animation that takes final value as `To` value. If you didn't set From/To value or any KeyFrames then in this case, an ExpressionKeyFrame will be added of `Value="this.FinalValue"`.

```xaml
<animations:OffsetAnimations Duration="0:0:1"/>
Expand Down
4 changes: 2 additions & 2 deletions docs/animations/Fade.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ You can change the way how the animation interpolates between keyframes by defin

| Methods | Return Type | Description |
| -- | -- | -- |
| Fade(AnimationSet, Single, Double, Double, EasingType) | AnimationSet | Animates the opacity of the the UIElement |
| Fade(UIElement, Single, Double, Double, EasingType) | AnimationSet | Animates the opacity of the the UIElement |
| Fade(AnimationSet, Single, Double, Double, EasingType) | AnimationSet | Animates the opacity of the UIElement |
| Fade(UIElement, Single, Double, Double, EasingType) | AnimationSet | Animates the opacity of the UIElement |

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/animations/Offset.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ You can change the way how the animation interpolates between keyframes by defin

| Methods | Return Type | Description |
| -- | -- | -- |
| Offset(AnimationSet, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the offset of the the UIElement |
| Offset(UIElement, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the offset of the the UIElement |
| Offset(AnimationSet, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the offset of the UIElement |
| Offset(UIElement, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the offset of the UIElement |

## Examples

Expand Down
4 changes: 2 additions & 2 deletions docs/animations/Scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ You can change the way how the animation interpolates between keyframes by defin

| Methods | Return Type | Description |
| -- | -- | -- |
| Scale(AnimationSet, Single, Single, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the scale of the the specified UIElement |
| Scale(UIElement, Single, Single, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the scale of the the specified UIElement |
| Scale(AnimationSet, Single, Single, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the scale of the specified UIElement |
| Scale(UIElement, Single, Single, Single, Single, Double, Double, EasingType) | AnimationSet | Animates the scale of the specified UIElement |

## Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/animations/lottie-scenarios/fallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ In the example below, we use an Image as fallback for the Lottie animation:
<!-- LottieVisualSource with invalid UriSource to cause fallback -->
<lottie:LottieVisualSource x:Name="JsonSource "
UriSource="https://notarealuri.microsoft.com/notarealfile.json" />
<!-- Fallback Content: Custom XAML content that is rendered if Source fails to load, or if app runs on Windows 10 verion < 1809. -->
<!-- Fallback Content: Custom XAML content that is rendered if Source fails to load, or if app runs on Windows 10 version < 1809. -->
<controls:AnimatedVisualPlayer.FallbackContent>
<DataTemplate>
<!-- Static Image for Fallback.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ This should result in a looping Lottie animation that is visually identical to o
* The resulting page in the [Lottie Samples application](https://aka.ms/lottiesamples)
* [LottieGen](https://aka.ms/lottiegen) CLI tool
* [Lottie Viewer](https://aka.ms/lottieviewer) application for codegen and previewing JSON files
* A comparison of [JSON verus Codegen](./json_codegen.md)
* A comparison of [JSON versus Codegen](./json_codegen.md)
* [Help + feedback](https://github.com/windows-toolkit/Lottie-Windows/issues)
2 changes: 1 addition & 1 deletion docs/archive/Bing.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ListView.ItemsSource = Await BingService.Instance.RequestAsync(searchConfig, 50)

## BingResult Class

**BingResult** is a implementation of the Bing result class.
**BingResult** is an implementation of the Bing result class.

### Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/controls/Carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The `Carousel` control works fine with mouse, touch, mouse and keyboard as well.
| Property | Type | Description |
| -- | -- | -- |
| EasingFunction | EasingFunctionBase | Gets or sets easing function to apply for each Transition |
| InvertPositive | bool | Gets or sets a value indicating whether the items rendered transformations should be opposite compared to the selected item If false, all the items (except the selected item) will have the exact same transformations If true, all the items where index > selected index will have an opposite tranformation (Rotation X Y and Z will be multiply by -1) |
| InvertPositive | bool | Gets or sets a value indicating whether the items rendered transformations should be opposite compared to the selected item If false, all the items (except the selected item) will have the exact same transformations If true, all the items where index > selected index will have an opposite transformation (Rotation X Y and Z will be multiply by -1) |
| ItemDepth | int | Gets or sets depth of non Selected Index Items |
| ItemMargin | int | Gets or sets the item margin |
| ItemRotationX | double | Gets or sets rotation angle on X |
Expand Down
4 changes: 2 additions & 2 deletions docs/controls/MasterDetailsView.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ The [ListDetailsView](/dotnet/api/microsoft.toolkit.uwp.ui.controls.listdetailsv

## Multi Screen Devices

This control is spanning-aware and adapts it self for multi screen devices.
This control is spanning-aware and adapts itself for multi screen devices.
For this internally the [Two-pane view](/windows/uwp/design/controls-and-patterns/two-pane-view) is used.

## BackButtonBehavior

When in compact mode, the `ListDetailsView` will either show the List or the Details view, not both. If an item is selected, the control will *navigate* forward to the Details view. If the CurrentItem is set to `null`, the control will navigate *back* to the List view.

If there is a Frame in the parent visual tree, the ListDetailsView control will use the Frame navigation events to transition from the Details view to the List view. If the host Frame is attempting back navigation while the Details view state is active, the ListDetailsView will transition to the the List view and cancel the back navigation.
If there is a Frame in the parent visual tree, the ListDetailsView control will use the Frame navigation events to transition from the Details view to the List view. If the host Frame is attempting back navigation while the Details view state is active, the ListDetailsView will transition to the List view and cancel the back navigation.

To help with back navigation, The ListDetailsView can handle back button visibility of the SystemNavigationManager back button, a parent NavigationView back button, or an inline back button. Use the `BackButtonBehavior` property to control the behavior:

Expand Down
2 changes: 1 addition & 1 deletion docs/controls/OrbitView.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The [OrbitView](/dotnet/api/microsoft.toolkit.uwp.ui.controls.orbitview) control

| Property | Type | Description |
| -- | -- | -- |
| Diameter | double | Gets or sets a value indicating the diameter of the item. Expected value betweeen 0 and 1 |
| Diameter | double | Gets or sets a value indicating the diameter of the item. Expected value between 0 and 1 |
| Distance | double | Gets or sets a value indicating the distance from the center. Expected value betweeen 0 and 1 |
| Image | ImageSource | Gets or sets a value indicating the image of the item |
| Item | object | Gets or sets a value of an object that can be used to store model data |
Expand Down
2 changes: 1 addition & 1 deletion docs/controls/datagrid_guidance/group_sort_filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ The following walk-through shows how to implement sorting in the DataGrid contro
3. Set the SortDirection property to the appropriate value for showing the built-in ascending sort icon in column header

```csharp
//Show the ascending icon when acending sort is done
//Show the ascending icon when ascending sort is done
e.Column.SortDirection = DataGridSortDirection.Ascending;

//Show the descending icon when descending sort is done
Expand Down
2 changes: 1 addition & 1 deletion docs/controls/wpf-winforms/WebView.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ You can use the [InvokeScriptAsync](/uwp/api/windows.web.ui.interop.webviewcontr

The **WebView** control has several APIs for basic navigation: [GoBack](/uwp/api/windows.web.ui.interop.webviewcontrol.goback), [GoForward](/uwp/api/windows.web.ui.interop.webviewcontrol.goforward), [Stop](/uwp/api/windows.web.ui.interop.webviewcontrol.stop), [Refresh](/uwp/api/windows.web.ui.interop.webviewcontrol.refresh), [CanGoBack](/uwp/api/windows.web.ui.interop.webviewcontrol.cangoback), and [CanGoForward](/uwp/api/windows.web.ui.interop.webviewcontrol.cangoforward). You can use these to add typical web browsing capabilities to your app.

To set the initial content of the the **WebView** control, you can set the [Source](/uwp/api/windows.web.ui.interop.webviewcontrol.source) property in code, XAML, or in the **Properties** window. You can also use the **Navigate** methods to load content in code. Here's an example.
To set the initial content of the **WebView** control, you can set the [Source](/uwp/api/windows.web.ui.interop.webviewcontrol.source) property in code, XAML, or in the **Properties** window. You can also use the **Navigate** methods to load content in code. Here's an example.

```csharp
private void WebView_Loaded(object sender, RoutedEventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions docs/extensions/ListViewExtensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ Await MyGridView.SmoothScrollIntoViewWithItemAsync(item:=Object, itemPlacement:=

| Properties | Type | Description |
|------------|------|-------------|
| intex | int | Intex of the item to be scrolled. Index can be negative |
| item | int | Intex of the item to be scrolled |
| index | int | Index of the item to be scrolled. Index can be negative |
| item | int | Index of the item to be scrolled |
| itemPosition | ScrollItemPlacement | Specify the position of the Item after scrolling |
| disableAnimation | bool | To disable the scrolling animation |
| scrollIfVisibile | bool | Set `true` to scroll even if the scroll to item is visible so that the item will be aligned depend upon `itemPosition` |
Expand Down
4 changes: 2 additions & 2 deletions docs/extensions/ScrollViewerExtensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ public class DoubleTopThicknessConverter : IValueConverter
Here is how this property can be used in XAML:

```xaml
<!-- Setting MiddleClickScrolling directely for ScrollViewer -->
<!-- Setting MiddleClickScrolling directly for ScrollViewer -->
<ScrollViewer
xmlns:ui="using:Microsoft.Toolkit.Uwp.UI"
ui:ScrollViewerExtensions.EnableMiddleClickScrolling="True">
<!-- ScrollViewer items -->
</ScrollViewer>

<!-- Setting MiddleClickScrolling fot the ancestor of ScrollViewer -->
<!-- Setting MiddleClickScrolling for the ancestor of ScrollViewer -->
<ListView
xmlns:ui="using:Microsoft.Toolkit.Uwp.UI"
ui:ScrollViewerExtensions.EnableMiddleClickScrolling="True">
Expand Down
2 changes: 1 addition & 1 deletion docs/extensions/TextBoxRegex.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The validation has 3 modes (`ValidationMode`):

1) Normal (Default) : This type will set TextBox IsValid attached property to false or true whether the TextBox text is a valid or not against the Regex property.
2) Forced : This type sets the IsValid property and remove the TextBox text if not valid when the TextBox lose focus.
3) Dynamic : This type extends 1) Normal and if is the newest input of the Textbox is invalid, the character which is invalied will be deleted. Note that ValidationType Email and Phone Number not support the ValidationMode Dynamic. If you set the ValidationMode to Dynamic, the ValidationMode Normal is selected automatically.
3) Dynamic : This type extends 1) Normal and if is the newest input of the Textbox is invalid, the character which is invalid will be deleted. Note that ValidationType Email and Phone Number not support the ValidationMode Dynamic. If you set the ValidationMode to Dynamic, the ValidationMode Normal is selected automatically.

> [!div class="nextstepaction"]
> [Try it in the sample app](uwpct://Extensions?sample=TextBoxRegex)
Expand Down
2 changes: 1 addition & 1 deletion docs/gaze/GazeInteractionLibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ The code below sets the Dwell time duration for the button to be 500ms. This mea

### Animations

This library provides a default animation of a shriniking rectangle over the control to indicate progress towards a dwell event. The style of animation can be customized in two ways:
This library provides a default animation of a shrinking rectangle over the control to indicate progress towards a dwell event. The style of animation can be customized in two ways:

* If you wish to retain the animation style, but change the colors used:
* Set the `GazeInput.DwellFeedbackEnterBrush` property to add a rectangle over controls immediately gaze is detected on them
Expand Down
2 changes: 1 addition & 1 deletion docs/graph/controls/GraphPresenter.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dev_langs:

# (Experimental) GraphPresenter XAML Control

The GraphPresenter is a flexible XAML control for visualizing Graph API data. Provide an `IBaseRequestBuilder` implementation and the GraphPresenter will automatically fetch the data from the proper Graph endpoint, ready for visualization. Because every Graph entity is different, this control has no default UI of it's own. It is up to the developer to decide how the data should be presented by setting the control's `ContentTemplate`. This control is great for prototyping and experimentation purposes, but we suggest creating your own user controls for production scenarios.
The GraphPresenter is a flexible XAML control for visualizing Graph API data. Provide an `IBaseRequestBuilder` implementation and the GraphPresenter will automatically fetch the data from the proper Graph endpoint, ready for visualization. Because every Graph entity is different, this control has no default UI of its own. It is up to the developer to decide how the data should be presented by setting the control's `ContentTemplate`. This control is great for prototyping and experimentation purposes, but we suggest creating your own user controls for production scenarios.

Available in the `CommunityToolkit.Graph.Uwp` package.

Expand Down
2 changes: 1 addition & 1 deletion docs/helpers/Converters.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ and using it like that :
<Border Background="{x:Bind Path=MyBoolValue, Converter={StaticResource BoolToBrushConverter}}" />
```

An other example is to switch between two images by specifying their source :
Another example is to switch between two images by specifying their source :

```xaml
<Page.Resources>
Expand Down
4 changes: 2 additions & 2 deletions docs/parsers/Win2D_Path_Mini_Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Specifies the behavior for pixels which fall outside of the gradient's typical r
| ------ | ----- | ----------------------------------------------------------- |
| Clamp | 0 | Repeat the edge pixels of the brush's content. |
| Wrap | 1 | Tile the brush's content. |
| Mirror | 2 | Tile the the brush's content, and flip each alternate tile. |
| Mirror | 2 | Tile the brush's content, and flip each alternate tile. |

#### Pre Interpolation Color Space

Expand Down Expand Up @@ -761,7 +761,7 @@ Describes how the world transforms, dots per inch (DPI), and stroke width affect
| -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------- |
| Normal | 0 | The stroke respects the width. currently set world transform, the DPI, and the stroke |
| Fixed | 1 | The stroke does not respect the world transform but it does respect the DPI and stroke width. |
| Hairline | 2 | The stroke is forced to 1 pixel wide (in device space) and does not respect theworld transform, the DPI, or the stroke width. |
| Hairline | 2 | The stroke is forced to 1 pixel wide (in device space) and does not respect the world transform, the DPI, or the stroke width. |

#### Custom Dash Style

Expand Down