This is a migrated thread and some comments may be shown as answers.

Close Button with MVVM Command?

1 Answer 33 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Kevin White
Top achievements
Rank 2
Kevin White asked on 06 Oct 2012, 01:08 PM
Hello All,

I have looked at the online documentation for adding a close button to the header located at
http://www.telerik.com/help/silverlight/radtabcontrol-how-to-add-close-button-to-the-tab-headers.html

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

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 09 Oct 2012, 02:34 PM
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.

Tags
TabControl
Asked by
Kevin White
Top achievements
Rank 2
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or