Class
RadOutlookBar

Represents a navigation control that mimics the functionality of the Microsoft Outlook navigation bar. The RadOutlookBar provides a user-friendly interface for managing items in a minimized or expanded state. It allows users to navigate between different views and organize their workflow efficiently by using various items that can be arranged in active areas and minimized areas. The control also supports customization of appearance, including styles and templates for minimized items, and integrates events to handle item selection and state changes like minimizing or restoring the bar. Additionally, it handles dynamic content updates, ensuring that the UI remains responsive as items are added or removed.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class RadOutlookBar : RadTabControl

Inheritance: objectRadTabControlBaseRadTabControlRadOutlookBar

Inherited Members RadTabControl.PreviewTabClosedEventRadTabControl.TabClosedEventRadTabControl.PreviewTabPinnedEventRadTabControl.TabPinnedEventRadTabControl.PreviewTabUnpinnedEventRadTabControl.TabUnpinnedEventRadTabControl.DropDownButtonStylePropertyRadTabControl.DropDownDisplayMemberPathPropertyRadTabControl.DropDownStylePropertyRadTabControl.IsDropDownOpenPropertyRadTabControl.DropDownDisplayModePropertyRadTabControl.ItemDropDownContentTemplatePropertyRadTabControl.ItemDropDownContentTemplateSelectorPropertyRadTabControl.TabStripPlacementPropertyRadTabControl.LeftTemplatePropertyRadTabControl.RightTemplatePropertyRadTabControl.TopTemplatePropertyRadTabControl.BottomTemplatePropertyRadTabControl.OverflowModePropertyRadTabControl.AllTabsEqualHeightPropertyRadTabControl.AlignPropertyRadTabControl.TabOrientationPropertyRadTabControl.ItemReorderedEventRadTabControl.AdditionalContentPropertyRadTabControl.AllowDragReorderPropertyRadTabControl.AllowDragOverTabPropertyRadTabControl.CloseTabsOnMouseMiddleButtonDownPropertyRadTabControl.ScrollModePropertyRadTabControl.InvertMouseWheelScrollDirectionPropertyRadTabControl.OnPreviewTabClosed(PreviewTabChangedEventArgs)RadTabControl.OnTabClosed(TabChangedEventArgs)RadTabControl.OnPreviewTabPinned(PreviewTabChangedEventArgs)RadTabControl.OnTabPinned(TabChangedEventArgs)RadTabControl.OnPreviewTabUnpinned(PreviewTabChangedEventArgs)RadTabControl.OnTabUnpinned(TabChangedEventArgs)RadTabControl.OnDropDownMenuItemClick(object, RoutedEventArgs)RadTabControl.OnIsDropDownOpenChanged(bool, bool)RadTabControl.FindTemplateFromPosition(Dock)RadTabControl.OnItemsPanelChanged(ItemsPanelTemplate, ItemsPanelTemplate)RadTabControl.UpdateTabStrip()RadTabControl.ClearContainerForItemOverride(DependencyObject, object)RadTabControl.UpdateSelectedContentProperties()RadTabControl.GetContainer()RadTabControl.OnScrollButtonsVisibilityChanged()RadTabControl.ScrollIntoView(object)RadTabControl.OnLeftScrollButtonClick(object, RoutedEventArgs)RadTabControl.OnRightScrollButtonClick(object, RoutedEventArgs)RadTabControl.PinnedItemsRadTabControl.DropDownButtonStyleRadTabControl.DropDownDisplayMemberPathRadTabControl.DropDownStyleRadTabControl.IsDropDownOpenRadTabControl.DropDownDisplayModeRadTabControl.ItemDropDownContentTemplateRadTabControl.ItemDropDownContentTemplateSelectorRadTabControl.TabStripPlacementRadTabControl.LeftTemplateRadTabControl.RightTemplateRadTabControl.TopTemplateRadTabControl.BottomTemplateRadTabControl.OverflowModeRadTabControl.AllTabsEqualHeightRadTabControl.AlignRadTabControl.TabOrientationRadTabControl.AdditionalContentRadTabControl.AllowDragReorderRadTabControl.AllowDragOverTabRadTabControl.CloseTabsOnMouseMiddleButtonDownRadTabControl.ScrollModeRadTabControl.InvertMouseWheelScrollDirectionRadTabControl.PreviewTabClosedRadTabControl.TabClosedRadTabControl.PreviewTabPinnedRadTabControl.TabPinnedRadTabControl.PreviewTabUnpinnedRadTabControl.TabUnpinnedRadTabControl.ItemReorderedRadTabControlBase.BackgroundVisibilityPropertyRadTabControlBase.PreviewSelectionChangedEventRadTabControlBase.SelectionChangedEventRadTabControlBase.DropDownOpenedEventRadTabControlBase.DropDownClosedEventRadTabControlBase.HeaderBackgroundPropertyRadTabControlBase.ReorderTabRowsPropertyRadTabControlBase.SelectedContentPropertyRadTabControlBase.SelectedContentTemplatePropertyRadTabControlBase.SelectedContentTemplateSelectorPropertyRadTabControlBase.ContentTemplatePropertyRadTabControlBase.ContentTemplateSelectorPropertyRadTabControlBase.IsContentPreservedPropertyRadTabControlBase.PropagateItemDataContextToContentPropertyRadTabControlBase.SelectedItemRemoveBehaviourPropertyRadTabControlBase.UpdateFocusOnSelectionChange()RadTabControlBase.UpdateTabRows()RadTabControlBase.GoToState(bool, params string[])RadTabControlBase.OnPreviewSelectionChanged(SelectionChangedEventArgs)RadTabControlBase.IsSelectionNonBoundAtClientSide()RadTabControlBase.ClearContentSafely()RadTabControlBase.AddDropDownOpenedHandler(UIElement, DropDownEventHandler)RadTabControlBase.RemoveDropDownOpenedHandler(UIElement, DropDownEventHandler)RadTabControlBase.AddDropDownClosedHandler(UIElement, DropDownEventHandler)RadTabControlBase.RemoveDropDownClosedHandler(UIElement, DropDownEventHandler)RadTabControlBase.BackgroundVisibilityRadTabControlBase.HeaderBackgroundRadTabControlBase.ReorderTabRowsRadTabControlBase.SelectedContentRadTabControlBase.SelectedContentTemplateRadTabControlBase.SelectedContentTemplateSelectorRadTabControlBase.ContentTemplateRadTabControlBase.ContentTemplateSelectorRadTabControlBase.IsContentPreservedRadTabControlBase.PropagateItemDataContextToContentRadTabControlBase.SelectedItemRemoveBehaviourRadTabControlBase.SupressSelectedContentTemplateReapplyingRadTabControlBase.IsDefaultItemSelectedRadTabControlBase.TabStripRadTabControlBase.ContentElementRadTabControlBase.ContentElementsPanelRadTabControlBase.TabFlagsRadTabControlBase.PreviewSelectionChangedRadTabControlBase.SelectionChangedRadTabControlBase.DropDownOpenedRadTabControlBase.DropDownClosed

Constructors

RadOutlookBar()

Initializes a new instance of the RadOutlookBar class.

Declaration

cs-api-definition
public RadOutlookBar()

Fields

ActiveItemsCountProperty

Identifies the ActiveItemsCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActiveItemsCountProperty

Field Value

DependencyProperty

ActiveItemsMaxCountProperty

Identifies the ActiveItemsMaxCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActiveItemsMaxCountProperty

Field Value

DependencyProperty

HeaderVisibilityProperty

Identifies the HeaderVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderVisibilityProperty

Field Value

DependencyProperty

HorizontalSplitterStyleProperty

Identifies the HorizontalSplitterStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalSplitterStyleProperty

Field Value

DependencyProperty

IsMinimizableProperty

Identifies the IsMinimizable dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMinimizableProperty

Field Value

DependencyProperty

IsMinimizedProperty

Identifies the IsMinimized dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMinimizedProperty

Field Value

DependencyProperty

IsVerticalResizerVisibleProperty

Identifies the IsVerticalResizerVisible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsVerticalResizerVisibleProperty

Field Value

DependencyProperty

ItemMinimizedTemplateProperty

Identifies the ItemMinimizedTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemMinimizedTemplateProperty

Field Value

DependencyProperty

ItemMinimizedTemplateSelectorProperty

Identifies the ItemMinimizedTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemMinimizedTemplateSelectorProperty

Field Value

DependencyProperty

