|
I have a RichTextBox with attached property:
<RichTextBox x:Name="rtf" wpfPages:ScrollBarUtils.VerticalScrollValue="{Binding ElementName=scroll, Path=Value}"/>
which binds to ScrollBar.Value property.
I want to bind back ScrollBar.Value to this attached property. Smth like this:
<ScrollBar x:Name="scroll" Value="{Binding ElementName=rtf, Path=(wpfPages:ScrollBarUtils.VerticalScrollValue)}"/>
Please advice how can I do it?
savbace
|
|
|
|