Browse Source
The syntax is as follows:
public class Person
{
[Description("First Name")]
public string FirstName { get; set; }
[Description("Last Name")]
public string LastName { get; set; }
[ExpandableObject]
public Person Spouse { get; set; }
}
pull/1645/head
3 changed files with 17 additions and 8 deletions
@ -0,0 +1,12 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Microsoft.Windows.Controls.PropertyGrid.Attributes |
||||
|
{ |
||||
|
public class ExpandableObjectAttribute : Attribute |
||||
|
{ |
||||
|
public ExpandableObjectAttribute() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue