Xceed PropertyGrid: How to Hide Fully Qualified Name for ExpandableObject

412 views Asked by At

In Xceed's Extended Toolkit PropertyGrid, how do I hide the fully-qualified name of the expandable object? (see screenshot below)

Screenshot of ExpandableObject example from Xceed documentation

1

There are 1 answers

0
BoucherS On BEST ANSWER

you can override the ToString() method on your expandable object.

public override string ToString()
{
  return this.FirstName + " " + this.LastName;
}