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

OnDropDownContentChanged() private static method

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

Same methods

DropDownButton::OnDropDownContentChanged ( object oldValue, object newValue ) : void

Usage Example

示例#1
0
        private static void OnDropDownContentChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            DropDownButton dropDownButton = o as DropDownButton;

            if (dropDownButton != null)
            {
                dropDownButton.OnDropDownContentChanged(( object )e.OldValue, ( object )e.NewValue);
            }
        }