Posted 8 years ago by Jonathan Reis
Avatar
Is there a property which specifies whether mousedown or mouseup should be used for toggling the expanded property?

Seems that hooking previewMouseUp is the only way, but that causes issues elsewhere. Is there a template available that can be edited?

Comments (2)

Posted 8 years ago by Jonathan Reis
Avatar
I found that handling the PreviewMouseDown I was able to bypass the default behavior. Might be nice to have a ClickMode property for future versions. Thx.
Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jonathan,

Alternatively, there is a ToggleButton in the default AnimatedExpander Template. We just bind that button's checked state to the expansion state. You should be able to alter that button's ClickMode to change this behavior if you clone and change the AnimatedExpander Template.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.