C# Класс Fluent.SplitButton

Наследование: DropDownButton
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Свойство Тип Описание
CoerceIsChecked object
OnButtonClick void
OnClick void
OnCoerceStyle object
OnIsCheckedChanged void
OnLoaded void
OnUnloaded void
SplitButton System
SubscribeEvents void
UnSubscribeEvents void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

BindQuickAccessItem() защищенный Метод

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
Результат void

CreateQuickAccessItem() публичный Метод

Gets control which represents shortcut item. This item MUST be synchronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
Результат System.Windows.FrameworkElement

OnApplyTemplate() публичный Метод

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate
public OnApplyTemplate ( ) : void
Результат void

OnKeyDown() защищенный Метод

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.
Результат void

OnPreviewMouseLeftButtonDown() защищенный Метод

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.
Результат void

Описание свойств

CanAddButtonToQuickAccessToolBarProperty публичное статическое свойство

Using a DependencyProperty as the backing store for CanAddButtonToQuickAccessToolBar. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CanAddButtonToQuickAccessToolBarProperty
Результат System.Windows.DependencyProperty

CheckedEvent публичное статическое свойство

Occurs when button is checked
public static RoutedEvent,System.Windows CheckedEvent
Результат System.Windows.RoutedEvent

ClickEvent публичное статическое свойство

Occurs when user clicks
public static RoutedEvent,System.Windows ClickEvent
Результат System.Windows.RoutedEvent

CommandParameterProperty публичное статическое свойство

Identifies the CommandParameter dependency property.
public static DependencyProperty,System.Windows CommandParameterProperty
Результат System.Windows.DependencyProperty

CommandProperty публичное статическое свойство

Identifies the routed Command dependency property.
public static DependencyProperty,System.Windows CommandProperty
Результат System.Windows.DependencyProperty

CommandTargetProperty публичное статическое свойство

Identifies the CommandTarget dependency property.
public static DependencyProperty,System.Windows CommandTargetProperty
Результат System.Windows.DependencyProperty

DropDownToolTipProperty публичное статическое свойство

Using a DependencyProperty as the backing store for DropDownToolTip. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows DropDownToolTipProperty
Результат System.Windows.DependencyProperty

GroupNameProperty публичное статическое свойство

Using a DependencyProperty as the backing store for GroupName. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupNameProperty
Результат System.Windows.DependencyProperty

IsButtonEnabledProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsDropDownEnabled. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsButtonEnabledProperty
Результат System.Windows.DependencyProperty

IsCheckableProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsChecked. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsCheckableProperty
Результат System.Windows.DependencyProperty

IsCheckedProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsChecked. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsCheckedProperty
Результат System.Windows.DependencyProperty

IsDefinitiveProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsDefinitive. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsDefinitiveProperty
Результат System.Windows.DependencyProperty

UncheckedEvent публичное статическое свойство

Occurs when button is unchecked
public static RoutedEvent,System.Windows UncheckedEvent
Результат System.Windows.RoutedEvent