C# Class Fluent.SplitButton

Inheritance: DropDownButton
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
CanAddButtonToQuickAccessToolBarProperty System.Windows.DependencyProperty
CheckedEvent System.Windows.RoutedEvent
ClickEvent System.Windows.RoutedEvent
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommandTargetProperty System.Windows.DependencyProperty
DropDownToolTipProperty System.Windows.DependencyProperty
GroupNameProperty System.Windows.DependencyProperty
IsButtonEnabledProperty System.Windows.DependencyProperty
IsCheckableProperty System.Windows.DependencyProperty
IsCheckedProperty System.Windows.DependencyProperty
IsDefinitiveProperty System.Windows.DependencyProperty
UncheckedEvent System.Windows.RoutedEvent

Private Properties

Свойство Type Description
CoerceIsChecked object
OnButtonClick void
OnClick void
OnCoerceStyle object
OnIsCheckedChanged void
OnLoaded void
OnUnloaded void
SplitButton System
SubscribeEvents void
UnSubscribeEvents void

Méthodes publiques

Méthode Description
CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be synchronized 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 ApplyTemplate

Méthodes protégées

Méthode Description
BindQuickAccessItem ( FrameworkElement element ) : void

This method must be overridden to bind properties to use in quick access creating

OnKeyDown ( KeyEventArgs e ) : void

Provides class handling for the E:System.Windows.UIElement.KeyDown routed event that occurs when the user presses a key.

OnPreviewMouseLeftButtonDown ( System e ) : void

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Private Methods

Méthode Description
CoerceIsChecked ( DependencyObject d, object basevalue ) : object
OnButtonClick ( object sender, RoutedEventArgs e ) : void
OnClick ( object sender, RoutedEventArgs e ) : void
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnIsCheckedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
SplitButton ( ) : System
SubscribeEvents ( ) : void
UnSubscribeEvents ( ) : void

Method Details

BindQuickAccessItem() protected méthode

This method must be overridden to bind properties to use in quick access creating
protected BindQuickAccessItem ( FrameworkElement element ) : void
element System.Windows.FrameworkElement Toolbar item
Résultat void

CreateQuickAccessItem() public méthode

Gets control which represents shortcut item. This item MUST be synchronized 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 ApplyTemplate
public OnApplyTemplate ( ) : void
Résultat void

OnKeyDown() protected méthode

Provides class handling for the E:System.Windows.UIElement.KeyDown routed event that occurs when the user presses a key.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs The event data for the event.
Résultat void

OnPreviewMouseLeftButtonDown() protected méthode

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseLeftButtonDown ( System e ) : void
e System The System.Windows.Input.MouseButtonEventArgs that contains the event data. /// The event data reports that the left mouse button was pressed.
Résultat void

Property Details

CanAddButtonToQuickAccessToolBarProperty public_oe static_oe property

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

CheckedEvent public_oe static_oe property

Occurs when button is checked
public static RoutedEvent,System.Windows CheckedEvent
Résultat System.Windows.RoutedEvent

ClickEvent public_oe static_oe property

Occurs when user clicks
public static RoutedEvent,System.Windows ClickEvent
Résultat System.Windows.RoutedEvent

CommandParameterProperty public_oe static_oe property

Identifies the CommandParameter dependency property.
public static DependencyProperty,System.Windows CommandParameterProperty
Résultat System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Identifies the routed Command dependency property.
public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty

CommandTargetProperty public_oe static_oe property

Identifies the CommandTarget dependency property.
public static DependencyProperty,System.Windows CommandTargetProperty
Résultat System.Windows.DependencyProperty

DropDownToolTipProperty public_oe static_oe property

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

GroupNameProperty public_oe static_oe property

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

IsButtonEnabledProperty public_oe static_oe property

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

IsCheckableProperty public_oe static_oe property

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

IsCheckedProperty public_oe static_oe property

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

IsDefinitiveProperty public_oe static_oe property

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

UncheckedEvent public_oe static_oe property

Occurs when button is unchecked
public static RoutedEvent,System.Windows UncheckedEvent
Résultat System.Windows.RoutedEvent