Control's supported commands

Mar 18, 2009 at 5:48 PM
Edited Mar 18, 2009 at 5:49 PM

How do you find out what commands a control supports? I would like to have a button that move’s a combo box’s selection down. I assumed that this was the “MoveDown” command and that the combo box  already has the binding. But my button forever remains disabled. My button looks like this:
<StackPanel Orientation="Horizontal" FocusManager.IsFocusScope="True">

      <Button Command="MoveDown" CommandTarget="{Binding ElementName=BookcaseComboBox}" Content="ç" FontFamily="Wingdings"/>

</StackPanel> 
Am I missing something? Do I have to code this command myself?

 

 

 

Coordinator
Mar 18, 2009 at 9:12 PM
Unfortunately, we don't have a nice discovery mechanism. I've added this to our list of customer scenarios.

The ComboBox does not respond to MoveDown. If you want to change selection, I would suggest changing the SelectedItem or SelectedValue property.

Ben
Mar 18, 2009 at 9:25 PM
Edited Mar 18, 2009 at 9:25 PM

Thanks for letting me know. I’m never sure when it does not work if I coded it wrong or if it’s not supported.