Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am trying to bind title of avalon dock window.
C#
<avalonDock:LayoutAnchorable Title="{DynamicResource PresentationConfigTitle}" CanClose="False" CanHide="False" AutoHideMinHeight="310" AutoHideMinWidth="825">

In Visual studio 2013 seams everything ok, but when I start application it showes me empty title.
I have multiple LayoutAnchorable in solution, so global settings (which works fine) like
C#
<avalonDock:DockingManager.AnchorableTitleTemplate>
    <DataTemplate>
        <TextBlock Text="{DynamicResource PresentationConfigTitle}" />
    </DataTemplate>
</avalonDock:DockingManager.AnchorableTitleTemplate>

cannot be used because rewrites all anchorable layouts.

Thank you for help

Petr

What I have tried:

Resource exists, when I try to bind to another value for example to textbox the value was correctly filled.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900