Well, I have read somewhere in this forum, that yes, the dropdown part should be closed.
My splitbutton will not close when I click on the stackpanel free space.
<
StackPanel
Name
=
"root"
Orientation
=
"Vertical"
><
br
>
<
br
> <
telerik:RadSplitButton
Name
=
"splitButton"
HorizontalAlignment
=
"Left"
DropDownButtonPosition
=
"Right"
IsBackgroundVisible
=
"False"
Margin
=
"50"
Click
=
"RadSplitButton_Click"
><
br
>
<
br
> <
telerik:RadSplitButton.Content
><
br
>
<
br
> <
Image
Source
=
"/images/32/control_play_blue.png"
Stretch
=
"None"
/><
br
>
<
br
> </
telerik:RadSplitButton.Content
><
br
>
<
br
> <
telerik:RadSplitButton.DropDownContent
><
br
>
<
br
> <
ListBox
Width
=
"auto"
BorderThickness
=
"0"
><
br
>
<
br
> <
ListBoxItem
Content
=
"Spustit"
/><
br
>
<
br
> <
ListBoxItem
Content
=
"Spustit a ukázat v nové záložce"
/><
br
>
<
br
> </
ListBox
><
br
>
<
br
> </
telerik:RadSplitButton.DropDownContent
><
br
>
<
br
> </
telerik:RadSplitButton
><
br
>
<
br
> </
StackPanel
>
Thank you Tomas
Thank you Tomas