Merge branch 'master' into CakeIsALie

This commit is contained in:
William Bradley 2017-09-12 11:08:41 +12:00
Родитель 2ea7aeea45 3be5e35847
Коммит dd16a3b022
56 изменённых файлов: 414 добавлений и 234 удалений

Просмотреть файл

@ -30,7 +30,6 @@ namespace Microsoft.Toolkit.Services
/// </summary>
public DataProviderBase()
{
}
/// <summary>
@ -79,7 +78,7 @@ namespace Microsoft.Toolkit.Services
get { return httpClient ?? (httpClient = new HttpClient()); }
set { httpClient = value; }
}
/// <summary>
/// Derived classes will have to implement this method to return provider data
/// </summary>

Просмотреть файл

@ -53,7 +53,7 @@ namespace Microsoft.Toolkit.Services.Bing
/// Gets public singleton property.
/// </summary>
public static BingService Instance => instance ?? (instance = new BingService());
/// <summary>
/// Gets a reference to an instance of the underlying data provider.
/// </summary>

Просмотреть файл

@ -20,7 +20,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
/// <summary>
/// AlignmentGrid is used to display a grid to help aligning controls
/// </summary>
public class AlignmentGrid: ContentControl
public class AlignmentGrid : ContentControl
{
/// <summary>
/// Identifies the <see cref="LineBrush"/> dependency property.
@ -73,7 +73,6 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
set { SetValue(VerticalStepProperty, value); }
}
/// <summary>
/// Initializes a new instance of the <see cref="AlignmentGrid"/> class.
/// </summary>

Просмотреть файл

@ -32,7 +32,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
[TemplatePart(Name = "ControlType", Type = typeof(TextBlock))]
[TemplatePart(Name = "ControlAutomationName", Type = typeof(TextBlock))]
[TemplatePart(Name = "ControlFirstParentWithName", Type = typeof(TextBlock))]
public class FocusTracker: Control
public class FocusTracker : Control
{
/// <summary>
/// Defines the <see cref="IsActive"/> dependency property.
@ -43,7 +43,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
{
var focusTracker = d as FocusTracker;
if (e.NewValue != null && (bool) e.NewValue)
if (e.NewValue != null && (bool)e.NewValue)
{
focusTracker?.Start();
}
@ -64,11 +64,8 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
/// </summary>
public bool IsActive
{
get { return (bool) GetValue(IsActiveProperty); }
set
{
SetValue(IsActiveProperty, value);
}
get { return (bool)GetValue(IsActiveProperty); }
set { SetValue(IsActiveProperty, value); }
}
/// <summary>
@ -86,6 +83,7 @@ namespace Microsoft.Toolkit.Uwp.DeveloperTools
updateTimer = new DispatcherTimer();
updateTimer.Tick += UpdateTimer_Tick;
}
updateTimer.Start();
}

Просмотреть файл

@ -10,4 +10,9 @@
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
<ItemGroup>
<None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,8 @@
<FileList>
<File Reference="Microsoft.Toolkit.Uwp.DeveloperTools.dll">
<ToolboxItems VSCategory="UWP Community Toolkit" BlendCategory="UWP Community Toolkit">
<Item Type="Microsoft.Toolkit.Uwp.DeveloperTools.AlignmentGrid" />
<Item Type="Microsoft.Toolkit.Uwp.DeveloperTools.FocusTracker" />
</ToolboxItems>
</File>
</FileList>

Просмотреть файл

@ -11,6 +11,7 @@
// ******************************************************************
using System;
using Microsoft.HockeyApp;
using Microsoft.Toolkit.Uwp.Helpers;
using Microsoft.Toolkit.Uwp.SampleApp.Common;
using Microsoft.Toolkit.Uwp.SampleApp.SamplePages;
@ -38,6 +39,13 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
{
InitializeComponent();
Suspending += OnSuspending;
try
{
HockeyClient.Current.Configure(string.Empty);
}
catch
{
}
}
protected override async void OnActivated(IActivatedEventArgs args)

Просмотреть файл

@ -114,6 +114,9 @@
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="HockeySDK.UWP">
<Version>4.1.6</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>5.3.4</Version>
</PackageReference>

Просмотреть файл

@ -11,30 +11,39 @@
mc:Ignorable="d">
<Page.Resources>
<DataTemplate x:DataType="sampleapp:Sample" x:Key="SampleTemplate">
<HyperlinkButton Width="267" HorizontalContentAlignment="Left" Style="{StaticResource AboutHyperlinkButtonStyle}" Click="HyperlinkButton_Click">
<DataTemplate x:DataType="sampleapp:Sample" x:Key="RecentSampleTemplate">
<HyperlinkButton Width="267" HorizontalContentAlignment="Left" Style="{StaticResource AboutHyperlinkButtonStyle}" Click="RecentSample_Click">
<TextBlock Text="{x:Bind Name}"></TextBlock>
</HyperlinkButton>
</DataTemplate>
<DataTemplate x:DataType="sampleapp:Sample" x:Key="NewSampleTemplate">
<HyperlinkButton Width="267" HorizontalContentAlignment="Left" Style="{StaticResource AboutHyperlinkButtonStyle}" Click="NewSample_Click">
<TextBlock Text="{x:Bind Name}"></TextBlock>
</HyperlinkButton>
</DataTemplate>
<DataTemplate x:DataType="sampleapp:GitHubRelease" x:Key="ReleaseNoteTemplate">
<HyperlinkButton HorizontalAlignment="Left"
HorizontalContentAlignment="Stretch"
NavigateUri="{x:Bind Url}"
Width="208"
Style="{StaticResource AboutHyperlinkButtonStyle}">
HorizontalContentAlignment="Stretch"
NavigateUri="{x:Bind Url}"
Width="208"
Click="ReleaseNotes_Click"
Style="{StaticResource AboutHyperlinkButtonStyle}">
<Grid>
<TextBlock Text="{x:Bind FullName}"></TextBlock>
<TextBlock HorizontalAlignment="Right"
Opacity="0.5"
Foreground="Black"
Text="{x:Bind Published.ToString('MMM d', {x:Null})}"></TextBlock>
Opacity="0.5"
Foreground="Black"
Text="{x:Bind Published.ToString('MMM d', {x:Null})}"></TextBlock>
</Grid>
</HyperlinkButton>
</DataTemplate>
<DataTemplate x:DataType="sampleapp:LandingPageLink" x:Key="LinkTemplate">
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="{x:Bind Url}">
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}"
NavigateUri="{x:Bind Url}"
Click="Link_Clicked">
<TextBlock Text="{x:Bind Title}"></TextBlock>
</HyperlinkButton>
</DataTemplate>
@ -121,7 +130,7 @@
Visibility="{x:Bind local:About.VisibleIfCollectionEmpty(RecentSamples), Mode=OneWay}"></TextBlock>
<ItemsControl x:Name="RecentSamplesItemsControl"
ItemsPanel="{StaticResource ItemsWrapGridHorizontalTemplate}"
ItemsSource="{x:Bind RecentSamples, Mode=OneWay}" ItemTemplate="{StaticResource SampleTemplate}">
ItemsSource="{x:Bind RecentSamples, Mode=OneWay}" ItemTemplate="{StaticResource RecentSampleTemplate}">
</ItemsControl>
</Grid>
@ -133,7 +142,7 @@
<StackPanel x:Name="WhatNewPanel" Margin="0,0,0,48">
<TextBlock FontSize="20" FontFamily="Segoe UI" FontWeight="Normal" Text="{x:Bind LandingPageLinks.NewSectionTitle, Mode=OneWay}"></TextBlock>
<ItemsControl x:Name="WhatNewItemsControl" Margin="0,16,0,0" ItemsSource="{x:Bind NewSamples, Mode=OneWay}" ItemTemplate="{StaticResource SampleTemplate}"></ItemsControl>
<ItemsControl x:Name="WhatNewItemsControl" Margin="0,16,0,0" ItemsSource="{x:Bind NewSamples, Mode=OneWay}" ItemTemplate="{StaticResource NewSampleTemplate}"></ItemsControl>
</StackPanel>
<StackPanel x:Name="ReleaseNotesPanel">
@ -149,13 +158,13 @@
<TextBlock FontSize="20" FontFamily="Segoe UI" FontWeight="Normal">About the App</TextBlock>
<ItemsControl Margin="0,16,0,0">
<TextBlock x:Name="Version" FontSize="12" Margin="0,0,0,10"></TextBlock>
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="http://www.newtonsoft.com/json">
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="http://www.newtonsoft.com/json" Click="Link_Clicked">
<TextBlock>Newtonsoft Json (Dependency)</TextBlock>
</HyperlinkButton>
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="https://github.com/google/code-prettify">
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="https://github.com/google/code-prettify" Click="Link_Clicked">
<TextBlock>Code Prettify (Dependency)</TextBlock>
</HyperlinkButton>
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="https://unsplash.com/photos/xghkLM1p1zA">
<HyperlinkButton Style="{StaticResource AboutHyperlinkButtonStyle}" NavigateUri="https://unsplash.com/photos/xghkLM1p1zA" Click="Link_Clicked">
<TextBlock>Background photo by Ron Manke</TextBlock>
</HyperlinkButton>
</ItemsControl>

