New to Telerik UI for WPF? Download free 30-day trial

How to Disable RadExpander Header Click


Product RadExpander for WPF


How to disallow the clicking of the RadExpander's header.


To achieve this requirement you can set the IsHitTestVisible property of the header button to False. This will prevent the propagation of mouse events to the button. To set the property of the button, you can use the HeaderButtonStyle property of RadExpander.

Example 1: Disable header button click

        <Style TargetType="telerik:RadToggleButton"> 
            <Setter Property="IsHitTestVisible" Value="False" /> 

See Also

In this article