C# Class Fluent.RibbonTabControl

Inheritance: System.Windows.Controls.Primitives.Selector, IDropDownControl
Afficher le fichier Open project: Gainedge/BetterExplorer

Méthodes publiques

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetContainerForItemOverride() protected méthode

Creates or identifies the element that is used to display the given item.
protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

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.
Résultat bool

OnApplyTemplate() public méthode

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
public OnApplyTemplate ( ) : void
Résultat void

OnInitialized() protected méthode

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.
Résultat void

OnItemsChanged() protected méthode

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.
Résultat void

OnPreviewMouseWheel() protected méthode

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.
Résultat void

OnSelectionChanged() protected méthode

Called when the selection changes.
protected OnSelectionChanged ( System.Windows.Controls.SelectionChangedEventArgs e ) : void
e System.Windows.Controls.SelectionChangedEventArgs The event data.
Résultat void

RaiseRequestBackstageClose() public méthode

Raises an event causing the Backstage-View to be closed
public RaiseRequestBackstageClose ( ) : void
Résultat void

Property Details

ContentGapHeightProperty public_oe static_oe property

DependencyProperty for ContentGapHeight
public static DependencyProperty,System.Windows ContentGapHeightProperty
Résultat System.Windows.DependencyProperty

HighlightSelectedItemProperty public_oe static_oe property

Using a DependencyProperty as the backing store for HighlightSelectedItem. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows HighlightSelectedItemProperty
Résultat System.Windows.DependencyProperty

IsDropDownOpenProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsDropDownOpen. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsDropDownOpenProperty
Résultat System.Windows.DependencyProperty

IsMinimizedProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsMinimized. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsMinimizedProperty
Résultat System.Windows.DependencyProperty

MenuProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Button. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MenuProperty
Résultat System.Windows.DependencyProperty

SelectedContentProperty public_oe static_oe property

Using a DependencyProperty as the backing store for SelectedContent. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows SelectedContentProperty
Résultat System.Windows.DependencyProperty