(un)Pin does not trigger LayoutChange events.

2 posts, 1 answers
  1. Kevin Hendriks
    Kevin Hendriks avatar
    56 posts
    Member since:
    Feb 2009

    Posted 10 Feb 2012 Link to this post


    We are currently working with the Docking control and it works wonderfully.
    There is only one problem If I only (un)pin a control   the LayoutChangeEnded event is not fired. Meaning that my code for save will not be executed.

    With kind regards,
    Kevin Hendriks
  2. Answer
    Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 15 Feb 2012 Link to this post


    The LayoutChange events are fired for continuous operations like dragging a pane, resizing a pane or moving a ToolWindow. It is not guaranteed that it fires when a state of a pane  is changed. In this case you might use the PaneStateChanged or Pinned/Unpinned events.

    Hope this helps.

    All the best,
    Miroslav Nedyalkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top