Does XAML allows modification of bound value?
Like Width="{Binding Elementname="lstMine", Path=Width}" -100
? So that I can have a relative value.
You can use converters for this purpose, and my WPF Converters library includes an ExpressionConverter
that allows you to do exactly that:
Width="{Binding Width, ElementName=lstMine, Converter={con:ExpressionConverter {}{0}-100}}"
use Converter for these purpose
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With