Class PropertyMetadata

Assembly: redb.PropsEditor.dll

Metadata about a single property for UI rendering.

public class PropertyMetadata

Inheritance

ObjectPropertyMetadata

Properties

Description

public string? Description { get; init; }

EditorType

public EditorType EditorType { get; init; }

GroupCollapsed

public bool GroupCollapsed { get; init; }

GroupName

public string? GroupName { get; init; }

IsReadOnly

public bool IsReadOnly { get; init; }

IsTextArea

public bool IsTextArea { get; init; }

Label

public required string Label { get; init; }

Name

public required string Name { get; init; }

Order

public int Order { get; init; }

Placeholder

public string? Placeholder { get; init; }

PropertyInfo

public required PropertyInfo PropertyInfo { get; init; }

PropertyType

public required Type PropertyType { get; init; }

TextAreaRows

public int TextAreaRows { get; init; }

Methods

GetValue(object)

Gets the value of this property from an object.

public object? GetValue(object obj)

SetValue(object, object?)

Sets the value of this property on an object.

public void SetValue(object obj, object? value)