C# Class Fluent.PopupService

Represent additional popup functionality
Exibir arquivo Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
DismissPopupEvent System.Windows.RoutedEvent

Public Methods

Method 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 method

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

IsAncestorOf() public static method

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
return bool

IsMousePhysicallyOver() public static method

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

OnClickThroughThunk() public static method

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

OnContextMenuClosed() public static method

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

OnContextMenuOpened() public static method

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

OnDismissPopup() public static method

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

OnLostMouseCapture() public static method

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

RaiseDismissPopupEventAsync() public static method

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

Property Details

DismissPopupEvent public_oe static_oe property

Occurs then popup is dismissed
public static RoutedEvent,System.Windows DismissPopupEvent
return System.Windows.RoutedEvent