Edit this page

How To Change the Action Trigering an Expand

This article describes how to control the mouse action that triggers an expand.

The RadExpander control exposes a ClickMode property to allow you to determine when the content of the control should be expanded. The property is an enumeration of type ClickMode that exposes the following members:

  • Release - specifies that the content should be expanded when the left mouse button is pressed and released on top of the RadExpander.Header. If you are using the keyboard, this setting specifies that the content should be expanded when the RadExpander.Header is focused and the SPACEBAR or ENTER key is pressed and released.

  • Press - specifies that the content should be expanded when the left mouse button is pressed on top of the RadExpander.Header. If you are using the keyboard, this setting specifies that the content should be expanded when the RadExpander.Header is focused and the SPACEBAR or ENTER key is pressed.

  • Hover - specifies that the content should be expanded when the mouse pointer hovers over the RadExpander.Header.

The default value of the ClickMode property is Release which means that by default the RadExpander control is expanded when the left mouse button is released after a click on the header or when the Enter or Space keys are released while focusing the header.

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy