C# Class Fluent.BackstageTabControl

Represents Backstage tab control.
Inheritance: System.Windows.Controls.Primitives.Selector
Mostra file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
ContentStringFormatProperty System.Windows.DependencyProperty
ContentTemplateProperty System.Windows.DependencyProperty
ContentTemplateSelectorProperty System.Windows.DependencyProperty
ItemsPanelBackgroundProperty System.Windows.DependencyProperty
SelectedContentProperty System.Windows.DependencyProperty
SelectedContentStringFormatProperty System.Windows.DependencyProperty
SelectedContentTemplateProperty System.Windows.DependencyProperty
SelectedContentTemplateSelectorProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
BackstageTabControl System
FindNextTabItem Fluent.BackstageTabItem
GetSelectedTabItem Fluent.BackstageTabItem
OnCoerceStyle object
OnGeneratorStatusChanged void
OnLoaded void
OnPopupDismiss void
OnUnloaded void
UpdateSelectedContent void

Protected Methods

Method 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

OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void

Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

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

Called when the selection changes.

Private Methods

Method Description
BackstageTabControl ( ) : System
FindNextTabItem ( int startIndex, int direction ) : Fluent.BackstageTabItem
GetSelectedTabItem ( ) : Fluent.BackstageTabItem
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnGeneratorStatusChanged ( object sender, EventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnPopupDismiss ( object sender, DismissPopupEventArgs e ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
UpdateSelectedContent ( ) : void

Method Details

GetContainerForItemOverride() protected method

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

IsItemItsOwnContainerOverride() protected method

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.
return bool

OnInitialized() protected method

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.
return void

OnItemsChanged() protected method

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.
return void

OnMouseLeftButtonDown() protected method

Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs The MouseButtonEventArgs that contains the event data. /// The event data reports that the left mouse button was pressed
return void

OnSelectionChanged() protected method

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

Property Details

ContentStringFormatProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentStringFormatProperty
return System.Windows.DependencyProperty

ContentTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentTemplateProperty
return System.Windows.DependencyProperty

ContentTemplateSelectorProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentTemplateSelectorProperty
return System.Windows.DependencyProperty

ItemsPanelBackgroundProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Foreground. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ItemsPanelBackgroundProperty
return System.Windows.DependencyProperty

SelectedContentProperty public_oe static_oe property

Dependency property SelectedContent
public static DependencyProperty,System.Windows SelectedContentProperty
return System.Windows.DependencyProperty

SelectedContentStringFormatProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedContentStringFormatProperty
return System.Windows.DependencyProperty

SelectedContentTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedContentTemplateProperty
return System.Windows.DependencyProperty

SelectedContentTemplateSelectorProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedContentTemplateSelectorProperty
return System.Windows.DependencyProperty