我有一组LayoutAnchorablePaneGroup
如下,
<xcad:LayoutRoot>
<xcad:LayoutPanel Orientation="Horizontal">
<xcad:LayoutAnchorablePaneGroup Orientation="Horizontal" >
<xcad:LayoutAnchorablePane DockWidth="150">
<xcad:LayoutAnchorable Title="Folder" CanClose="False">
...
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorablePane>
</xcad:LayoutAnchorablePaneGroup>
<xcad:LayoutAnchorablePaneGroup Orientation="Horizontal" >
<xcad:LayoutAnchorablePane DockWidth="450">
<xcad:LayoutAnchorable Title="Documents" CanClose="False">
...
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorablePane>
</xcad:LayoutAnchorablePaneGroup>
<xcad:LayoutAnchorablePaneGroup Orientation="Vertical" >
<xcad:LayoutAnchorablePane DockWidth="200">
<xcad:LayoutAnchorable Title="Properties" CanClose="False">
...
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorablePane>
<xcad:LayoutAnchorablePane >
<xcad:LayoutAnchorable Title="Search" CanClose="False">
...
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorablePane>
</xcad:LayoutAnchorablePaneGroup>
<xcad:LayoutAnchorablePaneGroup Orientation="Horizontal" >
<xcad:LayoutAnchorablePane DockWidth="*">
<xcad:LayoutAnchorable Title="Viewer" CanClose="False">
...
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorablePane>
</xcad:LayoutAnchorablePaneGroup>
</xcad:LayoutPanel>
</xcad:LayoutRoot>
我想设置每个LayoutAnchorablePane
的宽度。我试过在组级别上设置它,没有效果。
注意:我没有一个LayoutDocumentPane
,如果我已经添加了LayoutDocumentPane
,我可以得到正确的宽度。
任何帮助
1条答案
按热度按时间ih99xse11#
我做了一些研究,提出了
Grid
和DockPanel
的解决方案