C# Class Fluent.ComboBox

Inheritance: System.Windows.Controls.ComboBox, IQuickAccessItemProvider, IRibbonControl, IDropDownControl
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
CanAddToQuickAccessToolBarProperty System.Windows.DependencyProperty
DropDownHeightProperty System.Windows.DependencyProperty
GroupByProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
IconProperty System.Windows.DependencyProperty
InputWidthProperty System.Windows.DependencyProperty
ItemHeightProperty System.Windows.DependencyProperty
MenuProperty System.Windows.DependencyProperty
ResizeModeProperty System.Windows.DependencyProperty
ShowPopupOnTopProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
CoerceSelectedItem object
ComboBox System
CustomPopupPlacementMethod System.Windows.Controls.Primitives.CustomPopupPlacement[]
Freeze void
OnContentBorderPreviewMouseDown void
OnFirstLoaded void
OnFocusedElementLostKeyboardFocus void
OnIconChanged void
OnQuickAccessMenuClosed void
OnQuickAccessOpened void
OnQuickAccessTextBoxGetFocus void
OnQuickAccessTextBoxLostFocus void
OnResizeBothDelta void
OnResizeVerticalDelta void
OnSelectionItemChanged void
SetDragHeight void
Unfreeze void
UpdateQuickAccessCombo void

Méthodes publiques

Méthode Description
CreateQuickAccessItem ( ) : FrameworkElement

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

OnApplyTemplate ( ) : void

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

OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Méthodes protégées

Méthode Description
OnDropDownClosed ( EventArgs e ) : void

Reports when a combo box's popup closes.

OnDropDownOpened ( EventArgs e ) : void

Reports when a combo box's popup opens.

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

Invoked when a E:System.Windows.Input.Keyboard.KeyDown attached routed event occurs.

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

Invoked when a E:System.Windows.Input.Keyboard.PreviewKeyDown attached routed event occurs.

Private Methods

Méthode Description
CoerceSelectedItem ( DependencyObject d, object basevalue ) : object
ComboBox ( ) : System
CustomPopupPlacementMethod ( Size popupsize, Size targetsize, Point offset ) : System.Windows.Controls.Primitives.CustomPopupPlacement[]

Implements custom placement for ribbon popup

Freeze ( ) : void
OnContentBorderPreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnFirstLoaded ( object sender, RoutedEventArgs e ) : void
OnFocusedElementLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnIconChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnQuickAccessMenuClosed ( object sender, EventArgs e ) : void
OnQuickAccessOpened ( object sender, EventArgs e ) : void
OnQuickAccessTextBoxGetFocus ( object sender, RoutedEventArgs e ) : void
OnQuickAccessTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void
OnResizeBothDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnResizeVerticalDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnSelectionItemChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetDragHeight ( System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
Unfreeze ( ) : void
UpdateQuickAccessCombo ( ) : void

Method Details

CreateQuickAccessItem() public méthode

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

OnApplyTemplate() public méthode

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

OnDropDownClosed() protected méthode

Reports when a combo box's popup closes.
protected OnDropDownClosed ( EventArgs e ) : void
e System.EventArgs The event data for the event.
Résultat void

OnDropDownOpened() protected méthode

Reports when a combo box's popup opens.
protected OnDropDownOpened ( EventArgs e ) : void
e System.EventArgs The event data for the event.
Résultat void

OnKeyDown() protected méthode

Invoked when a E:System.Windows.Input.Keyboard.KeyDown attached routed event occurs.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Event data.
Résultat void

OnKeyTipBack() public méthode

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
Résultat void

OnKeyTipPressed() public méthode

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Résultat void

OnPreviewKeyDown() protected méthode

Invoked when a E:System.Windows.Input.Keyboard.PreviewKeyDown attached routed event occurs.
protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Event data.
Résultat 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
Résultat System.Windows.DependencyProperty

DropDownHeightProperty public_oe static_oe property

/Using a DependencyProperty as the backing store for DropDownHeight. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows DropDownHeightProperty
Résultat 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
Résultat 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
Résultat 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
Résultat System.Windows.DependencyProperty

InputWidthProperty public_oe static_oe property

Using a DependencyProperty as the backing store for InputWidth. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows InputWidthProperty
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat System.Windows.DependencyProperty