C# Class Fluent.InRibbonGallery

Inheritance: System.Windows.Controls.Primitives.Selector, IScalableRibbonControl, IDropDownControl, IRibbonControl, IQuickAccessItemProvider
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
CanAddToQuickAccessToolBarProperty System.Windows.DependencyProperty
CanCollapseToButtonProperty System.Windows.DependencyProperty
DropDownHeightProperty System.Windows.DependencyProperty
GroupByProperty System.Windows.DependencyProperty
HasFilterProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
IconProperty System.Windows.DependencyProperty
IsCollapsedProperty System.Windows.DependencyProperty
IsDropDownOpenProperty System.Windows.DependencyProperty
ItemHeightProperty System.Windows.DependencyProperty
ItemWidthProperty System.Windows.DependencyProperty
LargeIconProperty System.Windows.DependencyProperty
MaxDropDownHeightProperty System.Windows.DependencyProperty
MaxItemsInDropDownRowProperty System.Windows.DependencyProperty
MaxItemsInRowProperty System.Windows.DependencyProperty
MenuProperty System.Windows.DependencyProperty
MinItemsInDropDownRowProperty System.Windows.DependencyProperty
MinItemsInRowProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
ResizeModeProperty System.Windows.DependencyProperty
SelectableProperty System.Windows.DependencyProperty
SelectedFilterGroupsProperty System.Windows.DependencyProperty
SelectedFilterProperty System.Windows.DependencyProperty
SelectedFilterTitleProperty System.Windows.DependencyProperty
ShowPopupOnTopProperty System.Windows.DependencyProperty

Public Methods

Method Description
CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

Enlarge ( ) : void

Enlarge control size

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate

OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

OnSizePropertyChanged ( RibbonControlSize previous, RibbonControlSize current ) : void

Handles size property changing

Reduce ( ) : void

Reduce control size

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.

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Invoked when the E:System.Windows.UIElement.KeyDown event is received.

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

Called when the selection changes.

Private Methods

Method Description
CoerceSelectedFilter ( DependencyObject d, object basevalue ) : object
CoerceSelectedItem ( DependencyObject d, object basevalue ) : object
Freeze ( ) : void
GetFilterMenuItem ( Fluent.GalleryGroupFilter filter ) : MenuItem
InRibbonGallery ( ) : System
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnDropDownClick ( object sender, RoutedEventArgs e ) : void
OnDropDownClosed ( object sender, EventArgs e ) : void
OnDropDownOpened ( object sender, EventArgs e ) : void
OnExpandClick ( object sender, RoutedEventArgs e ) : void
OnFilterChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnFilterCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnFilterMenuItemClick ( object sender, RoutedEventArgs e ) : void
OnFocusedElementLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnFocusedElementPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnItemsContainerGeneratorStatusChanged ( object sender, EventArgs e ) : void
OnMaxItemsInRowChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPopupPreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnPopupPreviewMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnQuickAccessMenuClosed ( object sender, EventArgs e ) : void
OnQuickAccessOpened ( object sender, EventArgs e ) : void
OnResizeBothDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnResizeVerticalDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnSelectableChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Unfreeze ( ) : void

Method Details

CreateQuickAccessItem() public method

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
return System.Windows.FrameworkElement

Enlarge() public method

Enlarge control size
public Enlarge ( ) : void
return void

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

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate
public OnApplyTemplate ( ) : void
return void

OnKeyDown() protected method

Invoked when the E:System.Windows.UIElement.KeyDown event is received.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Information about the event.
return void

OnKeyTipBack() public method

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
return void

OnKeyTipPressed() public method

Handles key tip pressed
public OnKeyTipPressed ( ) : void
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

OnSizePropertyChanged() public method

Handles size property changing
public OnSizePropertyChanged ( RibbonControlSize previous, RibbonControlSize current ) : void
previous RibbonControlSize Previous value
current RibbonControlSize Current value
return void

Reduce() public method

Reduce control size
public Reduce ( ) : void
return void

Property Details

CanAddToQuickAccessToolBarProperty public_oe static_oe property

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

CanCollapseToButtonProperty public_oe static_oe property

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

DropDownHeightProperty public_oe static_oe property

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

GroupByProperty public_oe static_oe property

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

HasFilterProperty public_oe static_oe property

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

HeaderProperty public_oe static_oe property

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

IconProperty public_oe static_oe property

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

IsCollapsedProperty public_oe static_oe property

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

IsDropDownOpenProperty public_oe static_oe property

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

ItemHeightProperty public_oe static_oe property

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

ItemWidthProperty public_oe static_oe property

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

LargeIconProperty public_oe static_oe property

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

MaxDropDownHeightProperty public_oe static_oe property

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

MaxItemsInDropDownRowProperty public_oe static_oe property

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

MaxItemsInRowProperty public_oe static_oe property

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

MenuProperty public_oe static_oe property

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

MinItemsInDropDownRowProperty public_oe static_oe property

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

MinItemsInRowProperty public_oe static_oe property

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

OrientationProperty public_oe static_oe property

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

ResizeModeProperty public_oe static_oe property

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

SelectableProperty public_oe static_oe property

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

SelectedFilterGroupsProperty public_oe static_oe property

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

SelectedFilterProperty public_oe static_oe property

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

SelectedFilterTitleProperty public_oe static_oe property

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

ShowPopupOnTopProperty public_oe static_oe property

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