Просмотреть файл

@ -175,15 +175,44 @@ namespace Microsoft.Toolkit.Uwp.SampleApp.Pages
Root.Visibility = Visibility.Visible;
}
private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
private void RecentSample_Click(object sender, RoutedEventArgs e)
{
var button = sender as HyperlinkButton;
if (button.DataContext is Sample sample)
{
TrackingManager.TrackEvent("LandingPageRecentClick", sample.Name);
Shell.Current.NavigateToSample(sample);
}
}
private void NewSample_Click(object sender, RoutedEventArgs e)
{
var button = sender as HyperlinkButton;
if (button.DataContext is Sample sample)
{
TrackingManager.TrackEvent("LandingPageNewClick", sample.Name);
Shell.Current.NavigateToSample(sample);
}
}
private void ReleaseNotes_Click(object sender, RoutedEventArgs e)
{
var button = sender as HyperlinkButton;
if (button.DataContext is GitHubRelease release)
{
TrackingManager.TrackEvent("LandingPageReleaseClick", release.Name);
}
}
private void Link_Clicked(object sender, RoutedEventArgs e)
{
var button = sender as HyperlinkButton;
if (button.Content is TextBlock textBlock)
{
TrackingManager.TrackEvent("LandingPageLinkClick", textBlock.Text);
}
}
private async Task UpdateSections()
{
if (LandingPageLinks == null)

Просмотреть файл

@ -25,5 +25,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -281,11 +281,11 @@ To add an image, it is almost like a link. You just need to add a \! before.
So inline image syntax looks like this:
>\!\[Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)
>\!\[Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)
which renders in:
![Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)
![Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)
*****

Просмотреть файл

@ -1,6 +1,6 @@
// How to download .md content from the web and display it
using (var request = new HttpHelperRequest(new Uri("https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/githubresources/content/links.md")))
using (var request = new HttpHelperRequest(new Uri("https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/githubresources/content/links.md")))
{
using (var response = await HttpHelper.Instance.SendRequestAsync(request))
{

Просмотреть файл

@ -142,7 +142,7 @@
<TextBlock Text="Open project shortcut: Ctrl+Shift+O" />
<TextBlock Text="Open file shortcut: Ctrl+O" />
<TextBlock Text="Print shortcut: Ctrl+P" />
<TextBlock Text="Exit solution shortcut: Ctrl+Shit+E" />
<TextBlock Text="Exit solution shortcut: Ctrl+Shift+E" />
</StackPanel>
</Grid>

Просмотреть файл

@ -7,222 +7,222 @@
"Name": "TextToolbar",
"Type": "TextToolbarPage",
"About": "A Toolbar for Editing Text attached to a RichEditBox. It can format RTF and Markdown, or use a Custom Formatter, and specify your own Formatter with Buttons and Actions.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
"XamlCodeFile": "TextToolbar.bind",
"CodeFile": "TextToolbarCode.bind",
"Icon": "/SamplePages/TextToolbar/TextToolbar.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/TextToolbar.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/TextToolbar.md"
},
{
"Name": "Carousel",
"Type": "CarouselPage",
"About": "Presents items in a carousel control. It reacts to changes in the layout as well as the content so it can adapt to different form factors automatically.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/Carousel",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/Carousel",
"XamlCodeFile": "CarouselCode.bind",
"Icon": "/SamplePages/Carousel/Carousel.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/Carousel.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/Carousel.md"
},
{
"Name": "AdaptiveGridView",
"Type": "AdaptiveGridViewPage",
"About": "Presents items in a evenly-spaced set of columns to fill the total available display space. It reacts to changes in the layout as well as the content so it can adapt to different form factors automatically.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/AdaptiveGridView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/AdaptiveGridView",
"XamlCodeFile": "AdaptiveGridViewCode.bind",
"Icon": "/SamplePages/AdaptiveGridView/AdaptiveGridView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/AdaptiveGridView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/AdaptiveGridView.md"
},
{
"Name": "HamburgerMenu",
"Type": "HamburgerMenuPage",
"About": "The HamburgerMenu provides a simple to use side bar menu that you can show/hide using a hamburger button.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/HamburgerMenu",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/HamburgerMenu",
"XamlCodeFile": "HamburgerMenuCode.bind",
"Icon": "/SamplePages/HamburgerMenu/HamburgerMenu.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/HamburgerMenu.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/HamburgerMenu.md"
},
{
"Name": "RangeSelector",
"Type": "RangeSelectorPage",
"About": "The RangeSelector is a \"double slider\" control for range values.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector",
"XamlCodeFile": "RangeSelectorCode.bind",
"Icon": "/SamplePages/RangeSelector/RangeSelector.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/RangeSelector.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/RangeSelector.md"
},
{
"Name": "ImageEx",
"Type": "ImageExPage",
"About": "Images are downloaded asynchronously showing a load indicator. Source images are then stored in the App local cache to preserve resources and load time.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/ImageEx",
"XamlCodeFile": "ImageExCode.bind",
"Icon": "/SamplePages/ImageEx/ImageEx.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/ImageEx.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/ImageEx.md"
},
{
"Name": "HeaderedTextBlock",
"Type": "HeaderedTextBlockPage",
"About": "The HeaderedTextBlock control is designed to provide a header for read only text. This control is useful for displaying read only forms.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/HeaderedTextBlock",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/HeaderedTextBlock",
"XamlCodeFile": "HeaderedTextBlockCode.bind",
"Icon": "/SamplePages/HeaderedTextBlock/HeaderedTextBlock.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/HeaderedTextBlock.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/HeaderedTextBlock.md"
},
{
"Name": "MasterDetailsView",
"Type": "MasterDetailsViewPage",
"About": "The MasterDetailsView control allows the user to implement the Master/Details design pattern.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/MasterDetailsView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/MasterDetailsView",
"XamlCodeFile": "MasterDetailsView.bind",
"CodeFile": "MasterDetailsViewCode.bind",
"Icon": "/SamplePages/MasterDetailsView/MasterDetailsView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/MasterDetailsView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/MasterDetailsView.md"
},
{
"Name": "MarkdownTextBlock",
"Type": "MarkdownTextBlockPage",
"About": "An efficient and extensible control that can parse and render markdown.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/MarkdownTextBlock",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/MarkdownTextBlock",
"XamlCodeFile": "MarkdownTextBlock.bind",
"CodeFile": "MarkdownTextBlockCode.bind",
"Icon": "/SamplePages/MarkdownTextBlock/MarkdownTextBlock.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/MarkdownTextBlock.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/MarkdownTextBlock.md"
},
{
"Name": "RadialGauge",
"Type": "RadialGaugePage",
"About": "The radial gauge displays a value within a range, using a needle on a circular face.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/RadialGauge",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/RadialGauge",
"XamlCodeFile": "RadialGaugeCode.bind",
"Icon": "/SamplePages/RadialGauge/RadialGauge.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/RadialGauge.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/RadialGauge.md"
},
{
"Name": "RadialProgressBar",
"Type": "RadialProgressBarPage",
"About": "The radial progress bar displays progress as a circle getting filled.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/RadialProgressBar",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/RadialProgressBar",
"XamlCodeFile": "RadialProgressBarCode.bind",
"Icon": "/SamplePages/RadialProgressBar/RadialProgressBar.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/RadialProgressBar.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/RadialProgressBar.md"
},
{
"Name": "SlidableListItem",
"Type": "SlidableListItemPage",
"About": "A UI control that enables actions to be triggered by sliding the content left or right. In most cases, it will be used as a ListView DataTemplate root similar to email apps, but it is not required.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/SlidableListItem",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/SlidableListItem",
"XamlCodeFile": "SlidableListItemCode.bind",
"Icon": "/SamplePages/SlidableListItem/SlidableListItem.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/SlidableListItem.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/SlidableListItem.md"
},
{
"Name": "PullToRefreshListView",
"Type": "PullToRefreshListViewPage",
"About": "PullToRefreshListView is derived from the built in ListView in the Universal Windows Platform. It enables the popular Pull To Refresh pattern.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/PullToRefreshListView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/PullToRefreshListView",
"CodeFile": "PullToRefreshListViewCode.bind",
"XamlCodeFile": "PullToRefreshListViewXaml.bind",
"Icon": "/SamplePages/PullToRefreshListView/PullToRefreshListView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/PullToRefreshListview.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/PullToRefreshListview.md"
},
{
"Name": "RotatorTile",
"Type": "RotatorTilePage",
"About": "RotatorTile is an ItemsControl that rotates through a set of items one-by-one. It enables you to show multiple items of data in a live-tile like way.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/RotatorTile",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/RotatorTile",
"XamlCodeFile": "RotatorTileCode.bind",
"Icon": "/SamplePages/RotatorTile/RotatorTile.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/RotatorTile.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/RotatorTile.md"
},
{
"Name": "BladeView",
"Type": "BladePage",
"About": "BladeView provides a horizontal collection of blades for master-detail scenarios. The control is based on the experience demonstrated by the Azure Portal.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/BladeView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/BladeView",
"XamlCodeFile": "BladeCode.bind",
"Icon": "/SamplePages/BladeView/BladeView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/BladeView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/BladeView.md"
},
{
"Name": "ScrollHeader",
"Type": "ScrollHeaderPage",
"About": "A UI control that works as a ListView or GridView header control with quick return, sticky and fade behavior.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/ScrollHeader",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/ScrollHeader",
"XamlCodeFile": "ScrollHeaderCode.bind",
"Icon": "/SamplePages/ScrollHeader/ScrollHeader.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/ScrollHeader.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/ScrollHeader.md"
},
{
"Name": "GridSplitter",
"Type": "GridSplitterPage",
"About": "GridSplitter represents the control that redistributes space between columns or rows of a Grid control.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter",
"XamlCodeFile": "GridSplitter.bind",
"Icon": "/SamplePages/GridSplitter/GridSplitter.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/GridSplitter.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/GridSplitter.md"
},
{
"Name": "DropShadowPanel",
"Type": "DropShadowPanelPage",
"About": "DropShadowPanel contol allows the creation of a DropShadow for any Xaml FrameworkElement in markup.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/DropShadowPanel",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/DropShadowPanel",
"XamlCodeFile": "DropShadowPanelXaml.bind",
"Icon": "/SamplePages/DropShadowPanel/DropShadowPanel.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/DropShadowPanel.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/DropShadowPanel.md"
},
{
"Name": "Loading",
"Type": "LoadingPage",
"About": "LoadingControl helps to show content with animation to the user while the app is doing some calculation.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/Loading",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/Loading",
"XamlCodeFile": "LoadingCode.bind",
"Icon": "/SamplePages/Loading/Loading.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/Loading.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/Loading.md"
},
{
"Name": "Expander",
"Type": "ExpanderPage",
"About": "Expander control allows user to show/hide content based on a boolean state.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/Expander",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/Expander",
"XamlCodeFile": "ExpanderXaml.bind",
"Icon": "/SamplePages/Expander/Expander.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/Expander.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/Expander.md"
},
{
"Name": "TileControl",
"Type": "TileControlPage",
"About": "A ContentControl that show an image repeated many times.The control can be synchronized with a Scrollviewer and animated easily",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/TileControl",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/TileControl",
"XamlCodeFile": "TileControl.bind",
"Icon": "/SamplePages/TileControl/TileControl.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/TileControl.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/TileControl.md"
},
{
"Name": "WrapPanel",
"Type": "WrapPanelPage",
"About": "The WrapPanel Control positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/WrapPanel",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/WrapPanel",
"XamlCodeFile": "WrapPanel.bind",
"Icon": "/SamplePages/WrapPanel/WrapPanel.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/WrapPanel.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/WrapPanel.md"
},
{
"Name": "OrbitView",
"Type": "OrbitViewPage",
"About": "The OrbitView Control positions items in a circle around a center element and supports orbits and anchors.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/OrbitView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/OrbitView",
"XamlCodeFile": "OrbitViewXaml.bind",
"Icon": "/SamplePages/OrbitView/OrbitView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/OrbitView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/OrbitView.md"
},
{
"Name": "Menu",
"Type": "MenuPage",
"About": "Represents a Windows menu control that enables you to hierarchically organize elements associated with commands and event handlers.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/Menu",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/Menu",
"XamlCodeFile": "Menu.bind",
"Icon": "/SamplePages/Menu/Menu.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/Menu.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/Menu.md"
},
{
"Name": "InAppNotification",
@ -232,7 +232,7 @@
"XamlCodeFile": "InAppNotificationXaml.bind",
"CodeFile": "InAppNotificationCode.bind",
"Icon": "/SamplePages/InAppNotification/InAppNotification.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/InAppNotification.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/InAppNotification.md"
}
]
},
@ -244,31 +244,31 @@
"Name": "LiveTile",
"Type": "LiveTilePage",
"About": "This shows how to update a Live Tile with a rich Adaptive notification.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeFile": "LiveTileCode.bind",
"JavaScriptCodeFile": "LiveTileCodeJavaScript.bind",
"Icon": "/SamplePages/LiveTile/icon.jpg",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/notifications/NotificationsOverview.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/notifications/NotificationsOverview.md"
},
{
"Name": "Toast",
"Type": "ToastPage",
"About": "This shows how to send a Toast notification.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeFile": "ToastCode.bind",
"JavaScriptCodeFile": "ToastCodeJavaScript.bind",
"Icon": "/SamplePages/Toast/icon.jpg",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/notifications/NotificationsOverview.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/notifications/NotificationsOverview.md"
},
{
"Name": "WeatherLiveTileAndToast",
"Type": "WeatherLiveTileAndToastPage",
"About": "This shows how to send a Weather Live Tile and Toast notification, displaying the forecast.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Notifications/Microsoft.Toolkit.Uwp.Notifications.Shared",
"CodeFile": "WeatherLiveTileAndToastCode.bind",
"JavaScriptCodeFile": "WeatherLiveTileAndToastCodeJavaScript.bind",
"Icon": "/SamplePages/WeatherLiveTileAndToast/WeatherLiveTileAndToast.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/notifications/NotificationsOverview.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/notifications/NotificationsOverview.md"
}
]
},
@ -280,103 +280,103 @@
"Name": "Fade",
"Type": "FadeBehaviorPage",
"About": "Opacity of XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "FadeBehaviorCode.bind",
"XamlCodeFile": "FadeBehaviorXaml.bind",
"Icon": "/SamplePages/Fade/FadeBehavior.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Fade.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Fade.md"
},
{
"Name": "Scale",
"Type": "ScaleBehaviorPage",
"About": "Scale of XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "ScaleBehaviorCode.bind",
"XamlCodeFile": "ScaleBehaviorXaml.bind",
"Icon": "/SamplePages/Scale/scaleBehavior.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Scale.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Scale.md"
},
{
"Name": "Offset",
"Type": "OffsetBehaviorPage",
"About": "Offset of XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "OffsetBehaviorCode.bind",
"XamlCodeFile": "OffsetBehaviorXaml.bind",
"Icon": "/SamplePages/Offset/offsetBehavior.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Offset.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Offset.md"
},
{
"Name": "Rotate",
"Type": "RotateBehaviorPage",
"About": "Rotation on XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "RotateBehaviorCode.bind",
"XamlCodeFile": "RotateBehaviorXaml.bind",
"Icon": "/SamplePages/Rotate/rotateBehavior.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Rotate.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Rotate.md"
},
{
"Name": "Blur",
"Type": "BlurBehaviorPage",
"About": "Blur XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "BlurBehaviorCode.bind",
"XamlCodeFile": "BlurBehaviorXaml.bind",
"Icon": "/SamplePages/Blur/blurBehavior.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Blur.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Blur.md"
},
{
"Name": "Saturation",
"Type": "SaturationBehaviorPage",
"About": "Saturate XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "SaturationBehaviorCode.bind",
"XamlCodeFile": "SaturationBehaviorXaml.bind",
"Icon": "/SamplePages/Saturation/saturationBehavior.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Saturation.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Saturation.md"
},
{
"Name": "Light",
"Type": "LightBehaviorPage",
"About": "Light XAML elements using composition",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "LightBehaviorCode.bind",
"XamlCodeFile": "LightBehaviorXaml.bind",
"Icon": "/SamplePages/Light/LightBehavior.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/Light.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/Light.md"
},
{
"Name": "FadeHeader",
"Type": "FadeHeaderBehaviorPage",
"About": "Fade ListView and GridView Headers",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Behaviors",
"CodeFile": "FadeHeaderBehaviorCode.bind",
"XamlCodeFile": "FadeHeaderBehaviorXaml.bind",
"Icon": "/SamplePages/FadeHeader/FadeHeaderBehavior.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/FadeHeader.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/FadeHeader.md"
},
{
"Name": "ParallaxService",
"Type": "ParallaxPage",
"About": "Parallax items contained within an element that scrolls like a ScrollViewer or ListView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations",
"XamlCodeFile": "ParallaxPage.bind",
"Icon": "/SamplePages/ParallaxService/Parallax.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/ParallaxService.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/ParallaxService.md"
},
{
"Name": "ReorderGridAnimation",
"Type": "ReorderGridPage",
"About": "Animates items of a grid when the size changes",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations",
"XamlCodeFile": "ReorderGrid.bind",
"Icon": "/SamplePages/ReorderGridAnimation/ReorderGrid.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/animations/ReorderGrid.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/animations/ReorderGrid.md"
}
]
},
@ -388,64 +388,64 @@
"Name": "Bing Service",
"Type": "BingPage",
"About": "The Bing Service allows you to retrieve Microsoft Bing web search engine results.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Bing",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/Bing",
"CodeFile": "BingCode.bind",
"Icon": "/SamplePages/Bing Service/icon.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/Bing.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/Bing.md"
},
{
"Name": "Facebook Service",
"Type": "FacebookPage",
"About": "The Facebook Service allows you to retrieve or publish data to Facebook graph.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Facebook",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/Facebook",
"CodeFile": "FacebookCode.bind",
"Icon": "/SamplePages/Facebook Service/FacebookLogo.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/Facebook.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/Facebook.md"
},
{
"Name": "Twitter Service",
"Type": "TwitterPage",
"About": "The Twitter Service allows you to retrieve or publish data to Twitter.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/Twitter",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/Twitter",
"CodeFile": "TwitterCode.bind",
"Icon": "/SamplePages/Twitter Service/TwitterLogo.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/Twitter.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/Twitter.md"
},
{
"Name": "Microsoft Graph Service",
"Type": "MicrosoftGraphPage",
"About": "The Microsoft Graph service allows you to connect to Microsoft Graph Office 365 API.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/MicrosoftGraph",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/MicrosoftGraph",
"CodeFile": "MicrosoftGraphCode.bind",
"Icon": "/SamplePages/Microsoft Graph Service/OfficeLogo.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/MicrosoftGraph.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/MicrosoftGraph.md"
},
{
"Name": "OneDrive Service",
"Type": "OneDrivePage",
"About": "The OneDrive service allows you to get your files from OneDrive using an Microsoft Account or OneDrive For Business using an Office 365 account",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/OneDrive/",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/OneDrive/",
"CodeFile": "OneDriveCode.bind",
"Icon": "/SamplePages/OneDrive Service/OneDriveLogo.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/OneDrive.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/OneDrive.md"
},
{
"Name": "LinkedIn Service",
"Type": "LinkedInPage",
"About": "The LinkedIn service allows you to connect to retrieve or publish data to LinkedIn.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/LinkedIn/",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/LinkedIn/",
"CodeFile": "LinkedInCode.bind",
"Icon": "/SamplePages/LinkedIn Service/LinkedInLogo.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/Linkedin.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/Linkedin.md"
},
{
"Name": "Microsoft Translator Service",
"Type": "MicrosoftTranslatorPage",
"About": "The Microsoft Translator Service allows you to translate text into many languages.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Services/Services/MicrosoftTranslator",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Services/Services/MicrosoftTranslator",
"CodeFile": "MicrosoftTranslatorCode.bind",
"Icon": "/SamplePages/Microsoft Translator Service/TranslatorService.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/services/MicrosoftTranslator.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/services/MicrosoftTranslator.md"
}
]
},
@ -457,29 +457,29 @@
"Name": "ImageCache",
"Type": "ImageCachePage",
"About": "The ImageCache allows persistence of images with an option to use in-memory storage.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.UI/Cache/ImageCache.cs",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Cache/ImageCache.cs",
"CodeFile": "ImageCacheCode.bind",
"XamlCodeFile": "ImageCacheXaml.bind",
"Icon": "/SamplePages/ImageCache/ImageEx.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/ImageCache.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/ImageCache.md"
},
{
"Name": "Object Storage",
"Type": "ObjectStoragePage",
"About": "The Object Storage helper allows you to easily read and save objects in your application, both locally or on every device (roaming).",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp/Helpers/ObjectStorage",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp/Helpers/ObjectStorage",
"CodeFile": "ObjectStorageCode.bind",
"Icon": "/SamplePages/Object Storage/ObjectStorage.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/ObjectStorage.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/ObjectStorage.md"
},
{
"Name": "Incremental Loading Collection",
"Type": "IncrementalLoadingCollectionPage",
"About": "Allows to create collections that can be loaded incrementally, as user requests more items in the view. This type of collections can be bound to controls like GridView and ListView.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp/IncrementalLoadingCollection",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp/IncrementalLoadingCollection",
"CodeFile": "IncrementalLoadingCollectionCode.bind",
"Icon": "/SamplePages/Incremental Loading Collection/icon.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/IncrementalLoadingCollection.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/IncrementalLoadingCollection.md"
},
{
"Name": "BackgroundTaskHelper",
@ -488,44 +488,44 @@
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp/Helpers/BackgroundTaskHelper.cs",
"CodeFile": "BackgroundTaskHelperCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/BackgroundTaskHelper.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/BackgroundTaskHelper.md"
},
{
"Name": "NetworkHelper",
"Type": "NetworkHelperPage",
"About": "The NetworkHelper class is used to determine whether the app has Internet, and if it is on a metered Internet connection",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Connectivity/Network",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Connectivity/Network",
"CodeFile": "NetworkHelperCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/NetworkHelper.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/NetworkHelper.md"
},
{
"Name": "BluetoothLEHelper",
"Type": "BluetoothLEHelperPage",
"About": "The Bluetooth LE helper class is used to connect and interact with bluetooth LE devices.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.Connectivity/BluetoothLEHelper",
"CodeFile": "BluetoothLEHelperCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/BluetoothLEHelper.md",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/BluetoothLEHelper.md",
"BadgeUpdateVersionRequired": "Creators Update required"
},
{
"Name": "SystemInformation",
"Type": "SystemInformationPage",
"About": "The SystemInformation class provides easy access to some of system/app/device information",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp/Helpers/SystemInformation.cs",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp/Helpers/SystemInformation.cs",
"CodeFile": "SystemInformationCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/SystemInformation.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/SystemInformation.md"
},
{
"Name": "PrintHelper",
"Type": "PrintHelperPage",
"About": "Allows to easily print XAML controls",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp/Helpers/PrintHelper",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp/Helpers/PrintHelper",
"CodeFile": "PrintHelperCode.bind",
"Icon": "/SamplePages/PrintHelper/PrintHelper.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/PrintHelper.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/PrintHelper.md"
},
{
"Name": "DispatcherHelper",
@ -534,16 +534,16 @@
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs",
"CodeFile": "DispatcherHelperCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/DispatcherHelper.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/DispatcherHelper.md"
},
{
"Name": "AdvancedCollectionView",
"Type": "AdvancedCollectionViewPage",
"About": "Allows you to easily sort and filter your collections before displaying them.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/AdvancedCollectionView",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/AdvancedCollectionView",
"CodeFile": "AdvancedCollectionView.bind",
"Icon": "/SamplePages/AdvancedCollectionView/AdvancedCollectionView.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/helpers/AdvancedCollectionView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/helpers/AdvancedCollectionView.md"
}
]
},
@ -555,47 +555,47 @@
"Name": "ListViewBase",
"Type": "ListViewBasePage",
"About": "Extensions for all controls that inherit from ListViewBase like ListView.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/Extensions/ListViewBase",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/Extensions/ListViewBase",
"XamlCodeFile": "ListViewBaseCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/extensions/ListViewBase.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/extensions/ListViewBase.md"
},
{
"Name": "ViewExtensions",
"Type": "ViewExtensionsPage",
"About": "View extensions to set StatusBar and TitleBar properties.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/Extensions",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/Extensions",
"XamlCodeFile": "ViewExtensionsCode.bind",
"Icon": "/Assets/Helpers.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/extensions/ViewExtensions.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/extensions/ViewExtensions.md"
},
{
"Name": "TextBoxMask",
"Type": "TextBoxMaskPage",
"About": "TextBox Mask property allows a user to more easily enter fixed width text in TextBox control where you would like them to enter the data in a certain format",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/Extensions/TextBoxMask",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/Extensions/TextBoxMask",
"XamlCodeFile": "TextBoxMask.bind",
"Icon": "/SamplePages/TextBoxMask/TextBoxMask.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/extensions/TextBoxMask.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/extensions/TextBoxMask.md"
},
{
"Name": "TextBoxRegex",
"Type": "TextBoxRegexPage",
"About": "TextBoxRegex helps developer to validate a TextBox with a regular expression using the Regex property.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/Extensions/TextBoxRegEx",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/Extensions/TextBoxRegEx",
"XamlCodeFile": "TextBoxRegex.bind",
"Icon": "/SamplePages/TextBoxRegex/TextBoxRegex.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/extensions/TextBoxRegex.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/extensions/TextBoxRegex.md"
},
{
"Name": "SurfaceDialTextbox",
"Type": "SurfaceDialTextboxPage",
"About": "Enables support for Surface Dial on any given Textbox. Rotate the Dial to change the numeric value of the Textbox.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/Extensions/SurfaceDialTextbox",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/Extensions/SurfaceDialTextbox",
"XamlCodeFile": "SurfaceDialTextboxCode.bind",
"Icon": "/SamplePages/SurfaceDialTextbox/SurfaceDialTextbox.png",
"BadgeUpdateVersionRequired": "Anniversary Update required",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/extensions/SurfaceDialTextboxHelper.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/extensions/SurfaceDialTextboxHelper.md"
}
]
},
@ -607,19 +607,19 @@
"Name": "AlignmentGrid",
"Type": "AlignmentGridPage",
"About": "AlignmentGrid is used to display a grid to help aligning controls.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.DeveloperTools/AlignmentGrid",
"XamlCodeFile": "AlignmentGridXaml.bind",
"Icon": "/SamplePages/AlignmentGrid/AlignmentGrid.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/developer%20tools/AlignmentGrid.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/developer-tools/AlignmentGrid.md"
},
{
"Name": "FocusTracker",
"Type": "FocusTrackerPage",
"About": "FocusTracker can be used to display information about the current focused XAML element.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.DeveloperTools/FocusTracker",
"XamlCodeFile": "FocusTrackerXaml.bind",
"Icon": "/SamplePages/FocusTracker/FocusTracker.png",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/developer%20tools/FocusTracker.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/developer-tools/FocusTracker.md"
},
{
"Name": "Analytics",

Просмотреть файл

@ -56,6 +56,10 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
private bool _lastRenderedProperties = true;
private ThreadPoolTimer _autocompileTimer;
private DateTime _timeSampleEditedFirst = DateTime.MinValue;
private DateTime _timeSampleEditedLast = DateTime.MinValue;
private bool _xamlCodeRendererSupported = false;
public bool DisplayWaitRing
{
set { waitRing.Visibility = value ? Visibility.Visible : Visibility.Collapsed; }
@ -79,18 +83,6 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
Splitter.Visibility = Visibility.Visible;
}
public void HideInfoArea()
{
InfoAreaGrid.Visibility = Visibility.Collapsed;
RootGrid.ColumnDefinitions[1].Width = GridLength.Auto;
RootGrid.RowDefinitions[1].Height = GridLength.Auto;
_currentSample = null;
Commands.Clear();
Splitter.Visibility = Visibility.Collapsed;
TitleTextBlock.Text = string.Empty;
ApplicationView.SetTitle(this, string.Empty);
}
public void ShowOnlyHeader(string title)
{
Title.Text = title;
@ -192,7 +184,10 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
protected override async void OnNavigatedTo(NavigationEventArgs e)
{
base.OnNavigatedTo(e);
NavigationFrame.Navigating += NavigationFrame_Navigating;
NavigationFrame.Navigated += NavigationFrameOnNavigated;
NavigationFrame.Navigate(typeof(About));
SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;
// Get list of samples
var sampleCategories = (await Samples.GetCategoriesAsync()).ToList();
@ -207,10 +202,6 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
HideInfoArea();
NavigationFrame.Navigating += NavigationFrame_Navigating;
NavigationFrame.Navigated += NavigationFrameOnNavigated;
SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;
if (!string.IsNullOrWhiteSpace(e?.Parameter?.ToString()))
{
var parser = DeepLinkParser.Create(e.Parameter.ToString());
@ -239,6 +230,8 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
private async void NavigationFrame_Navigating(object sender, NavigatingCancelEventArgs navigationEventArgs)
{
ProcessSampleEditorTime();
SampleCategory category;
if (navigationEventArgs.SourcePageType == typeof(SamplePicker) || navigationEventArgs.Parameter == null)
{
@ -250,6 +243,10 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
{
TrackingManager.TrackPage($"{navigationEventArgs.SourcePageType.Name} - {category.Name}");
}
else
{
TrackingManager.TrackPage($"{navigationEventArgs.SourcePageType.Name}");
}
HideInfoArea();
}
@ -302,6 +299,8 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
XamlCodeRenderer.Text = _currentSample.UpdatedXamlCode;
InfoAreaPivot.Items.Add(XamlPivotItem);
_xamlCodeRendererSupported = true;
}
InfoAreaPivot.SelectedIndex = 0;
@ -351,6 +350,18 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
await SetHamburgerMenuSelection();
}
private void HideInfoArea()
{
InfoAreaGrid.Visibility = Visibility.Collapsed;
RootGrid.ColumnDefinitions[1].Width = GridLength.Auto;
RootGrid.RowDefinitions[1].Height = GridLength.Auto;
_currentSample = null;
Commands.Clear();
Splitter.Visibility = Visibility.Collapsed;
TitleTextBlock.Text = string.Empty;
ApplicationView.SetTitle(this, string.Empty);
}
private async Task SetHamburgerMenuSelection()
{
if (NavigationFrame.SourcePageType == typeof(SamplePicker))
@ -954,6 +965,13 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Low, () =>
{
var t = UpdateXamlRenderAsync(XamlCodeRenderer.Text);
if (_timeSampleEditedFirst == DateTime.MinValue)
{
_timeSampleEditedFirst = DateTime.Now;
}
_timeSampleEditedLast = DateTime.Now;
});
}, TimeSpan.FromSeconds(0.5));
}
@ -966,5 +984,26 @@ namespace Microsoft.Toolkit.Uwp.SampleApp
// In CodeBehind For Now, due to bug: https://github.com/hawkerm/monaco-editor-uwp/issues/10
XamlCodeRenderer.CodeLanguage = "xml";
}
private void ProcessSampleEditorTime()
{
if (_currentSample != null &&
_currentSample.HasXAMLCode &&
_xamlCodeRendererSupported)
{
if (_timeSampleEditedFirst != DateTime.MinValue &&
_timeSampleEditedLast != DateTime.MinValue)
{
int secondsEdditingSample = (int)Math.Floor((_timeSampleEditedLast - _timeSampleEditedFirst).TotalSeconds);
TrackingManager.TrackEvent("xamleditor", "edited", _currentSample.Name, secondsEdditingSample);
}
else
{
TrackingManager.TrackEvent("xamleditor", "not_edited", _currentSample.Name);
}
}
_timeSampleEditedFirst = _timeSampleEditedLast = DateTime.MinValue;
}
}
}

