views:

25

answers:

0

I want to set CanContentScroll to false of ScrollViewer that a Textbox have by default.

I tried by setting normal - ScrollViewer.CanContentScroll to false. Dint Work.

Override the default template of Textbox and set CanContentScroll of scrollviewer to false. Dint work.

Also tried by overriding the style of Scrollviewer and setting cancontentscroll of ScrolLContentPresenter's to false. Even this doesnt unset the CanContentScroll of scrollviewer.