Top "Ivalueconverter" questions

IValueConverter is an interface defined in Microsoft .NET XAML for use in WPF, Silverlight and Xamarin.

XAML can't find the converter class

I'm displaying a popup with the following code: <Popup PlacementTarget="{Binding ElementName=categoryTagEditorControl}" Placement="Bottom"> <Popup.IsOpen&…

c# wpf xaml ivalueconverter
Use IValueConverter with DynamicResource?

Is there a way to define a converter when using the DynamicResource extension? Something in the lines of <RowDefinition …

wpf binding ivalueconverter dynamicresource
Passing values to IValueConverter

I have a ListView that has a Grid with two columns and many rows. Each row has a TextBlock in …

c# wpf listview mvvm ivalueconverter
DataContext as Source for Converter Binding Within Resources

<Canvas.DataContext> <ViewModels:VMSomeControl Model="{Binding RelativeSource={RelativeSource TemplatedParent}}" /> </Canvas.DataContext> <!-- DataContext …

wpf binding datacontext controltemplate ivalueconverter
WPF string to double converter

Could someone give me some hints as to what I could be doing wrong? so I have a textblock in …

c# wpf ivalueconverter
Improved IValueConverter -- MarkupExtension or DependencyObject?

I saw online 2 different approaches to enhancing an IValueConverter. One of them extended a ValueConverter from MarkupExtension, the other from …

c# wpf ivalueconverter markup-extensions dependencyobject
Null To Boolean IValueConverter not working

How do I use an IValueConverter to convert nulls into booleans? I'm using wpf to try to display a bunch …

c# wpf null ivalueconverter
WPF IValueConverter - converting multiple values into a single value

I'm trying to maintain someone else's code right now where that person is a WPF expert. I, on the other …

c# .net wpf ivalueconverter
When does ConvertBack method get called?

I know that when data is about to be displayed, Convert() method is called to convert the data and the …

c# wpf silverlight binding ivalueconverter
The point of ValueConversionAttribute class?

What is the point of this attribute? After adding it I still need to make a cast on value object. […

c# wpf ivalueconverter