Skip to content

Commit a4ec2ac

Browse files
niels9001Arlodotexemichael-hawker
authored
Icon updates and md cleanup (#158)
* First pass * Fix xaml * Adding more icons * XAML styler * More icons * Adding shadow icon * Minor sample tweak * Update tooling * Revert "Update tooling" This reverts commit e653319. * Update tooling --------- Co-authored-by: Arlo <arlo.godfrey@outlook.com> Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
1 parent 46dc19b commit a4ec2ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+125
-332
lines changed
-545 Bytes
Loading
87 Bytes
Loading
Loading

components/Behaviors/samples/Headers/HeaderBehaviors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ category: Xaml
99
subcategory: Behaviors
1010
discussion-id: 0
1111
issue-id: 0
12-
icon: Assets/Behaviors.png
12+
icon: Assets/HeaderBehaviors.png
1313
---
1414

1515
The `FadeHeaderBehavior`, `QuickReturnHeaderBehavior`, and `StickyHeaderBehavior` most commonly apply behaviors to `ListView`, `GridView`, `HeaderedItemsControl`, and `HeaderedTreeView` elements in their `Header`. It can also be applied to any element contained at the top of a `ScrollViewer`.

components/CameraPreview/samples/CameraPreview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ icon: Assets/CameraPreview.png
2020
## Syntax
2121

2222
```xaml
23-
<controls:CameraPreview x:Name="CameraPreviewControl">
24-
</controls:CameraPreview>
23+
<controls:CameraPreview x:Name="CameraPreviewControl"/>
2524
```
2625

2726
```csharp

components/CameraPreview/samples/CameraPreviewSample.xaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="CameraPreviewExperiment.Samples.CameraPreviewSample"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -12,6 +12,9 @@
1212
<StackPanel HorizontalAlignment="Center"
1313
Orientation="Vertical"
1414
Spacing="12">
15+
<Button HorizontalAlignment="Center"
16+
Click="CaptureButton_Click"
17+
Content="Capture" />
1518
<controls:CameraPreview x:Name="CameraPreviewControl"
1619
Height="320"
1720
IsFrameSourceGroupButtonVisible="{x:Bind ShowCamera, Mode=OneWay}" />
@@ -20,10 +23,8 @@
2023
IsOpen="False"
2124
Severity="Error" />
2225
<Image x:Name="CurrentFrameImage"
23-
Height="240"
26+
Height="120"
2427
HorizontalAlignment="Center" />
25-
<Button HorizontalAlignment="Center"
26-
Click="CaptureButton_Click"
27-
Content="Capture" />
28+
2829
</StackPanel>
2930
</Page>
Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Array Extensions
33
author: michael-hawker
4-
description: Learn about array extension methods from the community toolkit. See code examples and view requirements.
5-
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, Extensions, array
4+
description: Provides a few helpers for dealing with multidimensional and jagged arrays. Also, provides string helpers for debug output.
5+
keywords: Extensions, array
66
dev_langs:
77
- csharp
88
category: Extensions
@@ -20,7 +20,7 @@ Provides a few helpers for dealing with multidimensional and jagged arrays. Also
2020
## Syntax
2121

2222
```csharp
23-
using Microsoft.Toolkit.Extensions;
23+
using CommunityToolkit.WinUI.Extensions;
2424

2525
bool[,] inside = new bool[4, 5];
2626

@@ -37,25 +37,3 @@ Output:
3737
[False, False, False, False, False]]
3838
*/
3939
```
40-
41-
## Methods
42-
43-
| Methods | Return Type | Description |
44-
| -- | -- | -- |
45-
| Fill | void | Fills elements of a rectangular array at the given position and size to a specific value. |
46-
| GetRow | IEnumerable | Yields a row from a rectangular array. |
47-
| GetColumn | IEnumerable | Yields a column from a rectangular or jagged array. |
48-
| ToArrayString | string | Returns a simple string representation of an array. |
49-
50-
## Requirements (Windows 10 Device Family)
51-
52-
| [Device family](/windows/uwp/get-started/universal-application-platform-guide) | Universal, 10.0.16299.0 or higher |
53-
| --- | --- |
54-
| Namespace | Microsoft.Toolkit |
55-
| NuGet package | [Microsoft.Toolkit](https://www.nuget.org/packages/Microsoft.Toolkit/) |
56-
57-
The Array Extensions supports .NET Standard
58-
59-
## API
60-
61-
* [ArrayExtensions source code](https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/rel/7.1.0/Microsoft.Toolkit/Extensions/ArrayExtensions.cs)
Binary file not shown.
Loading
Loading

0 commit comments

Comments
 (0)