So i have this:
<system:Int32 x:Key="ListViewPacketManipulationOptionsComboBoxSelectedIndex">0</system:Int32>
And when This Value is > 0 i want my TextBox IsEnables=True :
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return (int)value > 0;
}
My TextBox:
<TextBox x:Name="tbHeaderOriginValue"
IsEnabled="{DynamicResource ListViewPacketManipulationOptionsComboBoxSelectedIndex}"/>
Currently I did not find any way to add my Converter.