Xceed.Wpf.Toolkit.DropDownButton.OnIsOpenChanged C# (CSharp) Method

OnIsOpenChanged() private static method

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

Same methods

DropDownButton::OnIsOpenChanged ( bool oldValue, bool newValue ) : void

Usage Example

Exemplo n.º 1
0
        private static void OnIsOpenChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            DropDownButton dropDownButton = o as DropDownButton;

            if (dropDownButton != null)
            {
                dropDownButton.OnIsOpenChanged(( bool )e.OldValue, ( bool )e.NewValue);
            }
        }