Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Textbox Resizes in a SplitPane?
posted

In the example below, the TextBox will resize if the text ever grows past the width of the TextBox. How do I prevent the Textbox from increasing in width? I want neither the Textbox or the SplitPane to change size if the text is too large to fit in the Textbox.

 

<igDock:SplitPane Name="splitPaneWFProperties" igDock:XamDockManager.InitialLocation="DockedRight" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
   <igDock:ContentPane x:Name="variableToolboxPane"  AllowClose="False" AllowDockingBottom="False" AllowDockingTop="False"
      AllowDockingFloating="False" AllowFloatingOnly="False" AllowInDocumentHost="False" AllowDockingInTabGroup="False" Header="Variable Toolbox" 
      ScrollViewer.HorizontalScrollBarVisibility="Disabled">
         <TextBox></TextBox>
   </igDock:ContentPane>
</igDock:SplitPane>

 Thanks.

Parents Reply Children