Просмотреть файл

@ -87,7 +87,7 @@ Therefore, for any new control/extension, you should still have a simplified sni
## 4. For Events/Resource Templates: Have your sample page implement the **IXamlRendererListener** interface
This gets called whenever the template gets parsed (due to loading or user modification). Here you can use the [LogicalTree](https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.UI/Extensions/Tree/LogicalTree.cs) extensions to grab named controls in the template and register their events. **Check for null first** as the developer may have removed the name from the element.
This gets called whenever the template gets parsed (due to loading or user modification). Here you can use the [LogicalTree](https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Extensions/Tree/LogicalTree.cs) extensions to grab named controls in the template and register their events. **Check for null first** as the developer may have removed the name from the element.
```
var markdownText = control.FindChildByName("MarkdownText") as MarkdownTextBlock;
@ -130,9 +130,9 @@ Select the category where you want your page to be listed and add the following
"Name": "AdaptiveGridView",
"Type": "AdaptiveGridViewPage",
"About": "The AdaptiveGridView control allows to present information within a Grid View perfectly adjusting the total display available space. It reacts to changes in the layout as well as the content so it can adapt to different form factors automatically. The number and the width of items are calculated based on the screen resolution in order to fully leverage the available screen space. The property ItemsHeight define the items fixed height and the property DesiredWidth sets the minimum width for the elements to add a new column.",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
"CodeUrl": "https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
"XamlCodeFile": "AdaptiveGridViewCode.bind",
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/docs/controls/AdaptiveGridView.md"
"DocumentationUrl": "https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/docs/controls/AdaptiveGridView.md"
}
]
}

Просмотреть файл

@ -25,5 +25,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -64,7 +64,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations.Expressions
}
/// <summary>
/// Performs an implicit conversion from <see cref="Color"/> to <see cref="ColorNode"/>.
/// Performs an implicit conversion from <see cref="T:Color"/> to <see cref="ColorNode"/>.
/// </summary>
/// <param name="value">The value.</param>
/// <returns>The result of the conversion.</returns>

Просмотреть файл

@ -77,6 +77,9 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
view.ContainerContentChanging -= OnContainerContentChanging;
view.ContainerContentChanging += OnContainerContentChanging;
view.ChoosingItemContainer -= OnChoosingItemContainer;
view.ChoosingItemContainer += OnChoosingItemContainer;
}
}
@ -99,7 +102,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
var elementVisual = ElementCompositionPreview.GetElementVisual(args.ItemContainer);
if (args.InRecycleQueue)
{
elementVisual.ImplicitAnimations = null;
PokeUIElementZIndex(args.ItemContainer);
}
else
{
@ -108,6 +111,14 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
}
}
private static void OnChoosingItemContainer(ListViewBase sender, ChoosingItemContainerEventArgs args)
{
if (args.ItemContainer != null)
{
PokeUIElementZIndex(args.ItemContainer);
}
}
private static CompositionAnimationGroup CreateOffsetAnimation(Compositor compositor, double duration)
{
Vector3KeyFrameAnimation offsetAnimation = compositor.CreateVector3KeyFrameAnimation();
@ -120,5 +131,12 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
return animationGroup;
}
private static void PokeUIElementZIndex(UIElement element)
{
var oldZIndex = Canvas.GetZIndex(element);
Canvas.SetZIndex(element, oldZIndex + 1);
Canvas.SetZIndex(element, oldZIndex);
}
}
}

Просмотреть файл

@ -47,7 +47,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Parse
}
/// <summary>
/// Attempts to parse an image e.g. "![Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/dev/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)".
/// Attempts to parse an image e.g. "![Toolkit logo](https://raw.githubusercontent.com/Microsoft/UWPCommunityToolkit/master/Microsoft.Toolkit.Uwp.SampleApp/Assets/ToolkitLogo.png)".
/// </summary>
/// <param name="markdown"> The markdown text. </param>
/// <param name="start"> The location to start parsing. </param>

Просмотреть файл

@ -15,6 +15,10 @@
<ProjectReference Include="..\Microsoft.Toolkit.Uwp.UI.Animations\Microsoft.Toolkit.Uwp.UI.Animations.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
</ItemGroup>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>

Просмотреть файл

@ -471,9 +471,14 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
{
var rangeSelector = d as RangeSelector;
if (rangeSelector == null)
{
return;
}
rangeSelector._minSet = true;
if (rangeSelector == null || !rangeSelector._valuesAssigned)
if (!rangeSelector._valuesAssigned)
{
return;
}
@ -530,9 +535,14 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
{
var rangeSelector = d as RangeSelector;
if (rangeSelector == null)
{
return;
}
rangeSelector._maxSet = true;
if (rangeSelector == null || !rangeSelector._valuesAssigned)
if (!rangeSelector._valuesAssigned)
{
return;
}

Просмотреть файл

@ -242,13 +242,9 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
_translate.X = _translate.Y = 0;
}
if (_currentElement != null)
if (_currentElement != null && _nextElement != null)
{
_currentElement.DataContext = _nextElement.DataContext;
}
if (_nextElement != null)
{
_nextElement.DataContext = GetNext(); // Preload the next tile
}
};

Просмотреть файл

@ -0,0 +1,37 @@
<FileList>
<File Reference="Microsoft.Toolkit.Uwp.UI.Controls.dll">
<ToolboxItems VSCategory="UWP Community Toolkit" BlendCategory="UWP Community Toolkit">
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.AdaptiveGridView" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.BladeItem" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.BladeView" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.Carousel" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.CarouselPanel" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.DropShadowPanel" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.Expander" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.GridSplitter" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.HamburgerMenu" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.HeaderedTextBlock" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.ImageEx" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.ImageExBase" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.MarkdownTextBlock" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.MasterDetailsView" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.Menu" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.MenuItem" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.OrbitView" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.OrbitViewItem" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.OrbitViewPanel" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.PullToRefreshListView" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.RadialGauge" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.RadialProgressBar" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.RangeSelector" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.RotatorTile" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.RoundImageEx" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.ScrollHeader" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.SlidableListItem" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.SurfaceDialTextboxHelper" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.TextToolbar" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.TileControl" />
<Item Type="Microsoft.Toolkit.Uwp.UI.Controls.WrapPanel" />
</ToolboxItems>
</File>
</FileList>

Просмотреть файл

@ -25,6 +25,7 @@ namespace Microsoft.Toolkit.Uwp.UI
{
private int _maxItemCount;
private ConcurrentDictionary<string, InMemoryStorageItem<T>> _inMemoryStorage = new ConcurrentDictionary<string, InMemoryStorageItem<T>>();
private object _settingMaxItemCountLocker = new object();
/// <summary>
/// Gets or sets the maximum count of Items that can be stored in this InMemoryStorage instance.
@ -45,7 +46,7 @@ namespace Microsoft.Toolkit.Uwp.UI
_maxItemCount = value;
lock (this)
lock (_settingMaxItemCountLocker)
{
EnsureStorageBounds(value);
}

Просмотреть файл

@ -24,6 +24,7 @@ namespace UnitTests.Helpers
[TestMethod]
public async Task Test_HttpHelper_SendRequestAsync()
{
#pragma warning disable CS0612 // Type or member is obsolete
using (var request = new HttpHelperRequest(new Uri("http://dev.windows.com")))
{
using (var response = await HttpHelper.Instance.SendRequestAsync(request))
@ -32,6 +33,7 @@ namespace UnitTests.Helpers
Assert.IsNotNull(response.Content);
}
}
#pragma warning restore CS0612 // Type or member is obsolete
}
}
}

Просмотреть файл

@ -26,5 +26,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")]
[assembly: AssemblyMetadata("TargetPlatform", "UAP")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -18,6 +18,7 @@
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>UnitTests_TemporaryKey.pfx</PackageCertificateKeyFile>
<UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">14.0</UnitTestPlatformVersion>
<PackageCertificateThumbprint>E1D0F2B5EE8606625F7D3B226EEF7B825CCC1A62</PackageCertificateThumbprint>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>

Двоичные данные
UnitTests/UnitTests_TemporaryKey.pfx

Двоичный файл не отображается.

Просмотреть файл

@ -2,10 +2,9 @@ image: Visual Studio 2017
branches:
only:
- dev
- master
- build
- 1.5.1
- rel/2.0.0
- rel/2.0.1
environment:
SignClientSecret:

Просмотреть файл

@ -14,11 +14,11 @@ That's why many of the guidelines of this document are obvious and serve only on
Every contribution has to come with:
* Before starting coding, **you should open an uservoice entry** under "UWP Community Toolkit" on [Uservoice](https://wpdev.uservoice.com/forums/110705-universal-windows-platform/category/193402-uwp-community-toolkit) and start discussing with the community to see if your idea/feature is interesting enough.
* A documentation page in the [documentation folder](https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/docs). Once validated your documentation will be visible [here](http://docs.uwpcommunitytoolkit.com/en/dev/)
* A documentation page in the [documentation folder](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/docs). Once validated your documentation will be visible [here](http://docs.uwpcommunitytoolkit.com/en/master/)
* A sample for the [Sample app](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.SampleApp) (If applicable)
* Unit tests (If applicable)
* You tested your code with SDK 14393 and SDK 15063
* PR has to target dev branch
* PR has to target master branch
PR has to be validated by at least two core members before being merged.

Просмотреть файл

@ -2,7 +2,7 @@
title: UWP Community Toolkit Nuget Packages
author: nmetulev
ms.date: 08/20/2017
description: UWP Community Toolkit Nuget Packages
description: The UWP Community Toolkit is updated regularly with new controls, services, APIs, and more importantly, bug fixes. Make sure to regularly update your nuget packages
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, nuget, visual studio
---

Просмотреть файл

@ -1,8 +1,8 @@
---
title: UWP Community Toolkit vontols in the Visual Studio Toolbox
title: UWP Community Toolkit controls in the Visual Studio Toolbox
author: nmetulev
ms.date: 08/20/2017
description: Adding the UWP Community Toolkit to your Visual Studio Toolbox
description: Adding the UWP Community Toolkit to your Visual Studio Toolbox simplifies the development workflow with the Visual Studio designer
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, visual studio, toolbox
---

Просмотреть файл

@ -69,7 +69,7 @@ keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, expressions, expr
- [Building with ExpressionNodes](#curtain-building-with-expressionnodes)
- [Final code snippet](#curtain-final-code-snippet)
# <a name="quick-start"></a>Quick Start
## <a name="quick-start"></a>Quick Start
Welcome to the ExpressionBuilder classes! The ExpressionBuilder classes are a C#-only alternative to building Expressions with type safety. Below is a quick introduction to using the ExpressionBuilder classes with your application. Complete documentation and walkthroughs will start from [Intro](#intro) section.
@ -1131,4 +1131,4 @@ _tracker.ConfigurePositionYInertiaModifiers(
## API
* [Expressions source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI.Animations/Expressions)
* [Expressions source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Animations/Expressions)

Просмотреть файл

@ -2,7 +2,7 @@
title: Fade animation behavior
author: nmetulev
ms.date: 08/20/2017
description: The Fade animation behavior fades objects, in and out, over time.
description: The Fade animation behavior fades objects, in and out, over time and delay. It can be used along side other animations directly through XAML or code
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, fade, fade animation
---

Просмотреть файл

@ -21,7 +21,7 @@ The **ParallaxService** class allows to create a parallax effect for items conta
You can define horizontal or vertical multiplier to determine the speed ratio that you want to apply to your element.
[ParallaxService Sample Page Source](https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ParallaxService)
[ParallaxService Sample Page Source](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ParallaxService)
## Example Image
@ -35,4 +35,4 @@ You can define horizontal or vertical multiplier to determine the speed ratio th
## API
* [ParallaxService source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.UI.Animations/ParallaxService.cs)
* [ParallaxService source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI.Animations/ParallaxService.cs)

11
docs/breadcrumb/toc.yml Normal file
Просмотреть файл

@ -0,0 +1,11 @@
- name: Docs
tocHref: /
topicHref: /
items:
- name: Windows
tocHref: /windows/
topicHref: /windows/
items:
- name: UWP Community Toolkit documentation
tocHref: /windows/uwpcommunitytoolkit/
topicHref: /windows/uwpcommunitytoolkit

Просмотреть файл

@ -2,7 +2,7 @@
title: HeaderedTextBlock XAML Control
author: nmetulev
ms.date: 08/20/2017
description: The HeaderedTextBlock Control provides a header for read-only text.
description: The HeaderedTextBlock Control provides a header for read-only text. This control is useful for displaying read-only forms, content, or a collection of items depending on the type.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, HeaderedTextBlock, XAML Control, xaml
---

Просмотреть файл

@ -121,11 +121,11 @@ An alternate version of the popup animation (used by the vscode-like notificatio
## Example Code
[InAppNotification Sample Page](../../Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification)
[InAppNotification Sample Page](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification)
## Default Template
[InAppNotification XAML File](../..//Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/InAppNotification.xaml) is the XAML template used in the toolkit for the default styling.
[InAppNotification XAML File](https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification/InAppNotification.xaml) is the XAML template used in the toolkit for the default styling.
## Requirements (Windows 10 Device Family)
@ -135,5 +135,5 @@ An alternate version of the popup animation (used by the vscode-like notificatio
## API
* [InAppNotification source code](../..//Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification)
* [InAppNotification source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/InAppNotification)

Просмотреть файл

@ -2,7 +2,7 @@
title: Menu Control
author: nmetulev
ms.date: 08/20/2017
description: The Menu Control defines a menu of choices for users to invoke
description: The UWP Community Toolkit Menu control defines a top level menu for commands, options, properties and much more within your UWP apps.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, Menu, xaml, xaml control
---

Просмотреть файл

@ -2,13 +2,13 @@
title: TileControl XAML Control
author: nmetulev
ms.date: 08/20/2017
description: The Tile Control is a control that repeat an image many times.
description: The Tile Control is a control that repeats an image many times. It enables you to use animation and synchronization with a ScrollViewer to create parallax effect. XAML or Microsoft Composition are automatically used to render the control.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, TileControl, XAML Control, xaml
---
# TileControl XAML Control
The **Tile Control** is a control that repeat an image many times. It enables you to use animation and synchronization with a ScrollViewer to create parallax effect. XAML or Microsoft Composition are automatically used to render the control.
The **Tile Control** is a control that repeats an image many times. It enables you to use animation and synchronization with a ScrollViewer to create parallax effect. XAML or Microsoft Composition are automatically used to render the control.
## Syntax

Просмотреть файл

@ -3,7 +3,8 @@
"content": [
{
"files": [
"**/*.md"
"**/*.md",
"**/*.yml"
],
"exclude": [
"**/obj/**",
@ -32,10 +33,16 @@
"overwrite": [],
"externalReference": [],
"globalMetadata": {
"titleSuffix": "UWP Community Toolkit",
"searchScope": ["UWPtoolkit"],
"ms.topic": "article",
"ms.prod": "windows",
"ms.technology": "uwp",
"ms.author": "nikolame"
"ms.technology": "uwp toolkit",
"keywords": "uwp community toolkit",
"ms.author": "nikolame",
"ms.date": "08/30/2017",
"breadcrumb_path": "/windows/uwpcommunitytoolkit/breadcrumb/toc.json",
"extendBreadcrumb": true
},
"fileMetadata": {},
"template": [],

Просмотреть файл

@ -31,5 +31,5 @@ The **Hyperlink extension** allows for a Hyperlink element to invoke the execute
## API
* [Hyperlink source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.UI/Extensions/Hyperlink)
* [Hyperlink source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Extensions/Hyperlink)

Просмотреть файл

@ -98,5 +98,5 @@ The StretchItemContainerDirection property provides a way to stretch the ItemCon
## API
* [ListViewBase source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.UI/Extensions/ListViewBase)
* [ListViewBase source code](https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Extensions/ListViewBase)

Просмотреть файл

@ -2,7 +2,7 @@
title: WebViewExtensions
author: nmetulev
ms.date: 08/20/2017
description: The WebView extensions allow attaching HTML content to WebView.
description: The UWP Community Toolkit WebView extensions allow attaching HTML content to WebView through XAML directly or through Binding
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, WebViewExtensions, webview, extensions
---

Просмотреть файл

@ -102,5 +102,5 @@ If you're removing, modifying or inserting large amounts of items while having f
## API
* [AdvancedCollectionView source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/dev/Microsoft.Toolkit.Uwp.UI/AdvancedCollectionView)
* [AdvancedCollectionView source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI/AdvancedCollectionView)

Просмотреть файл

@ -9,7 +9,7 @@ keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, DeepLinkParser
# DeepLinkParser
Provides a way to create, from `IActivatedEventArgs` a `Dictionary<string,string>`-inheriting object that provides an additional `.Root` property to pull the base path of the URI (eg: in `MainPage/Options?option1=value1`, `.Root` would be `MainPage/Options`.
Once you have an instance, simply saying `instance["optionName"]` will pull the value from the querystring for that option.
## Example
### Example
in OnLaunched of App.xaml.cs:
```c#
@ -29,9 +29,9 @@ if (e.PrelaunchActivated == false)
...
```
# CollectionFormingDeepLinkParser
## CollectionFormingDeepLinkParser
Some consumers want to be able to do something like `?pref=this&pref=that&pref=theOther` and have a pull of `pref` come back with `this,that,theOther` as its value. This derivative of `DeepLinkParser` provides this functionality.
## Example
### Example
in OnLaunched of App.xaml.cs:
```c#
@ -55,9 +55,9 @@ if (e.PrelaunchActivated == false)
Both of these are createable using a `.Create(IActivatedEventArgs)` method. Should you wish to create one in a different manner, the default constructor is `protected` so inheriting from either of these can provide extensibility.
The method that does the heavy lifting of parsing in to the `Dictionary<string,string>` (`ParseUriString`) is also `protected` and `virtual` so can be used/overridden by any inheriting class.
# QueryParameterCollection
## QueryParameterCollection
This helper class aids in the creation of a `Collection<KeyValuePair<string,string>>` populated with they key-value pairs of all parameters in a query string.
## Example
### Example
```c#
var myUrl = http://microsoft.com/?user=fooUser&email=fooUser@outlook.com&firstName=John&lastName=Doe
@ -67,7 +67,7 @@ foreach (var pair in paramCollection)
Console.WriteLine($"{pair.Key} - {pair.Value}");
}
```
## Output
### Output
```c#
user - fooUser
@ -76,12 +76,12 @@ firstname - John
lastName - Doe
```
## Requirements (Windows 10 Device Family)
### Requirements (Windows 10 Device Family)
| [Device family](http://go.microsoft.com/fwlink/p/?LinkID=526370) | Universal, 10.0.14393.0 or higher |
| --- | --- |
| Namespace | Microsoft.Toolkit.Uwp |
## API
### API
* [DeepLinkParser source code](https://github.com/Microsoft/UWPCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp/Helpers/DeepLinkParser)

Просмотреть файл

@ -2,7 +2,7 @@
title: HttpHelper
author: nmetulev
ms.date: 08/20/2017
description: Represents an HTTP request message including headers.
description: HttpHelper is a UWP Community Toolkit helper class used to assist in common http and networking scenarios.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, HttpHelper
---

Просмотреть файл

@ -2,7 +2,7 @@
title: HttpHelperRequest
author: nmetulev
ms.date: 08/20/2017
description: Represents an HTTP request message including headers.
description: HttpHelperRequest is a UWP Community Toolkit helper class used with the HttpHelper class to create http requests.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, HttpHelperRequest
---

Просмотреть файл

@ -2,7 +2,7 @@
title: HttpHelperResponse
author: nmetulev
ms.date: 08/20/2017
description: Represents an HTTP response message including headers.
description: HttpHelperResponse is a UWP Community Toolkit helper class used with the HttpHelper class to read http responses.
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, HttpHelperResponse
---

Просмотреть файл

@ -2,7 +2,7 @@
title: Print Helper
author: nmetulev
ms.date: 08/20/2017
description: The PrintHelper is a class used to simplify document printing.
description: The PrintHelper is a UWP Community Toolkit helper class that enables the rendering of a framework element per page for printing purposes
keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, PrintHelper
---
@ -16,7 +16,7 @@ Please note that controls cannot be linked to a visual tree. This means that the
If you want to use a control from your current XAML page, you can disconnect it before sending it to print (by removing it from its container) or you can create just create a new one from scratch.
Please check the sample app code to see how to disconnect/reconnect a control that you want to print:
https://github.com/Microsoft/UWPCommunityToolkit/blob/dev/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/PrintHelper/PrintHelperPage.xaml.cs
https://github.com/Microsoft/UWPCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/PrintHelper/PrintHelperPage.xaml.cs
Several events are available to control the printing process:
* OnPrintFailed will be triggered if the user cancels the print or if something goes wrong

Просмотреть файл

@ -46,8 +46,8 @@
## [WrapPanel](controls/WrapPanel.md)
# Developer tools
## [AlignmentGrid](developer%20tools/AlignmentGrid.md)
## [FocusTracker](developer%20tools/FocusTracker.md)
## [AlignmentGrid](developer-tools/AlignmentGrid.md)
## [FocusTracker](developer-tools/FocusTracker.md)
# Extensions
## [Hyperlink](extensions/Hyperlink.md)

Просмотреть файл

@ -7,8 +7,8 @@ The UWP Community Toolkit is a collection of helper functions, custom controls,
| Target | Branch | Status | Recommended Nuget packages version |
| ------ | ------ | ------ | ------ |
| Production | master | [![Build status](https://ci.appveyor.com/api/projects/status/o60lv2tt1nbtklw8/branch/master?svg=true)](https://ci.appveyor.com/project/dotnetfoundation/uwpcommunitytoolkit/branch/master) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Toolkit.Uwp.svg)](https://www.nuget.org/packages/Microsoft.Toolkit.Uwp/) |
| Pre-release beta testing | dev | [![Build status](https://ci.appveyor.com/api/projects/status/o60lv2tt1nbtklw8/branch/dev?svg=true)](https://ci.appveyor.com/project/dotnetfoundation/uwpcommunitytoolkit/branch/dev) | [![MyGet](https://img.shields.io/dotnet.myget/uwpcommunitytoolkit/vpre/Microsoft.Toolkit.Uwp.svg)](https://dotnet.myget.org/gallery/uwpcommunitytoolkit) |
| Production | rel/2.0.0 | [![Build status](https://ci.appveyor.com/api/projects/status/o60lv2tt1nbtklw8/branch/rel/2.0.0?svg=true)](https://ci.appveyor.com/project/dotnetfoundation/uwpcommunitytoolkit/branch/rel/2.0.0) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Toolkit.Uwp.svg)](https://www.nuget.org/packages/Microsoft.Toolkit.Uwp/) |
| Pre-release beta testing | master | [![Build status](https://ci.appveyor.com/api/projects/status/o60lv2tt1nbtklw8/branch/master?svg=true)](https://ci.appveyor.com/project/dotnetfoundation/uwpcommunitytoolkit/branch/master) | [![MyGet](https://img.shields.io/dotnet.myget/uwpcommunitytoolkit/vpre/Microsoft.Toolkit.Uwp.svg)](https://dotnet.myget.org/gallery/uwpcommunitytoolkit) |
## Getting started
@ -75,7 +75,7 @@ Once you search you should see a list similar to the one below (versions may be
* [OrbitView](http://docs.uwpcommunitytoolkit.com/en/master/controls/OrbitView/)
* [PullToRefreshListView](http://docs.uwpcommunitytoolkit.com/en/master/controls/PullToRefreshListview/)
* [RadialGauge](http://docs.uwpcommunitytoolkit.com/en/master/controls/RadialGauge/)
* [RadialProgressBar](http://www.uwpcommunitytoolkit.com/en/dev/controls/RadialProgressBar/)
* [RadialProgressBar](http://www.uwpcommunitytoolkit.com/en/master/controls/RadialProgressBar/)
* [RangeSelector](http://docs.uwpcommunitytoolkit.com/en/master/controls/RangeSelector/)
* [RotatorTile](http://docs.uwpcommunitytoolkit.com/en/master/controls/RotatorTile/)
* [ScrollHeader](http://docs.uwpcommunitytoolkit.com/en/master/controls/ScrollHeader/)
@ -85,8 +85,8 @@ Once you search you should see a list similar to the one below (versions may be
* [WrapPanel](http://docs.uwpcommunitytoolkit.com/en/master/controls/WrapPanel/)
### Developer Tools
* [AlignmentGrid](http://www.uwpcommunitytoolkit.com/en/master/developer%20tools/AlignmentGrid/)
* [FocusTracker](http://www.uwpcommunitytoolkit.com/en/master/developer%20tools/FocusTracker/)
* [AlignmentGrid](http://www.uwpcommunitytoolkit.com/en/master/developer-tools/AlignmentGrid/)
* [FocusTracker](http://www.uwpcommunitytoolkit.com/en/master/developer-tools/FocusTracker/)
### Extensions
* [Hyperlink](http://docs.uwpcommunitytoolkit.com/en/master/extensions/Hyperlink/)