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

All Questions

Tagged with
0 votes
0 answers
15 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
9 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
29 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
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 ....
Alexandro Cardona's user avatar
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="...
Michael Rourk's user avatar
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 ...
Ron O's user avatar
  • 109
0 votes
1 answer
73 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
29 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
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 ...
NeoGenesis521's user avatar
-1 votes
1 answer
51 views

How to Convert Images for i2c oled in C# [closed]

I have a C# WPF App and I want to add the function to select an icon or png and convert it, so it can be send as a string to an arduino. There I want to display the Image on a i2c oled Screen. There ...
Serkan Kusche's user avatar
-1 votes
1 answer
44 views

C# WPF Change Text Event From TextBox

i have a problem. I made a new class called "LetterBox" this class inherits from TextBox everything is working for now. But here comes the problem: I need the Event or Function that "...
Aquedus's user avatar
  • 23
-1 votes
1 answer
48 views

How can we create customized toggle button in wpf C# [closed]

I have been trying to create a customized toggle button in WPF and C#, But I'm not able to achieve it. Here is the Image which I want to look like : Also it can has more than 2 options. enter image ...
Programmer's user avatar
1 vote
1 answer
36 views

How to add 2 different models as child node in DevExpress WPF

I have this class: public class Team { public int Id { get; set; } public string Name { get; set; } public ObservableCollection<Competency> Competencies { get; set; } = new ...
lonelydev101's user avatar
  • 1,743
-3 votes
1 answer
63 views

How to implement multiple buttons with same behaviors? [I need advice] [closed]

I am learning WPF and MVVM, my goal is to create a serial communication using SerialPort and update the UI to inform user whats happening. So program is communicating with cards(max 3) and each card ...
obtein's user avatar
  • 7

15 30 50 per page
1
2 3 4 5
7016