|109405||Jun 11,2013 11:05 AM||Jun 18,2013 08:12 AM||WPF||1|
<syncfusion:TabControlExt x:Name="tabs" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" TabStripPlacement="Bottom" TabIndex="1" IsNewButtonEnabled="True" NewButtonClick="tabs_NewButtonClick" PreviewMouseDown="tabs_PreviewMouseDown"> <syncfusion:DockingManager x:Name="dock" UseDocumentContainer="True" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ContainerMode="TDI" TabGroupEnabled="True"/> </syncfusion:TabControlExt>
//Code for adding a new control to the window
public void AddControl(string header, FrameworkElement control)
var activeTab = GetActiveTabFromTabControl();
var dock = activeTab.dock;
What this does is add a new control to the active tab but it's always docked to the left and sized to the content of the containing control.
Also if I keep adding controls to it they stack up to the right and even go out of the screen without a scrollbar appearing.
I've tried multiple versions of setting the DockState and DockSide on the control but none of that seems to make any difference.
What am I missing?
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.