public InspectorTreeNode(IProperty property, IInspectorPropertyEditor editor, IFont font) { TreeNode = new AGSTreeNode <ITreeStringNode>(this); _item = new AGSStringItem(font); Text = property.Name; Property = property; Editor = editor; }
public InspectorTreeNode(IProperty property, IInspectorPropertyEditor editor, IFont font, bool isCategory) { TreeNode = new AGSTreeNode <ITreeStringNode>(this); _item = new AGSStringItem(font); Text = property.DisplayName; Property = property; Editor = editor; IsCategory = isCategory; }