@jessen.ch wrote:
I have a class which has a property
ParentGuid
:class Component: { /// ........................... /// other implementations /// ........................... [TypeConverter(typeof(GuidConverter))] public Guid ParentGuid { get { return GetParentGuid(RhinoObject); } set { SetParentGuid(RhinoObject, value); NotifyPropertyChanged(); } } }
In the UI I defined a
Eto.Forms.PropertyGrid
private PropertyGrid GeneratePropertyGridView() { var propertylayout = new PropertyGrid(); propertylayout.SelectedObjects = MyComponentInstance; propertylayout.ShowCategories = false; propertylayout.ShowDescription = false; return propertylayout; }
But with or without
TypeConverter
, In the property grid doesn’t display theParentGuid
value.By debugging I found the
TypeConverter
isn’t even accessed.Is there any step missing? I could not find any documentation about
PropertyGrid
orTypeConverter
of Eto.Forms. Would be great if you could provide a solution with example.Thanks in advance!
Chen
Posts: 1
Participants: 1