This question is locked. New answers and comments are not allowed.
I have a RadDropDownButton and in the content of the drop down I have some RadButton.when user's mouse over the RadDropDownButton, the DropDownContent opend . I want to achieved this: when the user click the button in the content or the mouse leave the DropDownContent, the RadDropDownButton closes up (which just like a tooltip,when click or mouseleave, the popup will hide). Is there a way to prevent this? Sample code below:
<telerik:RadDropDownButton x:Name="Currentfull" Margin="0,0,0,4" Style="{StaticResource OtherExamplesDropdownButtonStyle}" VerticalContentAlignment="Center" > <StackPanel Orientation="Horizontal" Margin="6,0" Height="18" VerticalAlignment="Center" AutoOpenDelay="0:0:0.2"> <Image Width="16" Height="16" Source="/Images/Currentfull.png" Margin="3,0" VerticalAlignment="Center" /> <TextBlock VerticalAlignment="Center" Text="CurrentFull" FontSize="13" FontFamily="Arial" Foreground="#FF3D4350" /> </StackPanel> <telerik:RadDropDownButton.DropDownContent> <Grid x:Name="PopupRoot"> <Border BorderBrush="#FFAAB9C0" BorderThickness="1" Background="#FFF4F4F4" CornerRadius="1" Padding="10,16,0,0"> <Border.Effect> <DropShadowEffect BlurRadius="6" Opacity="0.4" ShadowDepth="1"/> </Border.Effect> <StackPanel Margin="0,0,10,10"> <telerik:RadButton Content="GetData" FontSize="14" Name="rb_GetData" Style="{StaticResource OtherExampleItemButtonStyle}" Click="rb_GetData_Click" /> <telerik:RadButton Content="SaleList" FontSize="14" Name="rb_SaleList" Style="{StaticResource OtherExampleItemButtonStyle}" Click="rb_SaleList_Click"/> </StackPanel> </Border> <Path Data="M7.0710683,0 L14.142137,7.0710683 L0,7.0710683 z" Fill="#FFF4F4F4" HorizontalAlignment="Left" Height="7.071" Margin="25,-6,0,0" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Top" Width="14.142"> <Path.Effect> <DropShadowEffect Direction="90" Opacity="0.4" ShadowDepth="1" BlurRadius="0"/> </Path.Effect> </Path> </Grid> </telerik:RadDropDownButton.DropDownContent> </telerik:RadDropDownButton>