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.
Since there is no Width set on the root SplitPane, it will size based on the content. So for a pane docked left/right you can set a Width on the root SplitPane.
I don't want to set the size of the root SplitPane. It is inside a XamDockManager and I want it to take up all the available space relative to the size of the window and the space left over from the other Panes inside the XamDockManager.Panes.