Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [wpf]

Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

0 votes
0 answers
27 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: ...
bil-bal's user avatar
0 votes
0 answers
13 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}"> <...
user26526535's user avatar
0 votes
0 answers
14 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 ...
J. Meyer's user avatar
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. ...
SteveP's user avatar
  • 425
-1 votes
1 answer
34 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 ...
Shivank Panchhi's user avatar
-1 votes
0 answers
28 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 ....
Alexandro Cardona's user avatar
0 votes
1 answer
35 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="...
Michael Rourk's user avatar
0 votes
0 answers
21 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 ...
Ron O's user avatar
  • 107
0 votes
1 answer
84 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# ...
VinDag's user avatar
  • 55
0 votes
0 answers
31 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 ...
rzantarra's user avatar
0 votes
1 answer
25 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 ...
NeoGenesis521's user avatar
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(...
Ivan's user avatar
  • 9
-2 votes
0 answers
22 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 ...
Ariel's user avatar
  • 1
0 votes
0 answers
16 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 ...
Igor's user avatar
  • 278
-2 votes
0 answers
35 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 ...
faith0058's user avatar