C# Class Fluent.PopupService

Represent additional popup functionality
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
DismissPopupEvent System.Windows.RoutedEvent

Méthodes publiques

Méthode Description
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)

Method Details

Attach() public static méthode

Set needed parameters to control
public static Attach ( Type classType ) : void
classType System.Type Control type
Résultat void

IsAncestorOf() public static méthode

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
Résultat bool

IsMousePhysicallyOver() public static méthode

Returns true whether mouse is physically over the element
public static IsMousePhysicallyOver ( UIElement element ) : bool
element UIElement Element
Résultat bool

OnClickThroughThunk() public static méthode

Handles PreviewMouseDownOutsideCapturedElementEvent event
public static OnClickThroughThunk ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnContextMenuClosed() public static méthode

Handles context menu closed event
public static OnContextMenuClosed ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
sender object
e System.Windows.Controls.ContextMenuEventArgs
Résultat void

OnContextMenuOpened() public static méthode

Handles context menu opened event
public static OnContextMenuOpened ( object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
sender object
e System.Windows.Controls.ContextMenuEventArgs
Résultat void

OnDismissPopup() public static méthode

Handles dismiss popup event
public static OnDismissPopup ( object sender, DismissPopupEventArgs e ) : void
sender object
e DismissPopupEventArgs
Résultat void

OnLostMouseCapture() public static méthode

Handles lost mouse capture event
public static OnLostMouseCapture ( object sender, System.Windows.Input.MouseEventArgs e ) : void
sender object
e System.Windows.Input.MouseEventArgs
Résultat void

RaiseDismissPopupEventAsync() public static méthode

Raises DismissPopup event (Async)
public static RaiseDismissPopupEventAsync ( object sender, DismissPopupMode mode ) : void
sender object
mode DismissPopupMode
Résultat void

Property Details

DismissPopupEvent public_oe static_oe property

Occurs then popup is dismissed
public static RoutedEvent,System.Windows DismissPopupEvent
Résultat System.Windows.RoutedEvent