Anyway to bypass control event firing during Page.Loaded event?
Simplified scenario: <ToggleButton x:Name="fuzzySearchToggle" Checked="fuzzySearchToggle_Checked" Unchecked="fuzzySearchToggle_Checked"/> bool _loading = true; private…
Authenticate the Azure App Services with the Microsoft Entra ID in UWP app
Hi, We are utilizing Azure App Services for our Azure Mobile Apps table in the UWP apps. Our mobile apps currently access the Mobile Apps table with anonymous access level via Azure App Services. However, we have decided to enhance the security of our…
Problem with XAMLReader
Hello, I have a xaml file in my Assets folder "MainPage1.xaml" defined as below. <StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:local="using:Label" > <Grid…
TextBlock and TextAlignment=TextAlignment.Justify
Hello, I have such issue: When I set TextBlock.TextAlignment as TextAlignment.Center, the TextBlock's mouse events arent fired. If I set other TextAllignment all works Code below: XAML <Canvas x:Name="cnv"> …
DeniedBySystem returned when i was used PhoneLineTransportDevice::RequestAccessAsync
I try to requset PhoneLineTransportDevice access with below code. It works fine in my Win10 22H2, but failed when i try to run in my Win11 23H2. would you like to give some advice? 1, Why it was failed DeniedBySystem in win11 ? 2, How to solve it…
Enable FrameworkElements reflection using rd.xml file
Hello, Reading Microsoft docs I found informations about rd.xml file. Can I set in that file that metadata from FrameworkElements or Shapes wont be removed during compilation? And I will be able to fully using reflection after release type…
How to apply Width and Height of Text on CanvasDevice's DrawText, that means some text width is too small some text too high how to calculate this and apply
//JSON file "Templates": [ { "TemplateID": "1", "TemplateName": "WHITE", "CardFeeder": "A", "Sides": [ { "Side":…
How can I find the Text (width/length/ending point) in CanvasDevice via CanvasDrawingSession
fontFamilyName = $"ms-appx:///Assets/HelveticaNeue-Bold.ttf"; CanvasTextFormat FNtextFormat = new CanvasTextFormat { FontSize = CardTheme.FN.FS, …
How to paste image to canvas from WebView2?
In C# uwp project i want to paste image from a WebView2 to my Canvas. I tried to implement that in 2 ways: with drag n drop and with right click copy. Drag n drop cannot be possible because i cannot drag the image from webview2, so the subscribed drop…
I'm trying to release this uwp app on visual studio 2022 but it won't run I get this problem as shown from screenshot
I'm trying to release this uwp app on visual studio 2022 but it won't run I get this problem as shown from screenshot
Any way to specify binding source datatype?
I have Microsoft.Toolkit.Uwp.UI.Controls.DataGrid package in my project. Given the following XAML: <toolkit:DataGrid x:Name="resultDataGrid" <!-- How specify datatype of ItemsSource without specifying ItemsSource? --> …
How to get current memory usage by OS/device in a UWP Windows10 app programmatically?
Hi Everyone, I am working on a Windows 10 UWP app and I am trying to get to current memory usage by OS in an app like we see the memory in task manager. I am unable to find a solution. Did anyone come across such a requirement or worked on it? Please…
How do I make a list of button functions to Choose Default Search Engine uwp app made on visual studio 2022
How do I make a list of button functions to Choose Default Search Engine uwp app made on visual studio 2022
Need help on XAML syntax for ThemeResource and binding in DataTemplate
I have the following code and XAML: class FileCategory { public string Code { get; set; } public string Name { get; set; } } <!-- <Page.Resources> section contains theme resources --> <ComboBox.ItemTemplate> …
How get shell icon of a file in UWP?
In WIN32 SDK, I can call SHGetFileInfo to get the shell icon of a file used by system (used in File Explorer). Is there any equivelant API for this purpose in UWP?
How do I make a add new tab button for a uwp web browser app made on visual studio 2022
How do I make a add new tab button for a uwp web browser app made on visual studio 2022
How do I make a home button for a uwp web browser app made on visual studio 2022
How do I make a home button for a uwp web browser app made on visual studio 2022
On visual studio community 2022 These numbers circled in blue is that what you call Lines
On visual studio community 2022 These numbers circled in blue is that what you call Lines
Communication channel between a windows app and UWP app
I have a UWP project and a Windows app (.NET 5) both installed on the same machine, which will also be the case in production. However, the UWP app is sideloaded and not installed via the Windows Store. The Windows app retrieves data by listening to a…
test a question
test test test test