WPF 4.0, VB, 2010.3.110.40
If I put a button in the Header and click on it the IsExpanded property of the expander does not change (as I expected).
If I put a checkbox in the Header and click on it the IsExpanded property DOES change (as well as the IsChecked of the checkbox. How can I have a checkbox in my header but not have it process as if the Expander Headerbar was clicked?
<
telerik:RadExpander
IsExpanded
=
"True"
>
<
telerik:RadExpander.Header
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Label
Content
=
"Filter Options"
/>
<
Button
Grid.Column
=
"1"
Content
=
"Test"
/>
<
CheckBox
Name
=
"showgrouppanel"
Content
=
"Show GroupBy Area"
Grid.Column
=
"2"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Right"
/>
</
Grid
>
</
telerik:RadExpander.Header
>