Hi Teddy,
re:
> For the Cancel button, I want to change the one that appears in the sidebar panel.
For that at the bottom of your ViewManager.htm file, replace this:
code:
<moi:CommandCancel />
with this:
code:
<moi:CommandDoneCancel />
There is no MoI command that puts "OK" or "Close" in that command ui area so if you want it to have one of those you would need to do it manually instead of using a control template.
You can see what <moi:CommandDoneCancel> and other controls expand to by finding the file CommandDoneCancel.htm in the ui folder. When the parser finds a control name with the moi: prefix, it looks if there is an .htm file with that name and if there is it takes the contents of that and inserts it.
- Michael
|