Skip to content

Commit

Permalink
docs: Add missing namespaces definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jul 10, 2023
1 parent 50c8f18 commit 72a2b64
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/helpers/FlipView-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The `Next` and `Previous` properties will provide an easy hook to allow other co
## Usage

```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
...

Expand Down
4 changes: 4 additions & 0 deletions doc/helpers/Input-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ AutoFocusNext and AutoFocusNextElement\*: Having either or both of the two prope

## Usage
```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
...

<!-- The focus will move in this order when pressing enter repeatedly: 1-2-4-3 -->
<TextBox x:Name="Input1" utu:InputExtensions.AutoFocusNext="True" />
<TextBox x:Name="Input2" utu:InputExtensions.AutoFocusNextElement="{Binding ElementName=Input4}" />
Expand Down
1 change: 1 addition & 0 deletions doc/helpers/Selector-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ When the `SelectorExtensions.PipsPager` is set, the control will take care of up

## Usage
```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
...
Expand Down
1 change: 1 addition & 0 deletions doc/helpers/TabBarItem-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ OnClickBehaviorsTarget\*: The content host which the on-click behavior is applie

## Usage
```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
...

Expand Down
1 change: 1 addition & 0 deletions doc/helpers/ancestor-itemscontrol-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Path|string|Binding path from the ancestor.

### Usage
```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
...
<ListView ItemsSource="{Binding Items}">
Expand Down
4 changes: 4 additions & 0 deletions doc/helpers/control-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Command on `ListView`\*: [`IsItemClickEnabled`](https://docs.microsoft.com/en-us

## Usage
```xml
<!-- Include the following XAML namespace to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
...

<!-- Execute command on enter -->
<PasswordBox utu:CommandExtensions.Command="{Binding Login}" />

Expand Down
1 change: 1 addition & 0 deletions doc/helpers/itemsrepeater-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ SelectionMode|ItemsSelectionMode|Gets or sets the selection behavior: `None`, `S

## Usage
```xml
<!-- Include the following XAML namespaces to use the samples below -->
xmlns:utu="using:Uno.Toolkit.UI"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
...
Expand Down

0 comments on commit 72a2b64

Please sign in to comment.