Property descriptor for a single SkiaComponent NodeProperty. Supports enum choices, simple type conversion, and SKColor hex editing.

Members

MemberKindDescription
SkiaNodePropertyDescriptor(string name, Type type, Func<object> getter, Action<object> setter, string category, string description, string[] choices = null)MethodInitializes a new instance of the SkiaNodePropertyDescriptor class.
override Type ComponentTypePropertyGets or sets the component type.
override bool IsReadOnlyPropertyGets or sets the is read only.
override Type PropertyTypePropertyGets or sets the property type.
override string DescriptionPropertyGets or sets the description.
override string CategoryPropertyGets or sets the category.
override bool CanResetValue(object component)MethodGets or sets the can reset value.
override void ResetValue(object component) { }MethodGets or sets the reset value.
override bool ShouldSerializeValue(object component)MethodGets or sets the should serialize value.
override object GetValue(object component)MethodGets or sets the get value.
override void SetValue(object component, object value)MethodGets or sets the set value.
override TypeConverter ConverterPropertyGets or sets the converter.

Related