Drawing3d documented Class Library

NicerXMLFormatter.CheckDefaultEquality Event

The event is called from CheckDefaultEquals For example: Define in the object

 public class MyComponent:object { private Color _Color=Color.Brown; [DefaultValue("Brown")] public Color MyColor { get { return _Color; } set { _Color = value; } } } 
In the event
 if ((EqualsTo.GetType() == typeof(Color)) && (DefValue is String)) { Color C = (Color)EqualsTo; return (C.Name.ToUpper() == ((string)DefValue).ToUpper()); } 

[Visual Basic]
Public Event CheckDefaultEquality As Comparer
[C#]
public event Comparer CheckDefaultEquality;

See Also

NicerXMLFormatter Class | Drawing3d Namespace