MinContentHeightProperty

Identifies the MinContentHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinContentHeightProperty

Field Value

DependencyProperty

MinimizeButtonStyleProperty

Identifies the MinimizeButtonStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizeButtonStyleProperty

Field Value

DependencyProperty

MinimizedAreaMinHeightProperty

Identifies the MinimizedAreaMinHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedAreaMinHeightProperty

Field Value

DependencyProperty

MinimizedAreaVisibilityProperty

Identifies the MinimizedAreaVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedAreaVisibilityProperty

Field Value

DependencyProperty

MinimizedButtonContentProperty

Identifies the MinimizedButtonContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedButtonContentProperty

Field Value

DependencyProperty

MinimizedButtonContentTemplateProperty

Identifies the MinimizedButtonContentTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedButtonContentTemplateProperty

Field Value

DependencyProperty

MinimizedEvent

This event gets fired every time a RadOutlookBar IsMinimized property is set to true.

Declaration

cs-api-definition
public static readonly RoutedEvent MinimizedEvent

Field Value

RoutedEvent

MinimizedWidthProperty

Identifies the MinimizedWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedWidthProperty

Field Value

DependencyProperty

MinimizedWidthThresholdProperty

Identifies the MinimizedWidthThreshold dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimizedWidthThresholdProperty

Field Value

DependencyProperty

RestoredEvent

This event gets fired every time a RadOutlookBar IsMinimized property is set to false.

Declaration

cs-api-definition
public static readonly RoutedEvent RestoredEvent

Field Value

RoutedEvent

SelectedItemHeaderTemplateProperty

Identifies the SelectedItemHeaderTemplate dependency property.

Declaration

cs-api-definition
[Obsolete("This property is obsolete.", false)]
public static readonly DependencyProperty SelectedItemHeaderTemplateProperty

Field Value

DependencyProperty

SelectedItemHeaderTemplateSelectorProperty

Identifies the SelectedItemHeaderTemplateSelector dependency property.

Declaration

cs-api-definition
[Obsolete("This property is obsolete.", false)]
public static readonly DependencyProperty SelectedItemHeaderTemplateSelectorProperty

Field Value

DependencyProperty

TitleTemplateProperty

Identifies the TitleTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TitleTemplateProperty

Field Value

DependencyProperty

TitleTemplateSelectorProperty

Identifies the TitleTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TitleTemplateSelectorProperty

Field Value

DependencyProperty

VerticalResizerAlignmentProperty

Identifies the VerticalResizerAlignment dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalResizerAlignmentProperty

Field Value

DependencyProperty

VerticalResizerStyleProperty

Identifies the VerticalResizerStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalResizerStyleProperty

Field Value

DependencyProperty

Properties

ActiveItemsCount

Gets or sets the desired number of items in the ActiveArea of the RadOutlookBar.

Declaration

cs-api-definition
public int ActiveItemsCount { get; set; }

Property Value

int

ActiveItemsMaxCount

Gets or sets the desired number of items in the ActiveArea of the RadOutlookBar.

Declaration

cs-api-definition
public int ActiveItemsMaxCount { get; set; }

Property Value

int

Remarks

By default, ActiveItemsMaxCount is Int32.MaxValue which means that RadOutlookBar will put as many items as possible in the ActiveArea depending on available space.

HeaderVisibility

Gets or sets the visibility of the title element.

Declaration

cs-api-definition
public Visibility HeaderVisibility { get; set; }

Property Value

Visibility

HorizontalSplitterStyle

Gets or sets the style for the horizontal splitter.

Declaration

cs-api-definition
public Style HorizontalSplitterStyle { get; set; }

Property Value

Style

IsMinimizable

Gets or sets the IsMinimizable property.

Declaration

cs-api-definition
public bool IsMinimizable { get; set; }

Property Value

bool

IsMinimized

Gets or sets the IsMinimized property.

Declaration

cs-api-definition
public bool IsMinimized { get; set; }

Property Value

bool

IsVerticalResizerVisible

Gets or sets the IsVerticalSplitterVisible property.

Declaration

cs-api-definition
public bool IsVerticalResizerVisible { get; set; }

Property Value

bool

ItemMinimizedTemplate

Gets or sets the template for the items when they go in the MinimizedArea.

Declaration

