Can Windows.Devices.WiFi.WiFiAdapter API be used in a WPF desktop app
From my WPF desktop application, I need to list available WiFi access points, and monitor a WiFi connection. Can this API provide the services I need?
Trigger, Datatrigger - what's the difference?
Hi , my goal is select the first row inside the Datagrid. Works well with MoveCurrentToFirst. Only if the control get the focus is it blue. Is there a way to control it from the code? And if the focus is the DataGrid, the default…
how make a program to manage the PC
Hello. I want to make a program to manage the PC. Like screensavers, active directories. Q1. Only authorized users can use the PC. The lock screen is displayed and the lock is unlocked online with the specified ID and PW. When the usage time…
C#, WPF Desktop, set focus to a textbox after mouse button click
Hello, Is there a way to set the focus on a TextBox control after a mouse click on a button? Right now, I'm taking the long way around. Button click. Delete Textbox Set the focus because length is 0, but works well.
C#, WPF Desktop DataGrid select first row.
Hello, <DataGrid Grid.Column="0" ItemsSource="{Binding View1}" IsReadOnly="True" AutoGenerateColumns="False" FontSize="18"…
Fade In/Out Window Transition In WPF
Hi, I am trying to create a transition between two windows, as one fades in the other fades out, in WPF. Below is my attempt to do this but have become stuck as I don't know what parameter I need to pass to the Begin() method in my PlayTransition()…
WPF C# Desktop App - Multilingualism, opportunities
Hello, Which possibilities do I have to deliver an application multilingual? Switching during runtime. Read out when the app starts With language identifier? Textfile? Thanks for good tips with examples. Greetings Markus
Find Window Form App design view on Visual Studio
Hi, Months ago, I downloaded a sample project from github, then I make a few changes to the UI of a WFA in that project (add some buttons, labels, ...). The problem is: I'm trying to re open the WFA design view to make some modification to that UI, but…
How do I install multiple clickonce(online only) apps from one clickOnce app? Preferably silently because i don't want a prompt for each installing app
My company has several ClickOnce(online only) apps that are actively in use and my job is to make an app that installs the necessary apps from one location(my app). All of which run from our local intranet server. I have found a way to silently install…
How can i display selected cell on datagrid, when modal is displayed
Hello, We have a Datagrid, which display a Modal window for each cell(a cell is product o x features filled inside modal). We have a requirement that when modal is displayed, the datagrid should highlit corresponding cell. The problem which we have is,…
Rendering issues when embedding a Win32 window inside WPF
Hello, We have a pretty big WPF application, and the task in hand is to embed a Win32 window (with C++ (QT) content in it) onto one of the WPF pages. Since this is a classic Win32/WPF interoperation, the natural way of implementing this is to use a…
Are there alternatives to MSIX packages for .NETCore 3.1 Desktop WPF Apps hosting EFCore
I have created a .NET Core 3.1 desktop WPF app that hosts EntityFrameworkCore. The application runs in debug mode without error. My application requires the following Nuget packages: microsoft.entityframeworkcore,…
Internal mouse handling in WPF app
Hello, I am building a game in wpf for a school project and I have noticed that the UI thread clogs up when I move the mouse over any window within the application (DispatcherTimer ticks are less frequent, which casues my game to lag and tear). Is…
HD Camera Desktop Application on Windows 10
Hi, I've tested some older applications and camera library with HD camera on Windows 10. But it does not work properly, it has a delay on preview. However Camera application on same Windows 10 machine works normal without delay. I suppose the…
WPF - C# Desktop App - XAML Window from left, top corner
Hello, The goal is to make it easy to place controls. I do something wrong, but what? As soon as I select a control, move it, the margins go into the code. Then nothing can be understood. What is the procedure for this simple…
Looking for a good way to check which button was pressed with the command pattern.
Hello, I'm looking for a good way to check which button was pressed with the command pattern. Maybe you can make s sample with more buttons OK Cancel Yes No Wait public partial class MessageBoxTest : Window { public…
How can I handle two receive handlers correctly?
Hello, I have a control application that receives information from two handlers WPF - Desktop App ----- Handler1 ------- Handler2 If I'm in handler 1, handler 2 will have to wait and reverse. Is a locker object…
WPF - C# Desktop App - Is there a way to call a Windows form from C# WPF?
Hello, Is there a way to call a Windows form from C#WPF? The idea is to create a separate message box. Or a WPF message box. With best regards Markus
WPF getting started
I am new to WPF, i have a requirement at client to do some WPF. Can someone please advise how do I get started in WPF ? I have knowledge on c#. Please provide some links or videos that may help. Thank you in advance
WPF - C# Desktop App - good way for layout, xaml
Hello, sometimes everything is moved, sometimes inexplicably. Is there a short instruction somewhere, when to take what and how. TextBlock, Stackpanel. I created this dialog, all at once there were rows and columns in it, then the layout was…