GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoPalette Class / Comparer Property
In This Topic
    Comparer Property (GoPalette)
    In This Topic
    Gets or sets the way the palette items are compared during sorting.
    Syntax
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public virtual IComparer<GoObject> Comparer {get; set;}

    Property Value

    This defaults to a comparer that compares the IGoLabeledPart.Text strings. If the object is not a IGoLabeledPart, the default comparer compares as if it were null. Attempting to set this property to null will restore the default comparer.
    See Also