I'm trying to implement format painter in the ribbon much like office does. A single click allows for a single format operation, and a double click should allow for the format painter to remain on for multiple format operations. I'm having a difficult time reacting to both single click and double click.
I have a single RibbonCommand for FormatPainter and have the Command property of the button set to this command. The command handlers are fired for a single click. Is there any way to tell in the command handler if there was a double click? Or is there a way to set two independent commands to the button, one for single click and the other for double click?
I have a single RibbonCommand for FormatPainter and have the Command property of the button set to this command. The command handlers are fired for a single click. Is there any way to tell in the command handler if there was a double click? Or is there a way to set two independent commands to the button, one for single click and the other for double click?