cs-api-definition
public DataTemplate ItemMinimizedTemplate { get; set; }

Property Value

DataTemplate

ItemMinimizedTemplateSelector

Gets or sets the template selector that will choose the template for the items when they go in the MinimizedArea.

Declaration

cs-api-definition
public DataTemplateSelector ItemMinimizedTemplateSelector { get; set; }

Property Value

DataTemplateSelector

MinContentHeight

Gets or sets the minimum height of the content.

Declaration

cs-api-definition
public double MinContentHeight { get; set; }

Property Value

double

MinimizeButtonStyle

Gets or sets the MinimizeButtonStyle property.

Declaration

cs-api-definition
public Style MinimizeButtonStyle { get; set; }

Property Value

Style

MinimizedAreaMinHeight

Gets or sets the minimal height of the MinimizedArea.

Declaration

cs-api-definition
public double MinimizedAreaMinHeight { get; set; }

Property Value

double

MinimizedAreaVisibility

Gets or sets the visibility of the MinimizedArea.

Declaration

cs-api-definition
public Visibility MinimizedAreaVisibility { get; set; }

Property Value

Visibility

MinimizedButtonContent

Gets or sets the MinimizedButtonContent property.

Declaration

cs-api-definition
public object MinimizedButtonContent { get; set; }

Property Value

object

MinimizedButtonContentTemplate

Gets or sets the MinimizedButtonContentTemplate property.

Declaration

cs-api-definition
public DataTemplate MinimizedButtonContentTemplate { get; set; }

Property Value

DataTemplate

MinimizedWidth

Gets or sets the MinimizedWidth property.

Declaration

cs-api-definition
public double MinimizedWidth { get; set; }

Property Value

double

MinimizedWidthThreshold

Gets or sets the MinimizedWidthThreshold property.

Declaration

cs-api-definition
public double MinimizedWidthThreshold { get; set; }

Property Value

double

TitleTemplate

Gets or sets the template for the title.

Declaration

cs-api-definition
public DataTemplate TitleTemplate { get; set; }

Property Value

DataTemplate

TitleTemplateSelector

Gets or sets the template selector for the title template.

Declaration

cs-api-definition
public DataTemplateSelector TitleTemplateSelector { get; set; }

Property Value

DataTemplateSelector

VerticalResizerAlignment

Gets or sets the VerticalResizerAlignment property.

Declaration

cs-api-definition
public ResizerAlignment VerticalResizerAlignment { get; set; }

Property Value

ResizerAlignment

VerticalResizerStyle

Gets or sets the style for the vertical resizer.

Declaration

cs-api-definition
public Style VerticalResizerStyle { get; set; }

Property Value

Style

this[int]

Indexer, gets the RadOutlookBarItem with the given index in the items collection.

Declaration

cs-api-definition
public RadOutlookBarItem this[int index] { get; }

Parameters

index

int

The index of the RadOutlookBarItem in the Items collection of RadOutlookBar.

Property Value

RadOutlookBarItem

The RadOutlookBarItem with the given index in the Items collection of the RadOutlookBar.

Remarks

You can use the indexer to quickly get the RadOutlookBarItem with the given index. The indexer is a shortcut for the ContainerFromIndex method.

Note that you cannot use the indexer to change (replace) an item if you would like to do this use the property. If an invalid index is passed null is returned.

The following example demonstrates how you can use the indexer to quickly access a given item.

<pre><code class="lang-csharp">RadOutlookBar outlookBar = new RadOutlookBar();
outlookBar.ItemsSource = new string[] { "Item Header 1", "Item Header 2", "Item Header 3" };
outlookBar[1].IsSelected = true;</code></pre>

Methods

ArrangeOverride(Size)

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size

The actual size used.

ChangeVisualState(bool)

Updates the visual states of the control.

Declaration

cs-api-definition
protected void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

Identifies whether the transitions should be used.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

Overrides RadTabControlBase.GetContainerForItemOverride()

GetContainerForMinimizedItem()

This method returns a new instance of MinimizedOutlookBarItem. If overridden, it must return an instance of a class that derives from MinimizedOutlookBarItem.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
protected virtual MinimizedOutlookBarItem GetContainerForMinimizedItem()

Returns

MinimizedOutlookBarItem

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

The item to check.

Returns

bool

