Are value converters instantiated per-binding in WPF?
问题 Is a separate WPF value converter object instantiated for each binding that a particular value converter class is used in? I am trying to create a two-way bit-to-boolean value converter. I would like to be able to bind a bool property (such as IsChecked ) to a bit in a value type (like a ushort ). I'm using the converter's parameter arguments to specify the bit. Implementing the ConvertBack() method is easy, but Convert() is little trickier. In Convert() I need to know what the value of the