Questions tagged [windows-community-toolkit]

The UWP Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies developer tasks building [tag:uwp] apps for Windows 10.

The Windows Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies developer tasks building apps for Windows 10. The controls and app services in the toolkit are an addition to what's available in the current Windows 10 SDK (and will be marked deprecated if/when they're added to the official SDK).

The available toolkit NuGet packages are listed on the project's GitHub page. There's also a UWP Community Toolkit demo app in the Windows Store showing how to use the controls and services, including copy-paste code snippets.

356 questions
1
vote
1 answer

Windows Community Toolkit export/backport MasterDetailsView from repo

v5.0.0 of the Windows Community Toolkit dropped support for the Creators Update (15063). Now I want to manually backport the MasterDetailsView XAML Control. I've already included the following files from the Windows Community Toolkit v5.0.0…
COM8
  • 271
  • 1
  • 10
1
vote
0 answers

What is override public object ActivateInstance() in XamlTypeInfo.g.cs?

What is override public object ActivateInstance() in XamlTypeInfo.g.cs? When it is executed and what is the role of this method. Since it's created during compilation. What are the objects will come under ActivateInstance and what's its main…
1
vote
1 answer

How to change Orbit View on Windows Community Toolkit to arrange at the top instead of middle left center

So, I'm working on Pie Control with Orbit View from Windows Community toolkit. I tried to change the behavior of Orbit View to arrange item started at the top instead of at the left center. Here is when Orbit View has only one item. I tried…
ToonWK
  • 47
  • 1
  • 8
1
vote
1 answer

Animating RadialGauge

I'm new to animations, and I would like to animante RadialGauge values changes from x to y, in order make the transitions smoother. For example, if the Value property changes from 0 to 100, I would like theRadialGauge` to go through all the…
SuperJMN
  • 13,110
  • 16
  • 86
  • 185
1
vote
3 answers

Gaze interaction not working when side loaded

I have created a simple UWP app that uses "Microsoft.Toolkit.Uwp.Input.GazeInteraction". In the VS environment, the gaze interaction works well. However, when I create a package and side load on another PC the gaze interaction does not work, no…
1
vote
1 answer

Can't install Microsoft.Toolkit.Uwp NuGet package in WPF app

I'm losing my mind here trying to install the Microsoft.Toolkit.Uwp NuGet package into a WPF app (need the toast notifications and possibly some more stuff from UWP), but I always get the following error, no matter which version of the toolkit I'm…
1
vote
0 answers

WebView (WinForms) How do I clear the cache?

How do I clear the cache of the WebView in Windows Forms? The known issues say that refresh does so without the cache, and even that doesn't seem to work.
Jordan
  • 11
  • 1
1
vote
1 answer
1
vote
2 answers

UWP XAML: Custom font with FontIcon and HamburgerMenuItem isn't rendering glyph

I'm using the HamburgerMenu control from the UWP Community Toolkit in an app, because I want to support Windows 10 Mobile, so the new NavigationView control isn't an option for me. I'm trying to use a custom font (FontAwesome) to draw the glyphs for…
CXL
  • 1,094
  • 2
  • 15
  • 38
1
vote
1 answer

Incremental loading collection not present data usng community toolkit

I'm using uwp community toolkit's incremental loading collection. I changed PeopleSource class, and the code is like below. namespace Test { public class TuchongSource : IIncrementalSource { private…
Vincent
  • 3,124
  • 3
  • 21
  • 40
1
vote
0 answers

XAML error with Community Toolkit control

This is a native UWP app in its first days of development, it's named FIFA. There is a pre-release package (by Microsoft) that gives me a DataGrid control, you can find more information here. After I install this package on my solution I build a…
CStruggle
  • 163
  • 3
  • 15
1
vote
1 answer

GetProductInfo() Giving exception in UWP app

I am consuming GetProductInfo() from Kernel32.dll Code Sample : [DllImport("kernel32.dll", SetLastError = false)] static extern bool GetProductInfo( int dwOSMajorVersion, int dwOSMinorVersion, int dwSpMajorVersion, int dwSpMinorVersion, …
RJV
  • 55
  • 11
1
vote
0 answers

UWP AdvancedCollectionView sort by DateTime? throws Exception

So I have an AdvancedCollectionView in my UWP app, tied to an ObservableCollection. The ViewModel that represents each Item in the collection has several properties of types including string, decimal?, and DateTime?. Everything works great…
jasonxz
  • 139
  • 1
  • 9
1
vote
3 answers

UWPXamlHost control - UWP controls in desktop apps - Info and Status?

The most interesting announcement for me from the Microsoft Build 2018 developer conference was the demo showing the use of UWP controls in WPF and WinForms apps. (https://youtu.be/ojZioTg5RUk?t=2250) Specifically they used a control named…
Michael Vach
  • 208
  • 2
  • 7
1
vote
0 answers

Launch one more instance of same UWP app from first app

My primary concern here is to know how to launch another instance of my UWP app from the same app itself, some code snippet or documentation link would be helpful. Below are the changes suggested by different links, but didn't found any thing…
Ankit Dhadse
  • 1,566
  • 1
  • 15
  • 19