MinimizedOutlookBarItem is highlighted although the selection was aborted

2 posts, 0 answers
  1. Rainer
    Rainer avatar
    7 posts
    Member since:
    Sep 2012

    Posted 29 Sep 2011 Link to this post


    If I cancel the selection of an item within the PreviewSelectionChanged event of the RadOutlookBar there are different behaviors depending on where the selection was made.

    1) Selection in the 'normal' items-area -> Everthing is fine. The selected Item stays highlighted.
    2) Selection in the MinimizedArea -> The wrong item gets highlighted.

    Is it possible to workaround this ?


    Here is the sample-code:

    <telerik:RadOutlookBar x:Name="obMenu"
        <telerik:RadOutlookBarItem Header="Item 1">
            <Border Background="Blue">
                <TextBlock Text="Item1"/>
        <telerik:RadOutlookBarItem Header="Item 2">
            <Border Background="Green">
                <TextBlock Text="Item1"/>
        <telerik:RadOutlookBarItem Header="Item 3">
            <Border Background="Red">
                <TextBlock Text="Item1"/>

    private void obMenu_PreviewSelectionChanged(object sender, SelectionChangedEventArgs e) {
        if (MessageBoxResult.Yes == MessageBox.Show("Cancel selection ?", "Cancel", MessageBoxButton.YesNo, MessageBoxImage.Question)) {
            e.Handled = true;

  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 04 Oct 2011 Link to this post

    Hi Rainer,

     Unfortunately, this is a known bug in the RadOutlookBar (both WPF and SL). We have previously logged it in our PITS(OutlookBar: Canceling the selection of a minimized item doesn't work as expected). Actually , the cancelling of selection succeeds but visually , the selection colors are not reflected. Currently, there are no existing elegant workarounds for this issue. Please accept our apologies for the inconvenience caused.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top