Questions tagged [wpf]
Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.
169,903
questions
0
votes
0
answers
20
views
What is the common way to handle CS8602 in a WPF RelayCommand?
If a nullable property gets used in the Execute part of a RelayCommand, and that property is already checked against null in the CanExecute method, what is the proper way to handle the CS8602: ...
0
votes
0
answers
8
views
WPF Multibiding how to enter ElementName when the target element is in a different UserControl
In my WPF Window i have button with command
<Button.CommandParameter>
<MultiBinding Converter="{converters:Converter_MultipleCommandParameters}">
<...
0
votes
0
answers
12
views
Validation gets lost on tab change
I am using a tab control to group different input fields like text boxes. I am validating the user input of those text boxes via IDataErrorInfo in my view model.
Now, when the user input is not valid ...
0
votes
1
answer
11
views
Telerik UI WPF - How Can I Add a DocumentVariableField to a Table Cell Programmatically
We are using Telerik UI for WPF and are creating a table which then gets inserted into a RadRichTextBox. We need to add a DocumentVariableField to one of the cells, can anyone please advise.
...
-1
votes
1
answer
30
views
How does the `CalculateButton_Click` method validate and update `HourlyEmployee` and `CommissionEmployee` properties, and handle input errors? [closed]
I need to understand how the CalculateButton_Click method in my WPF application handles input validation and updates for HourlyEmployee and CommissionEmployee objects. Specifically, how does it check ...
-1
votes
0
answers
25
views
My WPF app is not displaying text correctly in some datagrids [closed]
This is the UI on a windows 10 machine
This is the UI on my IDE and other PCs
As you can see the text is missing and the context menu isn't openning
I tried reinstalling graphics drivers, updating ....
0
votes
1
answer
34
views
WPF Combobox Binding not updating
I have a WPF app with two comboboxes that represent production/mfg engineers assigned to a job, where CurrentEngNotice is the relevant job:
<TextBlock Text="Product Engineer:" Style="...
1
vote
0
answers
18
views
UserControl custom ItemsSource set not called [duplicate]
Reference: Custom ItemsSource property for a UserControl
I have a custom UserControl to display a set of aggregate data for the window it's contained in (a list of downloads). The basics of the ...
0
votes
1
answer
75
views
BeginInvoke behavior different in WPF and WinForms
I have an application I am working on in WPF. It uses a serial port connection. I have created a class that wraps the serial port connection and manages buffers, etc.
I developed it when writing a C# ...
0
votes
0
answers
30
views
Check Box failing to Visually update in WPF C# Xaml
I'm working on a program that will take an existing list and allow users to select an item individually or with a Select all Check box.
When the select all checkbox is ticket, there is no visual ...
0
votes
1
answer
21
views
How to send commands to the WPF application to show the Balloontips and System Tray Icons using IPC Named Pipes in c#?
I am trying to create a service with WPF where the service will communicate with WPF telling the WPF to display icon tray and ballontip.
I have designed the following codes:
App.xaml.cs
namespace ...
0
votes
0
answers
14
views
Textbox User Control with custom property to binding not working [duplicate]
I have a user control made up of a TextBox "txtClientCode" inside a stack panel control and it has a property called Value
public string Value
{
get { return (string)GetValue(...
-2
votes
0
answers
20
views
program C# application winForm and wpf on windows embedded
My company considers working on a windows embedded operating system. i already have applications developed in winform wpf, is it possible to execute theme in windows embedded operating system?
If not ...
0
votes
0
answers
14
views
How to get an event when user resize WPF DataGrid column by mouse
How to get an event for column resize invoked by user interaction (mouse left button + mouse move).
I tried SizeChanged event, but it is triggered also when new items are added to the DataGrid (with ...
-2
votes
0
answers
33
views
Positioning many child windows
So, im having an app, where i have to create lots of windows and this windows i use to render in them, so i have to create another window that acts like an overlay. Here is what im doing to set them ...