New to Telerik UI for WPF? Start a free 30-day trial
How to Disable RadExpander Header Click
Updated on Mar 17, 2026
Environment
| Product | RadExpander for WPF |
Description
How to disallow the clicking of the RadExpander's header.
Solution
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
XAML <telerik:RadExpander.HeaderButtonStyle> <Style TargetType="telerik:RadToggleButton"> <Setter Property="IsHitTestVisible" Value="False" /> </Style> </telerik:RadExpander.HeaderButtonStyle>