添加属性类型

This commit is contained in:
OLDREDSTONE
2025-05-07 10:18:43 +08:00
+20
View File
@@ -254,6 +254,26 @@ namespace RDTKEditor
}, },
}, },
_ => new() _ => new()
{
Orientation = Orientation.Horizontal,
Children =
{
new Label(){Content = property.Name},
new TextBox() { Text = property.Value, }
},
},
RDPropertyType.Color => new()
{
AllowDrop = true,
Orientation = Orientation.Horizontal,
FlowDirection = FlowDirection.LeftToRight,
Children =
{
new Label(){Content = property.Name},
new TextBox() { Text = property.Value, }
},
},
_ => new()
{ {
Orientation = Orientation.Horizontal, Orientation = Orientation.Horizontal,
Children = Children =