SkiaNodePropertyDescriptor class
WinForms controls — class
Property descriptor for a single SkiaComponent NodeProperty. Supports enum choices, simple type conversion, and SKColor hex editing.
Members
| Member | Kind | Description |
|---|---|---|
SkiaNodePropertyDescriptor(string name, Type type, Func<object> getter, Action<object> setter, string category, string description, string[] choices = null) | Method | Initializes a new instance of the SkiaNodePropertyDescriptor class. |
override Type ComponentType | Property | Gets or sets the component type. |
override bool IsReadOnly | Property | Gets or sets the is read only. |
override Type PropertyType | Property | Gets or sets the property type. |
override string Description | Property | Gets or sets the description. |
override string Category | Property | Gets or sets the category. |
override bool CanResetValue(object component) | Method | Gets or sets the can reset value. |
override void ResetValue(object component) { } | Method | Gets or sets the reset value. |
override bool ShouldSerializeValue(object component) | Method | Gets or sets the should serialize value. |
override object GetValue(object component) | Method | Gets or sets the get value. |
override void SetValue(object component, object value) | Method | Gets or sets the set value. |
override TypeConverter Converter | Property | Gets or sets the converter. |