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

RadWindow and Application level help

1 Answer 59 Views
Window
This is a migrated thread and some comments may be shown as answers.
paul orsillo
Top achievements
Rank 1
paul orsillo asked on 05 Apr 2011, 04:55 PM
I want to implement application level help by placing a button in the RadWindow control template's PART_HeaderButtonsBorder.

 I placed a RadButton next to the close box (which is the only other button visible in the window frame).

RadWindows are used in several places and I wnat to define a default help command and then let the ViewModel supply the specific help reference.

I defined an interface that caontains a RelayCommand (I am using MVVM lite) and implement the command in the ViewModesl that I want to respond. It seems the Command never gets fired. I am not getting a binding error. The button "clicks" - depresses etc. But nothing gets fired.

Am I on the right track? Is there another way? Is there a way that I can hook into to the telerik WindowlCommands (The class doesn't appear to be defined as partial) with my own command?

Thank you,
 Paul 

1 Answer, 1 is accepted

Sort by
0
paul orsillo
Top achievements
Rank 1
answered on 05 Apr 2011, 09:48 PM
I figured out my problem.  I had a binding error but somehow it was silent - which seems pretty unusual.
What I described below works. I'm still open to a better - more seamless - way to do it.
Tags
Window
Asked by
paul orsillo
Top achievements
Rank 1
Answers by
paul orsillo
Top achievements
Rank 1
Share this question
or