the xaml code below overlaps boundaries of expander. when run this, , click first expander option, expand , show rich text box. cannot scroll it. no problem second expander. how solve problem?
<expander header="certificate" margin="201,85,101,143"> <scrollviewer width="283" height="106"> <richtextbox name="richtextbox1" margin="0,0,0,0" height="82" width="221"> <flowdocument> <paragraph> 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 </paragraph> </flowdocument> </richtextbox> </scrollviewer> </expander> <expander header="challenge" margin="201,122,86,81"> <scrollviewer width="283" height="106"> <richtextbox name="richtextbox2" margin="0,0,0,0" height="82" width="221"> <flowdocument> <paragraph> 11 11 11 11 11 11 11 11 11 12 11 01 02 00 10 12 11 01 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 </paragraph> </flowdocument> </richtextbox> </scrollviewer> </expander>
<stackpanel> <expander header="certificate" > <richtextbox name="richtextbox1" width="283" height="106" scrollviewer.verticalscrollbarvisibility="auto"> <flowdocument> <paragraph> 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 </paragraph> </flowdocument> </richtextbox> </expander> <expander header="challenge" > <richtextbox name="richtextbox2" width="283" height="106" scrollviewer.verticalscrollbarvisibility="auto" > <flowdocument> <paragraph> 11 11 11 11 11 11 11 11 11 12 11 01 02 00 10 12 11 01 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 00 10 12 11 01 02 </paragraph> </flowdocument> </richtextbox> </expander> </stackpanel>
Comments
Post a Comment