Close Button with MVVM Command?

2 posts, 0 answers
  1. Kevin White
    Kevin White avatar
    60 posts
    Member since:
    Jun 2004

    Posted 06 Oct 2012 Link to this post

    Hello All,

    I have looked at the online documentation for adding a close button to the header located at

    I would like to change the button to being based on a Command from the bound item instead. Thus allowing me to enable or disable the button depending on the state of the bound item.

    Anyone have some example code?

    - Kevin
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1165 posts

    Posted 09 Oct 2012 Link to this post

    Hello Kevin,

    Such a sample is demonstrated in this demo. I will update our "How to..." section in the online documentation to describe this scenario as well.

    All the best,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top