Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: How to set the title for LayoutAnchorable from MVVM binding?

$
0
0
I am trying to set the title for LayoutAnchorable using binding. But its not working. Am I doing anything wrong?
<xcad:DockingManager x:Name="DockingManager"
                     AllowMixedOrientation="True">
    <xcad:LayoutRoot x:Name="LayoutRoot">
        <xcad:LayoutPanel Orientation="Horizontal">
            <xcad:LayoutAnchorablePaneGroup DockWidth="3*" Orientation="Vertical">
                <xcad:LayoutAnchorablePaneGroup>
                    <xcad:LayoutAnchorablePane DockHeight="*">
                        <xcad:LayoutAnchorable Title="{Binding TitleToBeDisplayed}"
                                               AutoHideHeight="240"
                                               CanClose="False"
                                               CanHide="False">
                        </xcad:LayoutAnchorable>
                    </xcad:LayoutAnchorablePane>
                    <xcad:LayoutAnchorablePane DockHeight="*">
                        <xcad:LayoutAnchorable Title="{Binding TitleToBeDisplayed1}"
                                               AutoHideHeight="240"
                                               CanClose="False"
                                               CanHide="False">
                        </xcad:LayoutAnchorable>
                    </xcad:LayoutAnchorablePane>
            </xcad:LayoutAnchorablePaneGroup>
        </xcad:LayoutPanel>
    </xcad:LayoutRoot>
</xcad:DockingManager>

Viewing all articles
Browse latest Browse all 4964

Trending Articles