FlyoutArrow/FlyoutArrow/FlyoutArrowPresenter.cs
/// <summary>
/// Updates the control's positioning and arrow placement
/// </summary>
/// <param name="dependencyObject">The control</param>
/// <param name="dependencyPropertyChangedEventArgs">The change arguments</param>
Updates the control's positioning and arrow placement
Updates the control ' s positioning and arrow placement
private static void OnFlyoutLocationChanged(DependencyObject dependencyObject,
            DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            var control = dependencyObject as FlyoutArrowPresenter;
            if (control != null)
            {
                control.UpdateTopPosition();
                control.UpdateArrowPoints();
                control.UpdateArrowStyle();
            }
        }
private static void OnFlyoutLocationChanged ( DependencyObject dependencyObject , DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) { var control = dependencyObject as FlyoutArrowPresenter ; if ( control != null ) { control . UpdateTopPosition ( ) ; control . UpdateArrowPoints ( ) ; control . UpdateArrowStyle ( ) ; } }
Updates the control's positioning and arrow placement
Updates the control ' s positioning and arrow placement
dependencyObject
DependencyObject
None
dependencyPropertyChangedEventArgs
DependencyPropertyChangedEventArgs
The change arguments
The change arguments