C# Класс Delay.SplitButton

Наследование: System.Windows.Controls.Button
Показать файл Открыть проект

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

Метод Описание
OnApplyTemplate ( ) : void

Called when the template is changed.

SplitButton ( ) : System

Initializes a new instance of the SplitButton class.

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

Метод Описание
OnClick ( ) : void

Called when the Button is clicked.

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

Called when a key is pressed.

OpenButtonMenu ( ) : void

Opens the button menu.

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

Метод Описание
ContextMenu_Closed ( object sender, RoutedEventArgs e ) : void

Called when the ContextMenu is closed.

ContextMenu_Opened ( object sender, RoutedEventArgs e ) : void

Called when the ContextMenu is opened.

SplitButton_LayoutUpdated ( object sender, EventArgs e ) : void

Called when the ContextMenu is open and layout is updated.

SplitElement_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Called when the mouse goes over the split element.

SplitElement_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Called when the mouse goes off the split element.

UpdateContextMenuOffsets ( ) : void

Updates the ContextMenu's Horizontal/VerticalOffset properties to keep it under the SplitButton.

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

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

Called when the template is changed.
public OnApplyTemplate ( ) : void
Результат void

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

Called when the Button is clicked.
protected OnClick ( ) : void
Результат void

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

Called when a key is pressed.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Результат void

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

Opens the button menu.
protected OpenButtonMenu ( ) : void
Результат void

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

Initializes a new instance of the SplitButton class.
public SplitButton ( ) : System
Результат System