UWP app flickering on ARM PC
Hi everyone. I have an UWP application and I'm running on a ARM PC. When I open a customized content dialog the screen starts blinking. Unfortunately, I cannot show the application nor the code, but do you guys know some cases that an ARM PC blinks…
Why do i get this error
When i start debugging and i press a NavigationMenuItem, i get this error (See Screenshot). the NavigationPages are in the folder NavigationMenu. Does anyone know how to fix this My code is MainPage.xaml …
How to refresh DB connection in a WPF app using MVVM pattern with Entity Framework and Oracle as DB?
I have a WPF application that uses Entity Framework and Oracle as the database and follows the MVVM pattern. Each ViewModel initializes its own DBContext and uses it. When I click a button/link then, it refresh the DB connection. Also how to add the…
C# Program can't find XAML page in DLL
I have a program with a window declared as StartWnd (in the main assembly) derived from a class, WzdBase in a DLL which in turn is derived from System.Windows.Window. StartWnd doesn't provide its own XAML page. Rather that's in the DLL and provided by…
Touch two buttons at same time, both stay toggled - WinUI 3
I have a touchscreen PC and when I touch two buttons at the same time they toggle (as if they were pressed and released) in a WinUI 3 Application. UWP this does not happen. Not touched: Both touched and released:
Why does BasedOn?
Severity Code Description Project File Line Suppression State Error (active) XFC0009 No property, BindableProperty, or event found for "BasedOn", or mismatching type between value and property. TipCalculator…
How to design a login page with fully responsive page as like as Web page (Using Blend or VS 2023)
I need to build a pages for WPF app using XAML in such way that each page should be responsive as like as in the browser web pages(Microsoft Blend or Visual Studio 2022). For an example login page, sign up page or any other pages for a WPF app. …
How can I change the border color of a NavigationView in WinUI 3?
Which property is it in the generic.xaml? I can't even find the TargetType. Lines within the red rectangles.
How to align a WPF window to a child of a second window?
So I've been trying to get a System.Windows.Window to be aligned with a control in a second Window. In the image, the magnifying glass is the control I want to align to. There's padding around the icon. The dark gray box with the +- buttons is the…
How to dynamically enable a button in WPF Forms with C#?
Hi, I am new to WPF but not to C#. I am working on a application where I have several buttons and I need to change the state of the buttons based on certain conditions. For instance, I have this "Add User" button which will be enabled only if…
Mysterious XAML “The name "X" does not exist in the namespace” error won't go away
I'm working on a XAML/C# project. I have a custom abstract class derived from `System.Windows.Controls.UserControl`: `PageBase`. Visual Studio 2022 keeps telling me it can't find `PageBase` in the namespace. The…
An unexpected behavior occurs when set a long string in the TextBox
Hello, This problem happens when I try to put a string with a length greater than 15.684 characters. The height of TextBox increases abruptly and the TextBox turns into non-editable. Please, help me handle it Example
What is the format in VS 2022 for "Custom Expression"?
In working on a WPF application in Visual Studio 2022, if you expand the property window for Brush, you get the following display. If you click the small down arrow in the Editor tab, you get the following menu: If you select Custom Expression..., you…
Strange line appears when Hover in ARM pc
Hi there. I created a UWP application with a command bar and I'm using it on an ARM computer. There is a tiny diagonal line when hovering the icon and in other buttons happen the same error: My code: <StackPanel x:Name="grid"> …
how do I convert an XML file that Visual Studio generates into something useful like a help file
I am trying to find a good way to document my programs and libraries that I create in Visual Studio. I understand how to make the XML comments and generate the XML file. But, then, what can I do with it? I have found various suggestions on the…
How to remove the clear button at the end of the TextBox in WinUI3
If the TextBox is getting focus and there chars it, there will be a X button appear, so how to remove or hidden the button.
Text inversion in right-to-left languages such as Persian in the Itextsharp Paragraph
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I want to add Persian text to the PDF headline, but when I do this through the iTextSharp.text.Paragraph class, I get into trouble. I can solve this…
Change RadioButton Color in Combined States - WinUI/UWP
Hello. I'm trying to change the radio button color according to combined states: CheckedPressed, UncheckedPressed, CheckedPointerOver, CheckedDisabled, UncheckedDisabled. How can I do that? I added these states but didn't work.
Unable to disconnect device on Samsung Android devices when Bluetooth connection is off
I am using the Ble.plugin to connect to BLE devices. However, I am having trouble disconnecting the device when Bluetooth is turned off on Samsung mobile devices. I can successfully disconnect on all other Android devices except for Samsung. Can someone…
How to flatten the XML
Hi have a complex XML structured as per attached below. How can I flatten the XML using XSLT? I have attached the expected sample flatten xml(expected_ouput_flat_oder_xml.xml) based on the complex xml(Order_xml.xml) I provided. I have tried using the…