Remarks
A UXPopup control displays content in a separate layer relative to an element or point on the screen. When the IsOpen property is set to True, UXPopup will show the content with a smooth animation.
This animation is one of the many added values from UXPopup that allows you to create richer application.
Creating a UXPopup
Example
The following example shows how to define a UXPopup control. This example places the Button and UXPopup in a Grid panel. The content of the UXPopup appears in a TextBlock control, which displays its text in a separate layer that floats over the application near the Grid panel that host it.
Working with BoundaryOffset Property
Considering user experience aspects, there are certain scenarios where you do not want to align the popup to screen edge directly. You may want to have a certain distance from the screen edge as the boundary of the popup.
Using UXPopup you can achieve this scenario by specifying the BoundaryOffset property.
The following illustration shows how the boundary offset works.
Working with PreferredHorizontalDirection Property, PreferredPosition Property and PreferredVerticalDirection Property
The position of UXPopup can be generalized into two types, one is relative and the other is absolute.
In absolute positioning, the position of UXPopup will be depends on the root element, you'll then need to specify the HorizontalOffset and VerticalOffset which determine the position of the UXPopup.
In relative positioning, the position of UXPopup will be depends on its bounding box which is the control itself. There are ten positions that you can choose from, they are:
The following illustrations show how UXPopup positioning works.
Top, Left, Right and Bottom Positions
TopLeft, TopRight, BottomLeft and BottomRight positions
This positioning is determined by the PreferredPosition property. As you can see above, the Top, Left, Right, and Bottom mode always show the popup position in the center of each respective position, while the BottomLeft, BottomRight, TopLeft and TopRight include calculation that determined by PreferredHorizontalDirection and PreferredVerticalDirection.
See the following illustration to understand how these properties work together.
Center Parent position
Working with RelativeTo Property
By default the bounding box of UXPopup is the control itself, you can customize this by specifying the RelativeTo property. The following code shows how to change the bounding box to another UIElement, in this case its a Button.
Definition
public class UXPopup : ISPopup
Summary
The following table summarizes the members exposed in this class.
Public Constructors
UXPopup Constructor() | Initializes a new instance of the UXPopup class. |
Public Properties
AutoRefresh | Gets the auto refresh time out. |
AutoReposition | Gets or set the minimum boundary offset. |
BoundaryOffset | Gets or set the minimum boundary offset. |
CloseOnModal | Gets or sets a value that indicates whether the popup should be closed when its modal. |
CornerRadius | Not applicable. |
DisableOverlay | Gets or sets a value that determines whether overlay is disabled. |
DisplayAnimation | Gets or sets a value that determines the display animation. |
EnableFadeInAnimation | Gets or sets a value that determines whether the fade animation is enabled. |
EnableFadeOutAnimation | Gets or sets a value that determines whether the fade animation is enabled. |
FadeInStoryboard | Gets the fade in storyboard. |
FadeOutStoryboard | Gets the fade out storyboard. |
FlyInStoryboard | Gets the fly in storyboard. |
FlyOutStoryboard | Gets the fly out storyboard. |
HideAnimation | Gets or sets a value that determines the hide animation. |
HorizontalOffset | Gets or sets the distance between the left side of the Silverlight control and the left side of the popup. |
IsModal | Gets or sets whether the popup is modal. |
IsNavigationContainer | Gets or sets a value that determines whether the popup contains navigation controls that should be automatically synchronized during navigation session. |
IsOpen | Gets or sets whether the popup is currently displaying on the screen. |
LogicalOwner | Gets the logical control that owns this popup. |
Owner | Gets the dependency object that owns this popup. |
PopupElement | Gets the popup element. |
PreferredHorizontalDirection | Gets or sets the preferred horizontal direction. |
PreferredPosition | Gets or sets the preferred pop up positions. |
PreferredVerticalDirection | Gets or sets the preferred vertical direction. |
RelativeTo | Gets or sets the target relative element. |
RootElement | Gets the root element. |
SlideDirection | Gets or sets a value that determine the slide direction when slide animation is used. |
SlideXInStoryboard | Gets the slide x in storyboard. |
SlideXOutStoryboard | Gets the slide x out storyboard. |
SlideYInStoryboard | Gets the slide y in storyboard. |
SlideYOutStoryboard | Gets the slide y out storyboard. |
StaysOpen | Gets or sets a value that determines whether the popup stays open regardless the hide command. |
VerticalOffset | Gets or sets the distance between the top of the Silverlight control and the top of the popup. |
ZoomInStoryboard | Gets the zoom in storyboard. |
ZoomOutStoryboard | Gets the zoom out storyboard. |
Protected Properties
Product | Product Info. |
Fields
AutoRepositionProperty | Identifies the AutoReposition dependency property. |
BoundaryOffsetProperty | Identifies the BoundaryOffset dependency property. |
ClosedEvent | Identifies the Closed routed event. |
CloseOnModalProperty | Identifies the CloseOnModal dependency property. |
DisableOverlayProperty | Identifies the DisableOverlay dependency property. |
DisplayAnimationProperty | Identifies the DisplayAnimation dependency property. |
EnableFadeInAnimationProperty | Identifies the EnableFadeAnimation dependency property. |
EnableFadeOutAnimationProperty | Identifies the EnableFadeAnimation dependency property. |
HideAnimationProperty | Identifies the HideAnimation dependency property. |
HorizontalOffsetProperty | Identifies the HorizontalOffset dependency property. |
IsModalProperty | Identifies the IsModal dependency property. |
IsNavigationContainerProperty | Identifies the IsNavigationContainer dependency property. |
IsOpenProperty | Identifies the IsOpen dependency property. |
OpenedEvent | Identifies the Opened routed event. |
PopupHostProperty | Identifies the PopupHost dependency property. |
PreferredHorizontalDirectionProperty | Identifies the PreferredHorizontalDirection dependency property. |
PreferredPositionProperty | Identifies the PreferredPosition dependency property. |
PreferredVerticalDirectionProperty | Identifies the PreferredVerticalDirection dependency property. |
RelativeToProperty | Identifies the RelativeTo dependency property. |
RepositionedEvent | Identifies the Repositioned routed event. |
SlideDirectionProperty | Identifies the SlideDirection dependency property. |
StaysOpenProperty | Identifies the StaysOpen dependency property. |
TargetContentProperty | Identifies the TargetContent dependency property. |
TargetDataContextProperty | Identifies the TargetDataContext dependency property. |
TargetHideLatencyProperty | Identifies the TargetHideLatency dependency property. |
TargetMouseClickActionProperty | Identifies the TargetMouseClickAction dependency property. |
TargetMouseEnterActionProperty | Identifies the TargetMouseEnterAction dependency property. |
TargetMouseLeaveActionProperty | Identifies the TargetMouseLeaveAction dependency property. |
TargetPopupProperty | Identifies the TargetPopup dependency property. |
TargetShowLatencyProperty | Identifies the TargetShowLatency dependency property. |
VerticalOffsetProperty | Identifies the VerticalOffset dependency property. |
Static Methods
Public Methods
AttachEventHandlers() | Attach built-in event handlers to control templates. Call this method if necessary. |
DetachedEventHandlers() | Detach built-in event handlers from control templates. Call this method if necessary. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetHostRect() | Gets host rectangle dimension. |
GetOffset(FrameworkElement, FrameworkElement, Point) | Gets popup offset based on preferred position and relative offset. |
GetPopupRect() | Gets popup rectangle dimension. |
GetRelativeOffset(FrameworkElement&) | Gets popup relative offset based on specified RelativeTo. |
GetVisualRect() | Gets the visual / rectangle dimension. |
InitializeStoryboards() | Initializes storyboards. |
InitializeTemplates() | Initializes control templates. |
OnApplyTemplate() | Builds the visual tree for the UXPopup when a new template is applied. |
Refresh() | Refresh popup positioning. |
RefreshClip() | Perform clipping to the dimension of the control. Call this method if necessary |
ResolvePosition() | Resolve popup positions. |
SetUpdatePositionMode(UpdatePositionMode) | Set update position mode. |
UpdatePosition() | Update popup positions. |
Protected Methods
OnContentChanged(object, object) | Called when the value of the Content property changes. |
OnUnloaded(object, RoutedEventArgs) | Called when the element is unloaded. |
Events
Closed | Occurs when the popup is closed. |
GotFocus | Occurs when this element gets logical focus. |
KeyDown | Occurs when a keyboard key is pressed while the UIElement has focus. |
KeyUp | Occurs when a keyboard key is released while the UIElement has focus. |
LostFocus | Occurs when this element loses logical focus. |
MouseEnter | Occurs when the mouse pointer enters the bounds of this element. |
MouseLeave | Occurs when the mouse pointer leaves the bounds of this element. |
MouseLeftButtonDown | Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a UIElement. |
MouseLeftButtonUp | Occurs when the left mouse button is released (or the tip of the stylus is removed from the tablet PC) while the mouse (or the stylus) is over a UIElement (or while a UIElement holds mouse capture). |
MouseMove | Occurs when the mouse pointer moves while the mouse pointer is over the element. |
MouseWheel | Occurs when the mouse wheel moves while the mouse pointer is over this element. |
Opened | Occurs when the popup is opened. |
Repositioned | Occurs when the popup is repositioned. |
Public Constructors
public UXPopup()
Initializes a new instance of the UXPopup class.
Public Properties
public DispatcherTimer AutoRefresh { get; }
Gets the auto refresh time out.
public bool AutoReposition { get; set; }
Gets or set the minimum boundary offset.
public Thickness BoundaryOffset { get; set; }
Gets or set the minimum boundary offset.
public bool CloseOnModal { get; set; }
Gets or sets a value that indicates whether the popup should be closed when its modal.
public CornerRadius CornerRadius { get; set; }
Not applicable.
public bool DisableOverlay { get; set; }
Gets or sets a value that determines whether overlay is disabled.
Remarks
UXPopup control displays its content when the UXPopup property is set to True. By default there will be an overlay element that blocks the entire application so that if the user click at any elements outside the UXPopup contents, the UXPopup will be closed. You can change this default behavior by setting the DisableOverlay property to True. Furthermore you can also used the UXPopup property if you want to always display the UXPopup. The UXPopup and UXPopup events are raised when the UXPopup is open or closed. |
public PopupAnimation DisplayAnimation { get; set; }
Gets or sets a value that determines the display animation.
Remarks
The UXPopup control has built-in support for the animations that are typically associated with behaviors like fade-in and slide-in. You can turn on these animations by setting the DisplayAnimation, UXPopup, UXPopup, UXPopup, UXPopup properties. UXPopup property is used when the UXPopup and UXPopup properties are set to PopupAnimation. Although with these properties you can control each visual effects individually, it is advised not to mix match the animations for DisplayAnimation or UXPopup, except if you want to disable one of the animation by setting the DisplayAnimation or UXPopup property to PopupAnimation. |
public bool EnableFadeInAnimation { get; set; }
Gets or sets a value that determines whether the fade animation is enabled.
Remarks
The UXPopup control has built-in support for the animations that are typically associated with behaviors like fade-in and slide-in. You can turn on these animations by setting the UXPopup, UXPopup, EnableFadeInAnimation, UXPopup, UXPopup properties. UXPopup property is used when the UXPopup and UXPopup properties are set to PopupAnimation. Although with these properties you can control each visual effects individually, it is advised not to mix match the animations for UXPopup or UXPopup, except if you want to disable one of the animation by setting the UXPopup or UXPopup property to PopupAnimation. |
public bool EnableFadeOutAnimation { get; set; }
Gets or sets a value that determines whether the fade animation is enabled.
Remarks
The UXPopup control has built-in support for the animations that are typically associated with behaviors like fade-in and slide-in. You can turn on these animations by setting the UXPopup, UXPopup, UXPopup, EnableFadeOutAnimation, UXPopup properties. UXPopup property is used when the UXPopup and UXPopup properties are set to PopupAnimation. Although with these properties you can control each visual effects individually, it is advised not to mix match the animations for UXPopup or UXPopup, except if you want to disable one of the animation by setting the UXPopup or UXPopup property to PopupAnimation. |
public Storyboard FadeInStoryboard { get; }
Gets the fade in storyboard.
public Storyboard FadeOutStoryboard { get; }
Gets the fade out storyboard.
public Storyboard FlyInStoryboard { get; }
Gets the fly in storyboard.
public Storyboard FlyOutStoryboard { get; }
Gets the fly out storyboard.
public PopupAnimation HideAnimation { get; set; }
Gets or sets a value that determines the hide animation.
Remarks
The UXPopup control has built-in support for the animations that are typically associated with behaviors like fade-in and slide-in. You can turn on these animations by setting the UXPopup, HideAnimation, UXPopup, UXPopup, UXPopup properties. UXPopup property is used when the UXPopup and HideAnimation properties are set to PopupAnimation. Although with these properties you can control each visual effects individually, it is advised not to mix match the animations for UXPopup or HideAnimation, except if you want to disable one of the animation by setting the UXPopup or HideAnimation property to PopupAnimation. |
public double HorizontalOffset { get; set; }
Gets or sets the distance between the left side of the Silverlight control and the left side of the popup.
public bool IsModal { get; set; }
Gets or sets whether the popup is modal.
public bool IsNavigationContainer { get; set; }
Gets or sets a value that determines whether the popup contains navigation controls that should be automatically synchronized during navigation session.
public bool IsOpen { get; set; }
Gets or sets whether the popup is currently displaying on the screen.
Remarks
UXPopup control displays its content when the IsOpen property is set to True. By default there will be an overlay element that blocks the entire application so that if the user click at any elements outside the UXPopup contents, the UXPopup will be closed. You can change this default behavior by setting the UXPopup property to True. Furthermore you can also used the UXPopup property if you want to always display the UXPopup. The UXPopup and UXPopup events are raised when the UXPopup is open or closed. |
public FrameworkElement LogicalOwner { get; set; }
Gets the logical control that owns this popup.
public DependencyObject Owner { get; set; }
Gets the dependency object that owns this popup.
public Popup PopupElement { get; }
Gets the popup element.
public PopupHorizontalDirection PreferredHorizontalDirection { get; set; }
Gets or sets the preferred horizontal direction.
public PopupPosition PreferredPosition { get; set; }
Gets or sets the preferred pop up positions.
public PopupVerticalDirection PreferredVerticalDirection { get; set; }
Gets or sets the preferred vertical direction.
public FrameworkElement RelativeTo { get; set; }
Gets or sets the target relative element.
public Grid RootElement { get; }
Gets the root element.
public Direction SlideDirection { get; set; }
Gets or sets a value that determine the slide direction when slide animation is used.
Remarks
The UXPopup control has built-in support for the animations that are typically associated with behaviors like fade-in and slide-in. You can turn on these animations by setting the UXPopup, UXPopup, UXPopup, UXPopup, UXPopup properties. SlideDirection property is used when the UXPopup and UXPopup properties are set to PopupAnimation. Although with these properties you can control each visual effects individually, it is advised not to mix match the animations for UXPopup or UXPopup, except if you want to disable one of the animation by setting the UXPopup or UXPopup property to PopupAnimation. |
public Storyboard SlideXInStoryboard { get; }
Gets the slide x in storyboard.
public Storyboard SlideXOutStoryboard { get; }
Gets the slide x out storyboard.
public Storyboard SlideYInStoryboard { get; }
Gets the slide y in storyboard.
public Storyboard SlideYOutStoryboard { get; }
Gets the slide y out storyboard.
public bool StaysOpen { get; set; }
Gets or sets a value that determines whether the popup stays open regardless the hide command.
Remarks
UXPopup control displays its content when the UXPopup property is set to True. By default there will be an overlay element that blocks the entire application so that if the user click at any elements outside the UXPopup contents, the UXPopup will be closed. You can change this default behavior by setting the UXPopup property to True. Furthermore you can also used the StaysOpen property if you want to always display the UXPopup. The UXPopup and UXPopup events are raised when the UXPopup is open or closed. |
public double VerticalOffset { get; set; }
Gets or sets the distance between the top of the Silverlight control and the top of the popup.
public Storyboard ZoomInStoryboard { get; }
Gets the zoom in storyboard.
public Storyboard ZoomOutStoryboard { get; }
Gets the zoom out storyboard.
Protected Properties
protected ProductInfo Product { get; }
Product Info.
Fields
public static readonly DependencyProperty AutoRepositionProperty
Identifies the AutoReposition dependency property.
public static readonly DependencyProperty BoundaryOffsetProperty
Identifies the BoundaryOffset dependency property.
public static readonly RoutedEvent ClosedEvent
Identifies the Closed routed event.
public static readonly DependencyProperty CloseOnModalProperty
Identifies the CloseOnModal dependency property.
public static readonly DependencyProperty DisableOverlayProperty
Identifies the DisableOverlay dependency property.
public static readonly DependencyProperty DisplayAnimationProperty
Identifies the DisplayAnimation dependency property.
public static readonly DependencyProperty EnableFadeInAnimationProperty
Identifies the EnableFadeAnimation dependency property.
public static readonly DependencyProperty EnableFadeOutAnimationProperty
Identifies the EnableFadeAnimation dependency property.
public static readonly DependencyProperty HideAnimationProperty
Identifies the HideAnimation dependency property.
public static readonly DependencyProperty HorizontalOffsetProperty
Identifies the HorizontalOffset dependency property.
public static readonly DependencyProperty IsModalProperty
Identifies the IsModal dependency property.
public static readonly DependencyProperty IsNavigationContainerProperty
Identifies the IsNavigationContainer dependency property.
public static readonly DependencyProperty IsOpenProperty
Identifies the IsOpen dependency property.
public static readonly RoutedEvent OpenedEvent
Identifies the Opened routed event.
public static readonly DependencyProperty PopupHostProperty
Identifies the PopupHost dependency property.
public static readonly DependencyProperty PreferredHorizontalDirectionProperty
Identifies the PreferredHorizontalDirection dependency property.
public static readonly DependencyProperty PreferredPositionProperty
Identifies the PreferredPosition dependency property.
public static readonly DependencyProperty PreferredVerticalDirectionProperty
Identifies the PreferredVerticalDirection dependency property.
public static readonly DependencyProperty RelativeToProperty
Identifies the RelativeTo dependency property.
public static readonly RoutedEvent RepositionedEvent
Identifies the Repositioned routed event.
public static readonly DependencyProperty SlideDirectionProperty
Identifies the SlideDirection dependency property.
public static readonly DependencyProperty StaysOpenProperty
Identifies the StaysOpen dependency property.
public static readonly DependencyProperty TargetContentProperty
Identifies the TargetContent dependency property.
public static readonly DependencyProperty TargetDataContextProperty
Identifies the TargetDataContext dependency property.
public static readonly DependencyProperty TargetHideLatencyProperty
Identifies the TargetHideLatency dependency property.
public static readonly DependencyProperty TargetMouseClickActionProperty
Identifies the TargetMouseClickAction dependency property.
public static readonly DependencyProperty TargetMouseEnterActionProperty
Identifies the TargetMouseEnterAction dependency property.
public static readonly DependencyProperty TargetMouseLeaveActionProperty
Identifies the TargetMouseLeaveAction dependency property.
public static readonly DependencyProperty TargetPopupProperty
Identifies the TargetPopup dependency property.
public static readonly DependencyProperty TargetShowLatencyProperty
Identifies the TargetShowLatency dependency property.
public static readonly DependencyProperty VerticalOffsetProperty
Identifies the VerticalOffset dependency property.
Static Methods
public static Control GetPopupHost(UIElement element)
Gets the popup host.
Parameters
element | TargetElement. |
public static Point GetSafeTransformPoint(ISFramework framework, UIElement element)
Gets a visual transformation point based on the given element which can be safely used in cross-platform codes.
Parameters
framework | The framework object |
element | The element used as the source of the visual transformation point. |
public static object GetTargetContent(UIElement element)
Gets the content.
Parameters
element | TargetElement. |
public static object GetTargetDataContext(UIElement element)
Gets the data context.
Parameters
element | TargetElement. |
public static double GetTargetHideLatency(UIElement element)
Gets the hide latency.
Parameters
element | TargetElement. |
public static PopupAction GetTargetMouseClickAction(UIElement element)
Gets the mouse click action.
Parameters
element | TargetElement. |
public static PopupAction GetTargetMouseEnterAction(UIElement element)
Gets the mouse enter action.
Parameters
element | TargetElement. |
public static PopupAction GetTargetMouseLeaveAction(UIElement element)
Gets the mouse leave action.
Parameters
element | TargetElement. |
public static UXPopup GetTargetPopup(UIElement element)
Gets the target popup.
Parameters
element | UIElement. |
public static double GetTargetShowLatency(UIElement element)
Gets the show latency.
Parameters
element | UIElement. |
public static void SetPopupHost(UIElement element, Control value)
Sets the popup host.
Parameters
element | Target element. |
value | Popup host. |
public static void SetTargetContent(UIElement element, object value)
Sets the content.
Parameters
element | Target element. |
value | Content. |
public static void SetTargetDataContext(UIElement element, object value)
Sets the data context.
Parameters
element | Target element. |
value | DataContext. |
public static void SetTargetHideLatency(UIElement element, double value)
Sets the hide latency.
Parameters
element | Target element. |
value | Latency. |
public static void SetTargetMouseClickAction(UIElement element, PopupAction value)
Sets the mouse click action.
Parameters
element | Target element. |
value | Mouse click action. |
public static void SetTargetMouseEnterAction(UIElement element, PopupAction value)
Sets the mouse enter action.
Parameters
element | Target element. |
value | Mouse enter action. |
public static void SetTargetMouseLeaveAction(UIElement element, PopupAction value)
Sets the mouse leave action.
Parameters
element | Target element. |
value | Mouse leave action. |
public static void SetTargetPopup(UIElement element, UXPopup value)
Sets popup to target element.
Parameters
element | UIElement. |
value | Popup element. |
public static void SetTargetShowLatency(UIElement element, double value)
Sets the show latency.
Parameters
element | UIElement. |
value | Latency. |
Public Methods
public void AttachEventHandlers()
Attach built-in event handlers to control templates. Call this method if necessary.
public void DetachedEventHandlers()
Detach built-in event handlers from control templates. Call this method if necessary.
public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Rect GetHostRect()
Gets host rectangle dimension.
public Point GetOffset(FrameworkElement parent, FrameworkElement content, Point relativeOffset)
Gets popup offset based on preferred position and relative offset.
Parameters
parent | |
content | |
relativeOffset |
public Rect GetPopupRect()
Gets popup rectangle dimension.
public Point GetRelativeOffset(FrameworkElement& parent)
Gets popup relative offset based on specified RelativeTo.
Parameters
parent |
public Rect GetVisualRect()
Gets the visual / rectangle dimension.
public void InitializeStoryboards()
Initializes storyboards.
public void InitializeTemplates()
Initializes control templates.
public void OnApplyTemplate()
Builds the visual tree for the UXPopup when a new template is applied.
public void Refresh()
Refresh popup positioning.
public void RefreshClip()
Perform clipping to the dimension of the control. Call this method if necessary
public void ResolvePosition()
Resolve popup positions.
public void SetUpdatePositionMode(UpdatePositionMode mode)
Set update position mode.
Parameters
mode | Update position mode. |
public void UpdatePosition()
Update popup positions.
Protected Methods
protected void OnContentChanged(object oldContent, object newContent)
Called when the value of the Content property changes.
Parameters
oldContent | The old value of the Content property. |
newContent | The new value of the Content property. |
protected void OnUnloaded(object sender, RoutedEventArgs e)
Called when the element is unloaded.
Parameters
sender | The sender of the event. |
e | The event data for the property change. |
Events
public event ISRoutedEventHandler Closed
Occurs when the popup is closed.
public event ISRoutedEventHandler GotFocus
Occurs when this element gets logical focus.
public event KeyEventHandler KeyDown
Occurs when a keyboard key is pressed while the UIElement has focus.
public event KeyEventHandler KeyUp
Occurs when a keyboard key is released while the UIElement has focus.
public event ISRoutedEventHandler LostFocus
Occurs when this element loses logical focus.
public event MouseEventHandler MouseEnter
Occurs when the mouse pointer enters the bounds of this element.
public event MouseEventHandler MouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
public event MouseButtonEventHandler MouseLeftButtonDown
Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a UIElement.
public event MouseButtonEventHandler MouseLeftButtonUp
Occurs when the left mouse button is released (or the tip of the stylus is removed from the tablet PC) while the mouse (or the stylus) is over a UIElement (or while a UIElement holds mouse capture).
public event MouseEventHandler MouseMove
Occurs when the mouse pointer moves while the mouse pointer is over the element.
public event MouseWheelEventHandler MouseWheel
Occurs when the mouse wheel moves while the mouse pointer is over this element.
public event ISRoutedEventHandler Opened
Occurs when the popup is opened.
public event UXPopupRoutedEventHandler Repositioned
Occurs when the popup is repositioned.