private static void OnIsOpenChanged( DependencyObject o, DependencyPropertyChangedEventArgs e ) { DropDownButton dropDownButton = o as DropDownButton; if( dropDownButton != null ) dropDownButton.OnIsOpenChanged( ( bool )e.OldValue, ( bool )e.NewValue ); }
private static void OnIsOpenChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { DropDownButton dropDownButton = o as DropDownButton; if (dropDownButton != null) { dropDownButton.OnIsOpenChanged(( bool )e.OldValue, ( bool )e.NewValue); } }