Home Forums WPF controls Xceed Toolkit Plus for WPF AvalonDock Newbie Question

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • cvdevol
    Participant
    Post count: 4
    #43740 |

    How do I get the side panels to be collapsed (with just the tabs showing) when the program starts? Can’t find any appropriate properties in the LayoutAnchorable, LayoutAnchorablePane, or LayoutAnchorablePaneGroup classes.

    Fawzi [Xceed]
    Member
    Post count: 722

    Hi,

    You can use a LayoutAnchorSide and put it on a side :

    <xcad:DockingManager MaxHeight=”395″
    BorderBrush=”Black”
    BorderThickness=”1″>
    <xcad:LayoutRoot x:Name=”_layoutRoot”>

    <xcad:LayoutRoot.LeftSide>
    <xcad:LayoutAnchorSide>
    <xcad:LayoutAnchorGroup>
    <xcad:LayoutAnchorable Title=”Agenda”
    ContentId=”agenda”>
    <TextBlock Text=”Agenda Content”
    Margin=”10″
    FontSize=”18″
    FontWeight=”Black”
    TextWrapping=”Wrap” />
    </xcad:LayoutAnchorable>
    <xcad:LayoutAnchorable Title=”Contacts”
    ContentId=”contacts”>
    <TextBlock Text=”Contacts Content”
    Margin=”10″
    FontSize=”18″
    FontWeight=”Black”
    TextWrapping=”Wrap” />
    </xcad:LayoutAnchorable>

    </xcad:LayoutAnchorGroup>

    <xcad:LayoutAnchorGroup>

    <xcad:LayoutAnchorable ContentId=”properties”
    Title=”Properties”
    CanHide=”False”
    CanClose=”False”>
    <Button Content=”TEST”
    HorizontalAlignment=”Center”
    VerticalAlignment=”Center” />
    </xcad:LayoutAnchorable>

    </xcad:LayoutAnchorGroup>
    </xcad:LayoutAnchorSide>
    </xcad:LayoutRoot.LeftSide>
    </xcad:LayoutRoot>
    </xcad:DockingManager>

    cvdevol
    Participant
    Post count: 4

    Thanks! That worked.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.