Devexpress WPF DXTabControl停止选项卡浮动

时间:2020-09-24 15:30:55

标签: wpf devexpress devexpress-wpf

我继承了不是公司的人制作的WPF应用程序,因此,如果我错过了一些细节,请道歉。

我们有一个Devexpress组件DXTabControl,它是一个选项卡控制器。我想阻止选项卡弹出和浮动。

我尝试将所有内容都设置为false,但它仍然会使制表符浮动

<dxdo:DockLayoutManager x:Name="DockManager" Grid.Column="1" ClosingBehavior="ImmediatelyRemove" Background="Transparent" DockingStyle="VS2010" >
            <dxdo:LayoutGroup x:Name="Root" AllowMove="False" AllowDrag="False" AllowDock="False" FloatOnDoubleClick="False" AllowFloat="False" AllowSizing="False" AllowActivate="False" AllowClose="False" AllowMaximize="False" AllowMinimize="False" AllowRename="False" AllowRestore="False" AllowHide="False" AllowContextMenu="False" AllowSelection="False">
                <dxdo:LayoutGroup Orientation="Horizontal" DestroyOnClosingChildren="False" GroupBorderStyle="Tabbed" >
                    <dxdo:DocumentGroup x:Name="DocumentsContentRegion" regions1:RegionManager.RegionName="{x:Static prism:RegionNames.Content}" Margin="0,5,0,0"  DestroyOnClosingChildren="False" AllowClose="False" MDIStyle="Tabbed" AllowFloat="True" AllowDrag="False" AllowSplitters="False" DestroyContentOnTabSwitching="False" AllowHide="False" ShowWhenEmpty="False" ClosePageButtonShowMode="InActiveTabPageHeader" />
                </dxdo:LayoutGroup>
            </dxdo:LayoutGroup>
        </dxdo:DockLayoutManager>

0 个答案:

没有答案
相关问题