C# Класс Fluent.RibbonTabControl

Наследование: System.Windows.Controls.Primitives.Selector, IDropDownControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ContentGapHeightProperty System.Windows.DependencyProperty
HighlightSelectedItemProperty System.Windows.DependencyProperty
IsDropDownOpenProperty System.Windows.DependencyProperty
IsMinimizedProperty System.Windows.DependencyProperty
MenuProperty System.Windows.DependencyProperty
SelectedContentProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CoerceIsDropDownOpen object
CustomPopupPlacementMethod System.Windows.Controls.Primitives.CustomPopupPlacement[]
FindNextTabItem RibbonTabItem
GetSelectedTabItem RibbonTabItem
IsRibbonAncestorOf bool
OnCoerceStyle object
OnGeneratorStatusChanged void
OnIsDropDownOpenChanged void
OnLoaded void
OnMinimizedChanged void
OnRibbonTabPopupClosing void
OnRibbonTabPopupOpening void
OnToolbarItemsCollectionChanged void
ProcessMouseWheel void
RibbonTabControl System
UpdateSelectedContent void

Открытые методы

Метод Описание
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

RaiseRequestBackstageClose ( ) : void

Raises an event causing the Backstage-View to be closed

Защищенные методы

Метод Описание
GetContainerForItemOverride ( ) : DependencyObject

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

IsItemItsOwnContainerOverride ( object item ) : bool

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

OnInitialized ( EventArgs e ) : void

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows. FrameworkElement.IsInitialized is set to true internally.

OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void

Updates the current selection when an item in the System.Windows.Controls.Primitives.Selector has changed

OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

Invoked when an unhandled System.Windows.Input.Mouse.PreviewMouseWheel  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void

Called when the selection changes.

Приватные методы

Метод Описание
CoerceIsDropDownOpen ( DependencyObject d, object basevalue ) : object
CustomPopupPlacementMethod ( Size popupsize, Size targetsize, Point offset ) : System.Windows.Controls.Primitives.CustomPopupPlacement[]

Implements custom placement for ribbon popup

FindNextTabItem ( int startIndex, int direction ) : RibbonTabItem
GetSelectedTabItem ( ) : RibbonTabItem
IsRibbonAncestorOf ( DependencyObject element ) : bool
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnGeneratorStatusChanged ( object sender, EventArgs e ) : void
OnIsDropDownOpenChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnMinimizedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRibbonTabPopupClosing ( ) : void
OnRibbonTabPopupOpening ( ) : void
OnToolbarItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ProcessMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
RibbonTabControl ( ) : System
UpdateSelectedContent ( ) : void

Описание методов

GetContainerForItemOverride() защищенный Метод

Creates or identifies the element that is used to display the given item.
protected GetContainerForItemOverride ( ) : DependencyObject
Результат System.Windows.DependencyObject

IsItemItsOwnContainerOverride() защищенный Метод

Determines if the specified item is (or is eligible to be) its own container.
protected IsItemItsOwnContainerOverride ( object item ) : bool
item object The item to check.
Результат bool

OnApplyTemplate() публичный Метод

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
public OnApplyTemplate ( ) : void
Результат void

OnInitialized() защищенный Метод

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows. FrameworkElement.IsInitialized is set to true internally.
protected OnInitialized ( EventArgs e ) : void
e System.EventArgs The System.Windows.RoutedEventArgs that contains the event data.
Результат void

OnItemsChanged() защищенный Метод

Updates the current selection when an item in the System.Windows.Controls.Primitives.Selector has changed
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs The event data.
Результат void

OnPreviewMouseWheel() защищенный Метод

Invoked when an unhandled System.Windows.Input.Mouse.PreviewMouseWheel  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs The System.Windows.Input.MouseWheelEventArgs that contains the event data.
Результат void

OnSelectionChanged() защищенный Метод

Called when the selection changes.
protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs The event data.
Результат void

RaiseRequestBackstageClose() публичный Метод

Raises an event causing the Backstage-View to be closed
public RaiseRequestBackstageClose ( ) : void
Результат void

Описание свойств

ContentGapHeightProperty публичное статическое свойство

DependencyProperty for ContentGapHeight
public static DependencyProperty,System.Windows ContentGapHeightProperty
Результат System.Windows.DependencyProperty

HighlightSelectedItemProperty публичное статическое свойство

Using a DependencyProperty as the backing store for HighlightSelectedItem. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows HighlightSelectedItemProperty
Результат System.Windows.DependencyProperty

IsDropDownOpenProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsDropDownOpen. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsDropDownOpenProperty
Результат System.Windows.DependencyProperty

IsMinimizedProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsMinimized. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsMinimizedProperty
Результат System.Windows.DependencyProperty

MenuProperty публичное статическое свойство

Using a DependencyProperty as the backing store for Button. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MenuProperty
Результат System.Windows.DependencyProperty

SelectedContentProperty публичное статическое свойство

Using a DependencyProperty as the backing store for SelectedContent. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows SelectedContentProperty
Результат System.Windows.DependencyProperty