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
2
votes
2 answers

UWP Community Toolkit MasterDetailsView not binding as expected

I've been trying to implement the MasterDetailsView from the UWP Community Toolkit, with very little success. I mirrored the SampleApp source code with my own classes, and could not get the List I was using to display in either the Master or the…
Keven M
  • 972
  • 17
  • 47
2
votes
2 answers

How to put UI Element always on the top in UWP

I am working on UWP app which has few views and a banner ad view. I want the banner ad view to be on the top always, it should not hide behind any other elements. My setup: I have a stack panel in which there are other elements and the banner is…
Raj Suvariya
  • 1,592
  • 3
  • 14
  • 36
2
votes
0 answers

AAD Login throws NotImplementedException

I trying to add the AAD Login Control to my UWP application. I've set the Instance on Startup: MicrosoftGraphService.Instance.AuthenticationModel = MicrosoftGraphEnums.AuthenticationModel.V2; …
NPadrutt
  • 3,619
  • 5
  • 24
  • 60
2
votes
0 answers

Windows Toast Notification throws 0x80070005 (E_ACCESSDENIED) when running as admin

I am showing a windows 10 toast notification in my c# netcore 3.0 application with following code using https://www.nuget.org/packages/Microsoft.Toolkit.Uwp.Notifications/: const string _appId = "Windows.SystemToast.Explorer"; var toastContent =…
Jenny
  • 572
  • 4
  • 16
2
votes
1 answer

How to use WindowsCommunityToolkit TextBoxMask properly?

I'm trying to use TextBoxMask from WindowsCommunityToolkit but i have some strange behaviors. XAML code :
Geoffrey Lalloué
  • 1,456
  • 1
  • 20
  • 43
2
votes
1 answer

App does not compile in X64 (but correctly in X86) after Toolkit.UWP update to V5.0

After update of Toolkit (and Windows 10 SDK) app does not compile in X64 (but works correctly in X86). Here are the errors: ILT0005: 'C:\Program Files (x86)\Microsoft…
Pierresa
  • 89
  • 5
2
votes
2 answers

UWP Community Toolkit DataGrid control : how to align cell content to right

I have a numeric column in a DataGrid I want its content be right-aligned. I have read the docs, mostly Customizable templates and styling for cells, rows and headers where I ended up with this code to accomplish right-align cell…
2
votes
1 answer

UWP Master/Details accessing MasterMenuItem

I have been trying to access the MasterMenuItem property after loading the details page, but I always get error that the MasterMenuItem is empty. What I am trying to do is after selecting an item in the MasterPage, I want to get the item's ID to…
2
votes
2 answers

is it Possible to apply ColorAnimationUsingKeyFrames to a DropShadowPanel?

I'm using UWP and I'm trying to apply Color animation using Keyframes to a DropShadowPanel from the UWP Community Toolkit. but I haven't been able to succeed so far I've been able to apply DoubleAnimation to BlurRadius Property and Opacity Property…
2
votes
1 answer

How to add a list of allowed URI's for WebView's "ScriptNotify" in a WPF app?

I'm trying to call a C# method using "window.external.notify('my message');" from JavaScript and it doesn't appear to be working. My guess is that I have to add the current window.location a list of allowed domains, but how can I do this in a WPF…
user2800679
2
votes
0 answers

Is it possible to implicitly animate an element's size using the XAML Composition extensions?

I'm attempting to achieve automatic animation of size changes for elements. I think there's some interplay of Composition and XAML I don't fully understand. First, I tried using the XAML extensions from the toolkit:
2
votes
1 answer

installing UWP notifications nuget package

I'm trying to install Microsoft.Toolkit.Uwp.Notifications -Version 2.2.0 Nuget package for the following solution structure. JSProj (universal App) - Targeting build 10586 contains js App which has CSProj reference and can call C# method …
Prajwal
  • 3,930
  • 5
  • 24
  • 50
2
votes
1 answer

UWP Community ToolKit OneDrive Service Error AADSTS65005

When attempting to access "Work or School Account" using the UWP CT OneDrive Service in my UWP store registered app, the Connecting to a service dialog returns - AADSTS65005: The application " required resource access list does not contain…
Mike N.
  • 23
  • 5
2
votes
1 answer

MVVM command binding to UWP toolkit hamburger menu

I try to use MVVM pattern to bind ItemClick and OptionItemClick events to command. According to the document https://developer.microsoft.com/en-us/windows/uwp-community-toolkit/api/microsoft_toolkit_uwp_ui_controls_hamburgermenu there is no Command…
hardywang
  • 4,864
  • 11
  • 65
  • 101
1 2
3
23 24