New to Telerik UI for WPFStart a free 30-day trial

Represents an item in a RadOutlookBar that can hold a header and associated content. This class allows customization of visual elements such as icons, titles, and content templates for both active and minimized states. It supports visual states, event handling for position changes, and styling through templates. The RadOutlookBarItem can be positioned in active, minimized, or overflow areas and displays different icons depending on its state. The class also provides various dependency properties to control its appearance and behavior.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
[TelerikToolboxCategory("Navigation")]
public class RadOutlookBarItem : RadTabItem, IRadTabItem

Inheritance: objectRadTabItemRadOutlookBarItem

Implements: IRadTabItem

Inherited Members RadTabItem.TabStripPlacementPropertyRadTabItem.TabOrientationPropertyRadTabItem.IsSelectedPropertyRadTabItem.IsBreakPropertyRadTabItem.IsPinnedPropertyRadTabItem.PinButtonVisibilityPropertyRadTabItem.CloseButtonVisibilityPropertyRadTabItem.LeftTemplatePropertyRadTabItem.RightTemplatePropertyRadTabItem.TopTemplatePropertyRadTabItem.BottomTemplatePropertyRadTabItem.DropDownContentPropertyRadTabItem.DropDownContentTemplatePropertyRadTabItem.DropDownContentTemplateSelectorPropertyRadTabItem.HeaderForegroundPropertyRadTabItem.IsDragDisabledPropertyRadTabItem.OnSelected(RadRoutedEventArgs)RadTabItem.OnUnselected(RadRoutedEventArgs)RadTabItem.UpdateTemplate()RadTabItem.ChangeVisualState(bool)RadTabItem.OnCreateAutomationPeer()RadTabItem.OnMouseEnter(MouseEventArgs)RadTabItem.OnMouseLeave(MouseEventArgs)RadTabItem.OnLoaded(object, RoutedEventArgs)RadTabItem.OnKeyDown(KeyEventArgs)RadTabItem.OnContentChanged(object, object)RadTabItem.MeasureOverride(Size)RadTabItem.OnHeaderMouseLeftButtonDown(object, MouseButtonEventArgs)RadTabItem.OnHeaderMouseLeftButtonUp(object, MouseButtonEventArgs)RadTabItem.OnHeaderMouseEnter(object, MouseEventArgs)RadTabItem.OnHeaderMouseLeave(object, MouseEventArgs)RadTabItem.OnGotFocus(RoutedEventArgs)RadTabItem.OnLostFocus(RoutedEventArgs)RadTabItem.FindTemplateFromPosition(Dock)RadTabItem.SetNavigationMode(KeyboardNavigationMode)RadTabItem.TabStripPlacementRadTabItem.TabOrientationRadTabItem.IsSelectedRadTabItem.IsDragDisabledRadTabItem.IsBreakRadTabItem.IsPinnedRadTabItem.PinButtonVisibilityRadTabItem.CloseButtonVisibilityRadTabItem.LeftTemplateRadTabItem.RightTemplateRadTabItem.TopTemplateRadTabItem.BottomTemplateRadTabItem.DropDownContentRadTabItem.DropDownContentTemplateRadTabItem.DropDownContentTemplateSelectorRadTabItem.HeaderForeground...

Constructors

Initializes a new instance of the RadOutlookBarItem class.

C#
public RadOutlookBarItem()

Fields

IconMarginProperty

DependencyProperty

Identifies the IconMarginProperty dependency property.

C#
public static readonly DependencyProperty IconMarginProperty

IconProperty

DependencyProperty

Identifies the Icon dependency property.

C#
public static readonly DependencyProperty IconProperty

MinimizedContentProperty

DependencyProperty

Identifies the MinimizedContent dependency property.

C#
public static readonly DependencyProperty MinimizedContentProperty

Identifies the MinimizedContentTemplate dependency property.

C#
public static readonly DependencyProperty MinimizedContentTemplateProperty

Identifies the MinimizedContentTemplateSelector dependency property.

C#
public static readonly DependencyProperty MinimizedContentTemplateSelectorProperty

This event gets fired every time a RadOutlookBarItem changes its position.

C#
public static readonly RoutedEvent PositionChangedEvent

SmallIconProperty

DependencyProperty

Identifies the SmallIcon dependency property.

C#
public static readonly DependencyProperty SmallIconProperty

TitleProperty

DependencyProperty

Identifies the Header property.

C#
public static readonly DependencyProperty TitleProperty

TitleTemplateProperty

DependencyProperty

Identifies the TitleTemplate dependency property.

C#
public static readonly DependencyProperty TitleTemplateProperty

Identifies the TitleTemplateSelector dependency property.

C#
public static readonly DependencyProperty TitleTemplateSelectorProperty

Properties

Icon

ImageSource

Gets or sets the source of the icon of RadOutlookBarItem.

C#
public ImageSource Icon { get; set; }
Remarks:

The icon is visible when the RadOutlookBarItem is in the ActiveArea.

IconMargin

Thickness

Gets or sets the margin of the icon of RadOutlookBarItem.

C#
public Thickness IconMargin { get; set; }

Gets or sets the content that will represent the RadOutlookBarItem while in MinimizedArea.

C#
public object MinimizedContent { get; set; }

Gets or sets the content template that will represent the RadOutlookBarItem while in MinimizedArea.

C#
public DataTemplate MinimizedContentTemplate { get; set; }

Gets or sets the content template selector that will select a template to represent the RadOutlookBarItem while in MinimizedArea.

C#
public DataTemplateSelector MinimizedContentTemplateSelector { get; set; }

Gets the position of the RadOutlookBarItem. This item can be positioned in: ActiveArea MinimizedArea OverflowArea.

C#
public OutlookBarItemPosition Position { get; }

SmallIcon

ImageSource

Gets or sets the source of the small icon of RadOutlookBarItem.

C#
public ImageSource SmallIcon { get; set; }
Remarks:

The small icon is visible when the RadOutlookBarItem is in the MinimizedArea.

Gets or sets the title of the parent RadOutlookBar control.

C#
public object Title { get; set; }

TitleTemplate

DataTemplate

Gets or sets the template for the title of the parent RadOutlookBar control.

C#
public DataTemplate TitleTemplate { get; set; }

TitleTemplateSelector

DataTemplateSelector

Gets or sets the template selector for the title template of the parent RadOutlookBar control.

C#
public DataTemplateSelector TitleTemplateSelector { get; set; }

Methods

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

C#
public override void OnApplyTemplate()

Overrides: RadTabItem.OnApplyTemplate()

Allows derived classes to act on header change.

C#
protected override void OnHeaderChanged(object oldHeader, object newHeader)
Parameters:oldHeaderobject

The old header value.

newHeaderobject

The new header value.

Overrides: RadTabItem.OnHeaderChanged(object, object)

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: RadTabItem.OnInitialized(EventArgs)

Called when item is selected.

C#
protected override void OnIsSelectedChanged(bool oldValue, bool newValue)
Parameters:oldValueboolnewValuebool

Overrides: RadTabItem.OnIsSelectedChanged(bool, bool)

Allows derived classes to act on header change.

C#
protected virtual void OnTitleChanged(object oldHeader, object newHeader)
Parameters:oldHeaderobject

The old header value.

newHeaderobject

The new header value.

Events

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

C#
public event PositionChangedEventHandler PositionChanged