C# Класс Fluent.PopupService

Represent additional popup functionality
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
DismissPopupEvent System.Windows.RoutedEvent

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

Метод Описание
Attach ( Type classType ) : void

Set needed parameters to control

IsAncestorOf ( DependencyObject parent, DependencyObject element ) : bool

Returns true whether parent is ancestor of element

IsMousePhysicallyOver ( UIElement element ) : bool

Returns true whether mouse is physically over the element

OnClickThroughThunk ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles PreviewMouseDownOutsideCapturedElementEvent event

OnContextMenuClosed ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void

Handles context menu closed event

OnContextMenuOpened ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void

Handles context menu opened event

OnDismissPopup ( object sender, DismissPopupEventArgs e ) : void

Handles dismiss popup event

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

Handles lost mouse capture event

RaiseDismissPopupEventAsync ( object sender, DismissPopupMode mode ) : void

Raises DismissPopup event (Async)

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

Attach() публичный статический Метод

Set needed parameters to control
public static Attach ( Type classType ) : void
classType System.Type Control type
Результат void

IsAncestorOf() публичный статический Метод

Returns true whether parent is ancestor of element
public static IsAncestorOf ( DependencyObject parent, DependencyObject element ) : bool
parent System.Windows.DependencyObject Parent
element System.Windows.DependencyObject Element
Результат bool

IsMousePhysicallyOver() публичный статический Метод

Returns true whether mouse is physically over the element
public static IsMousePhysicallyOver ( UIElement element ) : bool
element UIElement Element
Результат bool

OnClickThroughThunk() публичный статический Метод

Handles PreviewMouseDownOutsideCapturedElementEvent event
public static OnClickThroughThunk ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
Результат void

OnContextMenuClosed() публичный статический Метод

Handles context menu closed event
public static OnContextMenuClosed ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
sender object
e System.Windows.Controls.ContextMenuEventArgs
Результат void

OnContextMenuOpened() публичный статический Метод

Handles context menu opened event
public static OnContextMenuOpened ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
sender object
e System.Windows.Controls.ContextMenuEventArgs
Результат void

OnDismissPopup() публичный статический Метод

Handles dismiss popup event
public static OnDismissPopup ( object sender, DismissPopupEventArgs e ) : void
sender object
e DismissPopupEventArgs
Результат void

OnLostMouseCapture() публичный статический Метод

Handles lost mouse capture event
public static OnLostMouseCapture ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
Результат void

RaiseDismissPopupEventAsync() публичный статический Метод

Raises DismissPopup event (Async)
public static RaiseDismissPopupEventAsync ( object sender, DismissPopupMode mode ) : void
sender object
mode DismissPopupMode
Результат void

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

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

Occurs then popup is dismissed
public static RoutedEvent,System.Windows DismissPopupEvent
Результат System.Windows.RoutedEvent