System.Windows.DependencyObject.Equals C# (CSharp) Method

Equals() public final method

public final Equals ( object obj ) : bool
obj object
return bool
        public override sealed bool Equals(object obj)
        {
            throw new NotImplementedException("Equals");
        }

Usage Example

        // A coercion method for the property
        private static object CalculateIsMouseDirectlyOverItem(DependencyObject item, object value)
        {
            // This method is called when the IsMouseDirectlyOver property is being calculated
            // for a TreeViewItem.

            if (item.Equals(_currentItem))
            {
                return true;
            }
            else
            {
                return false;
            }
        }
All Usage Examples Of System.Windows.DependencyObject::Equals