RadOutlookBarItem
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:
[TelerikToolboxCategory("Navigation")]
public class RadOutlookBarItem : RadTabItem, IRadTabItem
Inheritance: objectRadTabItemRadOutlookBarItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadOutlookBarItem class.
public RadOutlookBarItem()
Fields
IconMarginProperty
DependencyProperty
Identifies the IconMarginProperty dependency property.
public static readonly DependencyProperty IconMarginProperty
IconProperty
DependencyProperty
Identifies the Icon dependency property.
public static readonly DependencyProperty IconProperty
MinimizedContentProperty
DependencyProperty
Identifies the MinimizedContent dependency property.
public static readonly DependencyProperty MinimizedContentProperty
MinimizedContentTemplateProperty
DependencyProperty
Identifies the MinimizedContentTemplate dependency property.
public static readonly DependencyProperty MinimizedContentTemplateProperty
MinimizedContentTemplateSelectorProperty
DependencyProperty
Identifies the MinimizedContentTemplateSelector dependency property.
public static readonly DependencyProperty MinimizedContentTemplateSelectorProperty
PositionChangedEvent
RoutedEvent
This event gets fired every time a RadOutlookBarItem changes its position.
public static readonly RoutedEvent PositionChangedEvent
SmallIconProperty
DependencyProperty
Identifies the SmallIcon dependency property.
public static readonly DependencyProperty SmallIconProperty
TitleProperty
DependencyProperty
Identifies the Header property.
public static readonly DependencyProperty TitleProperty
TitleTemplateProperty
DependencyProperty
Identifies the TitleTemplate dependency property.
public static readonly DependencyProperty TitleTemplateProperty
TitleTemplateSelectorProperty
DependencyProperty
Identifies the TitleTemplateSelector dependency property.
public static readonly DependencyProperty TitleTemplateSelectorProperty
Properties
Icon
ImageSource
Gets or sets the source of the icon of RadOutlookBarItem.
public ImageSource Icon { get; set; }
The icon is visible when the RadOutlookBarItem is in the ActiveArea.
IconMargin
Thickness
Gets or sets the margin of the icon of RadOutlookBarItem.
public Thickness IconMargin { get; set; }
Gets or sets the content that will represent the RadOutlookBarItem while in MinimizedArea.
public object MinimizedContent { get; set; }
MinimizedContentTemplate
DataTemplate
Gets or sets the content template that will represent the RadOutlookBarItem while in MinimizedArea.
public DataTemplate MinimizedContentTemplate { get; set; }
MinimizedContentTemplateSelector
DataTemplateSelector
Gets or sets the content template selector that will select a template to represent the RadOutlookBarItem while in MinimizedArea.
public DataTemplateSelector MinimizedContentTemplateSelector { get; set; }
Gets the position of the RadOutlookBarItem. This item can be positioned in: ActiveArea MinimizedArea OverflowArea.
public OutlookBarItemPosition Position { get; }
SmallIcon
ImageSource
Gets or sets the source of the small icon of RadOutlookBarItem.
public ImageSource SmallIcon { get; set; }
The small icon is visible when the RadOutlookBarItem is in the MinimizedArea.
Gets or sets the title of the parent RadOutlookBar control.
public object Title { get; set; }
TitleTemplate
DataTemplate
Gets or sets the template for the title of the parent RadOutlookBar control.
public DataTemplate TitleTemplate { get; set; }
TitleTemplateSelector
DataTemplateSelector
Gets or sets the template selector for the title template of the parent RadOutlookBar control.
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().
public override void OnApplyTemplate()
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Events
Occurs when a RadOutlookBarItem changes its position, for example, from ActiveArea to MinimizedArea.
public event PositionChangedEventHandler PositionChanged