python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
WPF Converter: Unable to cast object of type 'System.Int32' to type 'System.Windows.Controls.ListViewItem'
In a GridViewColumn I have below converter:
<GridViewColumn Header="Number"
DisplayMemberBinding="{Binding (ItemsControl.AlternationIndex),
...

Willy
Votes: 0
Answers: 1
Regular expression issues in .net 6 value converter
I am trying to learn some .net6 and c# and I am struggling with regular expressions a lot. More specificaly with Avalonia in Windows if that is relevant.
I am trying to do a small app with 2 textboxes...
JorgeLL
Votes: 0
Answers: 1
How to override exception message generated by IValueConverter
I would like to override message provided by the custom conversion class which inherits IValueConverter interface.
public class BoolConverter : IValueConverter
{
public object Convert(obje...
veldo
Votes: 0
Answers: 0
How to properly compute URI from ValueConverter in WPF
I have a simple application where I want to swap out image based on a value converter. Upon testing the images shows fine when directly bound to the code behind of a user control.
public partial class...
jwize
Votes: 0
Answers: 0