FlyoutArrow/FlyoutArrow/FlyoutArrow.cs
/// <summary>
/// Updates the arrow's top style
/// </summary>
/// <param name="dependencyObject">The control</param>
/// <param name="dependencyPropertyChangedEventArgs">The change arguments</param>
Updates the arrow's top style
Updates the arrow ' s top style
private static void OnArrowArrowTopStyleChanged(DependencyObject dependencyObject,
            DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            var control = dependencyObject as FlyoutArrow;
            if (control != null)
            {
                control._flyoutArrowPresenter.ArrowTopStyle = (Style)dependencyPropertyChangedEventArgs.NewValue;
            }
        }
private static void OnArrowArrowTopStyleChanged ( DependencyObject dependencyObject , DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) { var control = dependencyObject as FlyoutArrow ; if ( control != null ) { control . _flyoutArrowPresenter . ArrowTopStyle = ( Style ) dependencyPropertyChangedEventArgs . NewValue ; } }
Updates the arrow's top style
Updates the arrow ' s top style
dependencyObject
DependencyObject
None
dependencyPropertyChangedEventArgs
DependencyPropertyChangedEventArgs
The change arguments
The change arguments