Skip to content

Commit 9982c42

Browse files
authored
Removing properties / methods (#147)
1 parent 0172c7c commit 9982c42

File tree

13 files changed

+0
-210
lines changed

13 files changed

+0
-210
lines changed

components/CameraPreview/samples/CameraPreview.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,9 @@ private void CameraPreviewControl_PreviewFailed(object sender, PreviewFailedEven
4343
}
4444
```
4545

46-
4746
> [!IMPORTANT]
4847
> As a developer, you will need to make sure the CameraHelper resources used by the control are cleaned up when appropriate. See [CameraHelper documentation](../helpers/CameraHelper.md) for more details
4948
50-
## Properties
51-
52-
| Property | Type | Description |
53-
| -- | -- | -- |
54-
| CameraHelper| [CameraHelper](../helpers/CameraHelper.md) | Gets the CameraHelper associated with the control. |
55-
| IsFrameSourceGroupButtonVisible | bool| Set this property to hide or show Frame Source Group Button. Note: This button is conditionally visible based on more than one source being available. |
56-
57-
```xaml
58-
<controls:CameraPreview x:Name="CameraPreviewControl" IsFrameSourceGroupButtonVisible="false"
59-
</controls:CameraPreview>
60-
```
61-
62-
## Methods
63-
64-
| Methods | Return Type | Description |
65-
| -- | -- | -- |
66-
| StartAsync() | Task | Initializes camera preview control with a default Camera Helper instance and starts preview and frame capture. |
67-
| StartAsync(CameraHelper cameraHelper) | Task | Initializes camera preview control with provided Camera Helper instance. |
68-
| Stop() | void | Stops camera preview and disposes MediaPlayer. |
69-
70-
## Events
71-
72-
| Events | Description |
73-
| -- | -- |
74-
| PreviewFailed | Fires when camera preview fails. You can get the error reason from the PreviewFailedEventArgs.|
7549

7650
## Examples
7751

components/DeveloperTools/samples/DeveloperTools.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ You can control the grid's steps with `HorizontalStep` and `VerticalStep` proper
2020

2121
> [!Sample AlignmentGridSample]
2222
23-
### Properties
24-
25-
| Property | Type | Description |
26-
| -- | -- | -- |
27-
| HorizontalStep | double | Gets or sets the step to use horizontally |
28-
| LineBrush | Brush | Gets or sets line Brush |
29-
| VerticalStep | double | Gets or sets the step to use vertically |
30-
31-
3223
## FocusTracker
3324

3425
The [FocusTracker Control](/dotnet/api/microsoft.toolkit.uwp.developertools.focustracker) can be used to display information about the current focused XAML element (if any).

components/Helpers/samples/CameraHelper.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,6 @@ Likewise, make sure to handle app [suspending](/windows/uwp/launch-resume/suspen
5959

6060
Call `CameraHelper.CleanupAsync()` to clean up all internal resources. See the [CameraHelper sample page in the sample app](https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/rel/7.1.0/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/CameraHelper) for full example.
6161

62-
## Properties
63-
64-
| Property | Type | Description |
65-
| -- | -- | -- |
66-
| FrameSourceGroup | MediaFrameSourceGroup | Gets the currently selected MediaFrameSourceGroup for video preview. User can set this property to preview video from a specific source. If no MediaFrameSourceGroup is provided, Camera Helper selects the first available camera source to use for media capture. |
67-
| PreviewFrameSource | MediaFrameSource | Gets the currently selected MediaFrameSource for video preview. |
68-
69-
## Methods
70-
71-
| Methods | Return Type | Description |
72-
| -- | -- | -- |
73-
| GetFrameSourceGroupsAsync() | Task<IReadOnlyList\<MediaFrameSourceGroup>> | Gets a read only list of MediaFrameSourceGroups that support color video record or video preview streams. |
74-
| InitializeAndStartCaptureAsync() | Task\<CameraHelperResult> | Initializes Media Capture and Frame Reader for video preview and capture frames in real time. |
75-
| CleanUpAsync() | Task | Use this asynchronous method to dispose Camera Helper resources |
76-
| Dispose() | void | Use this method to dispose Camera Helper resources |
77-
78-
## Events
79-
80-
| Events | Description |
81-
| -- | -- |
82-
| FrameArrived| Fires when a new frame arrives.|
83-
8462
## Examples
8563

8664
Demonstrates using Camera Helper to get video frames from a specific media frame source group.

components/Helpers/samples/NetworkHelper.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,38 +18,3 @@ It exposes network information though a property called ConnectionInformation. T
1818
A metered connection is an Internet connection that has a data limit or cost associated with it. Cellular data connections are set as metered by default. Wi-Fi network connections can be set to metered, but aren't by default. Application developers should take metered nature of connection into account and reduce data usage.
1919

2020
> [!Sample NetworkHelperSample]
21-
22-
23-
## NetworkHelper Properties
24-
25-
| Property | Type | Description |
26-
| -- | -- | -- |
27-
| ConnectionInformation | [ConnectionInformation](/dotnet/api/microsoft.toolkit.uwp.connectivity.connectioninformation) | Gets instance of ConnectionInformation |
28-
| Instance | NetworkHelper | Gets public singleton property |
29-
30-
31-
## ConnectionInformation Properties
32-
33-
| Property | Type | Description |
34-
| -- | -- | -- |
35-
| ConnectionCost | [ConnectionCost](/uwp/api/Windows.Networking.Connectivity.ConnectionCost) | Gets connection cost for the current Internet Connection Profile |
36-
| ConnectionType | [ConnectionType](/dotnet/api/microsoft.toolkit.uwp.connectivity.connectiontype) | Gets connection type for the current Internet Connection Profile |
37-
| ConnectivityLevel | [NetworkConnectivityLevel](/uwp/api/Windows.Networking.Connectivity.NetworkConnectivityLevel) | Gets connectivity level for the current Internet Connection Profile |
38-
| IsInternetAvailable | bool | Gets a value indicating whether internet is available across all connections |
39-
| IsInternetOnMeteredConnection | bool | Gets a value indicating whether if the current internet connection is metered |
40-
| NetworkNames | IReadOnlyList\<string> | Gets signal strength for the current Internet Connection Profile |
41-
| SignalStrength | Nullable\<Byte> | Gets signal strength for the current Internet Connection Profile |
42-
43-
44-
## ConnectionInformation Methods
45-
46-
| Methods | Return Type | Description |
47-
| -- | -- | -- |
48-
| UpdateConnectionInformation(ConnectionProfile) | void | Updates the current object based on profile passed |
49-
50-
51-
## NetworkHelper Events
52-
53-
| Events | Description |
54-
| -- | -- |
55-
| NetworkChanged | Event raised when the network changes |

components/Helpers/samples/ThemeListener.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,3 @@ icon: Assets/ThemeListener.png
1515
KNOWN ISSUE: `ThemeListener` might not work in WinUI3 applications.
1616

1717
> [!Sample ThemeListenerSample]
18-
19-
## Properties
20-
21-
| Property | Type | Description |
22-
| -- | -- | -- |
23-
| CurrentTheme | [ApplicationTheme](/uwp/api/Windows.UI.Xaml.ApplicationTheme) | Gets or sets the Current Theme. |
24-
| CurrentThemeName | string | Gets the Name of the Current Theme. |
25-
| IsHighContrast | bool | Gets or sets a value indicating whether the current theme is high contrast. |
26-
27-
28-
## Events
29-
30-
| Events | Description |
31-
| -- | -- |
32-
| ThemeChanged | An event that fires if the Theme changes. |

components/Helpers/samples/WeakEventListener.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,3 @@ var weakPropertyChangedListener = new WeakEventListener<DataGrid, object, Proper
2121
}
2222
inpc.PropertyChanged += weakPropertyChangedListener.OnEvent;
2323
```
24-
25-
26-
## Properties
27-
28-
| Property | Type | Description |
29-
| -- | -- | -- |
30-
| OnDetachAction | WeakEventListener<TInstance,TSource,TEventArgs>> | Gets or sets the method to call when detaching from the event |
31-
| OnEventAction | Action<TInstance,TSource,TEventArgs> | Gets or sets the method to call when the event fires |
32-
33-
## Methods
34-
35-
| Methods | Return Type | Description |
36-
| -- | -- | -- |
37-
| Detach() | void | Detaches from the subscribed event |
38-
| OnEvent(TSource, TEventArgs) | void | Handler for the subscribed event calls OnEventAction to handle it |

components/LayoutTransformControl/samples/LayoutTransformControl.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,3 @@ The transformations that can be applied are one of the following:
4545
</Border>
4646
</controls:LayoutTransformControl>
4747
```
48-
49-
## Properties
50-
51-
| Property | Type | Description |
52-
| -- | -- | -- |
53-
| Child | FrameworkElement | The content of the control that will receive matrix transformations |
54-
| Transform | Transform | The transformations to apply on the `Content`. It can be a single transformation like `RotateTransform`, `ScaleTransform` or `SkewTransform` or it can be a combo of multiple transformations using `TransformGroup` |

components/MetadataControl/samples/MetadataControl.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,3 @@ metadataControl.Items = new[]
4646
## MetadataItem
4747

4848
A `MetadataItem` contains the information about one entry which will be displayed in the `MetadataControl`
49-
50-
| Property | Type | Description |
51-
| -- | -- | -- |
52-
| Label | String | Gets or sets the label of the item |
53-
| AccessibleLabel | String | Gets or sets the automation name that will be set on the item. If not set, `Label` will be used. |
54-
| Command | ICommand | Gets or sets the command associated to the item. If null, the item will be displayed as a text field. If set, the item will be displayed as an hyperlink. |
55-
| CommandParameter | Object | Gets or sets the parameter that will be provided to the `Command`|

components/Primitives/samples/DockPanel.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,3 @@ You can set DockPanel LastChildFill property to true if you want the last item a
3030
<StackPanel Width="100" controls:DockPanel.Dock="Right" Background="Blue"></StackPanel>
3131
</controls:DockPanel>
3232
```
33-
34-
## Properties
35-
36-
| Property | Type | Description |
37-
| -- | -- | -- |
38-
| LastChildFill | bool | Gets or sets a value indicating whether the last child element within a DockPanel stretches to fill the remaining available space |
39-
| Padding | Thickness | The dimensions of the space between the edge and its child as a Thickness value. Thickness is a structure that stores dimension values using pixel measures. |

components/Primitives/samples/UniformGrid.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,3 @@ In addition to `FlowDirection` to layout items from Right-to-Left. The UWP Unif
133133

134134
> [!NOTE]
135135
> Changing the `FlowDirection` or `Orientation` properties effect how `FirstColumn` is interpreted. `FlowDirection` will effectively mirror the layout on the vertical axis. `Orientation` instead acts more like a transpose and will push items in the first column down.
136-
137-
## Properties
138-
139-
| Property | Type | Description |
140-
| -- | -- | -- |
141-
| Columns | int | Specifies a fixed number of columns to use for layout. Defaults to `0` which will automatically calculate a value based on the number of items. |
142-
| FirstColumn | int | Specifies the first column from the top-left (during normal layout) to display the first item. Defaults to `0`.
143-
| Orientation | Windows.UI.Xaml.Controls.Orientation | Determines if layout proceeds horizontally from left-to-right or vertically from top-to-bottom. The default is `Horizontal`. |
144-
| Rows | int | Specifies a fixed number of rows to use for layout. Defaults to `0` which will automatically calculate a value based on the number of items. |
145-
146-
## Attached Properties
147-
148-
| Property | Type | Description |
149-
| -- | -- | -- |
150-
| AutoLayout | bool? | **DO NOT USE** - Internal property used to keep track of items that are fixed in position or need to automatically adjusted during layout. *Only set to `False` for the top-left edge case scenario described above for fixed child locations.* |

0 commit comments

Comments
 (0)