Divelements Community
Customer discussion of all Divelements products

DataBinding on Pinned property not working

Latest post 08-19-2008 17:42 by npellet. 1 replies.
  • 08-19-2008 17:17

    DataBinding on Pinned property not working

    If I put a binding on the Pinned property, when the user pin./unpin the DockWinwindow, nothing happens...

    For example, a binding on a IsSelected property of a Checkbox control, the binding does not work

    <sd:WindowGroup>
        <sd:DockableWindow Title="Solution Explorer" Name="solutionExplorer" DockSituationChanged="OnDockSituationChanged">
           
    <StackPanel Orientation="Vertical">
                <TreeView>
                </TreeView>
                <CheckBox IsChecked="{Binding Path=Parent.Parent.Parent.Pinned}">Pinned</CheckBox>
            </StackPanel>
        </sd:DockableWindow>
    </sd:WindowGroup>

    The Parent.Parent.Parent is here to use Pinned property on WindowGroup object not on DockableWindow object.

    Any ideas? Nico

  • 08-19-2008 17:42 In reply to

    Re: DataBinding on Pinned property not working

    Oops sorry, it works :)

Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems