719 questions
0
votes
1
answer
44
views
UWP | TabView class not recognizable from IDE
for some reason the XAML source code (see below) is not discoverable by the Integrated Development Environment (IDE).
<Page
x:Class="Network.Interface"
xmlns="http://schemas....
3
votes
2
answers
2k
views
What are my options for selecting/opening files and folders when using WinUI3/Project Reunion 0.5?
There is literally no working API available which allows users to simply click a button in my app and be presented with a dialog box which would allow them to select files. Am I missing something here?...
1
vote
1
answer
4k
views
What is the proper way to reference an image in winui
I am trying to display an image using the latest version of winui, without success.
Due to my lack of progress I assume I must be doing something terribly wrong, however, I can't determine what that ...
0
votes
1
answer
453
views
How to get bound property path for {x:Bind}
Using WPF I was able to get the path of a {Binding} bound property through the BindingExpression. In UWP is there a way to determine which property is bound using the {x:Bind} syntax? I need to ...
1
vote
1
answer
585
views
WinUI (Win32 and UWP) lags in resizing
I have a problem with a lag during WinUI application window resizing. I tried both Win32 and UWP options and in both cases, the redraw of the background is lagging and white borders show up. Also, the ...
1
vote
1
answer
195
views
How to electronize a UNO Wasm application
How can we run a Uno Wasm project through an Electron shell?
The official way of electronizing blazor doesn't work in uno, because there uno wasm runs abit differently (there is no Hosting to inject ...
3
votes
1
answer
184
views
SelectedItem selection lost when updating ItemsSource to the ItemsControl
I have a custom RibbonGallery control like in Excel, MSWord, and Outlook.
Please refer the Excel RibbonGallery image below and Normal selection still exists.
And I kept two ItemsSource, one for ...
0
votes
1
answer
593
views
Change foreground color of back button in UWP NavigationView
I try to change the foreground color of the back button in an UWP NavigationView. I managed to change all the other items in the side menu with this resources:
<SolidColorBrush x:Key="...
0
votes
1
answer
163
views
Switch to windows desktop from uwp app using button click in UWP App
I am trying to switch users from Windows application screen to Windows desktop using a single button click(C#) in the UWP application. please help, I am not able to find any solution. Thanks
0
votes
0
answers
643
views
Run cmd.exe as a admin to install the software's using c#
Technologies Used
Langauage : C#
Scripting : cmd.exe and commands
Front End : WIN UI, Xaml
Framework : .Net 5
I want to install bunch of 10 software's as a automated process from
c#.
Currently To ...
4
votes
0
answers
262
views
Cross-platform .NET webview with cookie and javascript support
I'm developing a cross-platform graphical desktop application in .NET 5. I'm currently using UNO Platform and WinUI 3 preview 3. I need to authenticate users to a remote website and store the ...
11
votes
4
answers
6k
views
How do I access Window Resources in WinUI 3
I've just started working on a WinUi 3 (Desktop) project and have got blocked trying to add Window resources to a Window.
I would have thought the following would work. However there appears to be no ...
1
vote
1
answer
1k
views
UWP: NavigationView.MenuItems results empty if populated programmatically
I created a new UWP project with a NavigationView (winui 2.4) in MainPage.xaml.
I proceeded by binding a hierarchical ObservableCollection to populate the NavigationView menu items (1 parent, 4 ...
5
votes
1
answer
682
views
Derive from IconElement or IconSourceElement in UWP
I'm trying to create the same custom symbol icon control as MS SymbolIcon, which will get the enum symbol values as input, and the equivalent path data value will be retrieved from the dictionary<...
0
votes
1
answer
233
views
UWP - CheckBox or Button is not visible
Using
Jetbrains Rider
Universal Windows Platform
Problem
The window is visible, but the buttons are not visible.
Question
How can I fix the problem?
Source code
using System;
using System.Collections....
0
votes
1
answer
110
views
How can I prevent XAML VisualStates from interfering with Windows UI Composition animation?
I believe the Windows.UI.Composition tools are conflicting with the XAML VisualStates on buttons.
GIF #1 When a button is in its Normal state, without the cursor hovering, the animations work and the ...
2
votes
0
answers
515
views
In UWP, how to have action button inside ItemRepeater?
I have an issue putting an action button in my ItemRepeater. I proceeded the same way as I do in ListView :
<muxc:ItemsRepeater Margin="0,24,0,0" ItemsSource="{x:Bind ViewModel.Team....
3
votes
0
answers
215
views
How to compile/build and package an MSIX project but in parallel?
I'm trying to create an msixbundle or an msixupload file that will be uploaded to the Microsoft Store. Currently I'm using Azure Pipelines to perform the build, which targets x86|x64. I now want to ...
0
votes
3
answers
6k
views
UWP C# WINUI NavigationView How to access other pages/views [closed]
I am writing an app using navigation view basing on Using the NavigationView in your UWP applications tutorial.
I hope someone can help to clarify 2 things
what is the best practice to place my ...
6
votes
2
answers
3k
views
UWP/WinUI desktop app access to Azure Key Vault secrets
Microsoft provides several ways to gain secure access to Azure Key Vault secrets, particularly using Managed Identity or Service Principals as identity providers. However, these methods are explicitly ...
1
vote
0
answers
860
views
WinUI 3.0 - UWP: Error on WebView2 Print functionality
In my WinUI 3.0 - UWP project, I have a WebView2 control that displays a simple html as follows. But when I call the following javascript code using ExecuteScriptAsync (as shown below), I get the ...
0
votes
1
answer
179
views
Place the Content Text at the center inside the teaching tip
I am using the teaching tip control from WinUi 2.4 in UWP,I want to place the content at the center of the teaching tip.But I anm not able to place the content at the center.I am not providing any ...
2
votes
1
answer
695
views
Unable to change the background colour of TeachingTip in UWP
I am using the teaching tip control from WinUi 2.4 in UWP, Want to change the background color. But the background value i give in xaml is not reflecting in control.
<winui:TeachingTip x:Name=&...
0
votes
1
answer
924
views
OnLoaded event calling again in UWP
I'm working with UWP with WinUI 2.5 prerelease and have noticed a strange behavior which doesn't happen in WPF.
So i'm using a TabView control and loading a Page in it. Every time a new tab is created,...
7
votes
2
answers
6k
views
The tag 'XamlControlsResources' does not exist in XML namespace 'using:Microsoft.UI.Xaml.Controls'
I was trying to use WinUI so I installed the plugin Microsoft.UI.Xaml (2.4.2) from Nuget
and followed the instructions which says add This <XamlControlsResources xmlns="using:Microsoft.UI.Xaml....