True if the item is (or is eligible to be) its own container; otherwise, false.

Overrides RadTabControlBase.IsItemItsOwnContainerOverride(object)

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides RadTabControl.OnApplyTemplate()

OnCreateAutomationPeer()

Creates a peer associated with this object.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

An instance of the .

Overrides RadTabControl.OnCreateAutomationPeer()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides RadTabControl.OnInitialized(EventArgs)

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides RadTabControl.OnItemsChanged(NotifyCollectionChangedEventArgs)

OnKeyDown(KeyEventArgs)

Called before the event occurs.

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The data for the event.

OnSelectionChanged(RadSelectionChangedEventArgs)

Raises the SelectionChanged routed event.

Declaration

cs-api-definition
protected override void OnSelectionChanged(RadSelectionChangedEventArgs e)

Parameters

e

RadSelectionChangedEventArgs

Overrides RadTabControl.OnSelectionChanged(RadSelectionChangedEventArgs)

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

Overrides RadTabControl.PrepareContainerForItemOverride(DependencyObject, object)

Selector_SelectionChanged(object, SelectionChangedEventArgs)

Handles the SelectionChanged event of the Selector control.

Declaration

cs-api-definition
protected override void Selector_SelectionChanged(object sender, SelectionChangedEventArgs e)

Parameters

sender

object

The source of the event.

e

SelectionChangedEventArgs

The instance containing the event data.

Overrides RadTabControlBase.Selector_SelectionChanged(object, SelectionChangedEventArgs)

Events

ItemPositionChanged

Occurs when a RadOutlookBarItem changes its position, for example, from ActiveArea to MinimizedArea.

Declaration

cs-api-definition
public event PositionChangedEventHandler ItemPositionChanged

Event Value

PositionChangedEventHandler

Minimized

Occurs when the IsMinimized property is set to true.

Declaration

cs-api-definition
public event RoutedEventHandler Minimized

Event Value

RoutedEventHandler

Restored

Occurs when the IsMinimized property is set to false.

Declaration

cs-api-definition
public event RoutedEventHandler Restored

Event Value

RoutedEventHandler

In this article
DefinitionConstructorsRadOutlookBar()FieldsActiveItemsCountPropertyActiveItemsMaxCountPropertyHeaderVisibilityPropertyHorizontalSplitterStylePropertyIsMinimizablePropertyIsMinimizedPropertyIsVerticalResizerVisiblePropertyItemMinimizedTemplatePropertyItemMinimizedTemplateSelectorPropertyMinContentHeightPropertyMinimizeButtonStylePropertyMinimizedAreaMinHeightPropertyMinimizedAreaVisibilityPropertyMinimizedButtonContentPropertyMinimizedButtonContentTemplatePropertyMinimizedEventMinimizedWidthPropertyMinimizedWidthThresholdPropertyRestoredEventSelectedItemHeaderTemplatePropertySelectedItemHeaderTemplateSelectorPropertyTitleTemplatePropertyTitleTemplateSelectorPropertyVerticalResizerAlignmentPropertyVerticalResizerStylePropertyPropertiesActiveItemsCountActiveItemsMaxCountHeaderVisibilityHorizontalSplitterStyleIsMinimizableIsMinimizedIsVerticalResizerVisibleItemMinimizedTemplateItemMinimizedTemplateSelectorMinContentHeightMinimizeButtonStyleMinimizedAreaMinHeightMinimizedAreaVisibilityMinimizedButtonContentMinimizedButtonContentTemplateMinimizedWidthMinimizedWidthThresholdTitleTemplateTitleTemplateSelectorVerticalResizerAlignmentVerticalResizerStylethis[int]MethodsArrangeOverride(Size)ChangeVisualState(bool)GetContainerForItemOverride()GetContainerForMinimizedItem()IsItemItsOwnContainerOverride(object)OnApplyTemplate()OnCreateAutomationPeer()OnInitialized(EventArgs)OnItemsChanged(NotifyCollectionChangedEventArgs)OnKeyDown(KeyEventArgs)OnSelectionChanged(RadSelectionChangedEventArgs)PrepareContainerForItemOverride(DependencyObject, object)Selector_SelectionChanged(object, SelectionChangedEventArgs)EventsItemPositionChangedMinimizedRestored
Not finding the help you need?
Contact Support