wpf - How to set the Scrollbar according to the inner control -
i having user control hooked main window @ run time. so, user control gets width , height in main window.
now, user control having expander control , on click of expander other sub user control shown user , these sub user controls of different width , height.
so, when small sub user control shown on click of expander, control shown in correct manner if sub user control's size large main user controls width or height, have scroll down see full view of sub user control.
now want if sub controls size more user controls size, default full view should shown, have set scroll bar on click of expander. so, how set scrollbar vertically according size of sub user control in xaml part
Comments
Post a Comment