Archived
forked from RDTKEditor/RDTKEditor
添加属性类型
This commit is contained in:
@@ -254,6 +254,26 @@ namespace RDTKEditor
|
||||
},
|
||||
},
|
||||
_ => 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,
|
||||
Children =
|
||||
|
||||
Reference in New Issue
Block a user