Collection assign handling like a system.xaml
This commit is contained in:
Родитель
ce1f3b7af6
Коммит
c7292114f7
|
@ -438,6 +438,20 @@ namespace MonoTests.Portable.Xaml
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ContentProperty(nameof(Items))]
|
||||||
|
public class CollectionAssignnmentTest
|
||||||
|
{
|
||||||
|
List<TestClass4> items = new List<TestClass4>();
|
||||||
|
|
||||||
|
public bool Assigned { get; private set; }
|
||||||
|
|
||||||
|
public List<TestClass4> Items
|
||||||
|
{
|
||||||
|
get => items;
|
||||||
|
set { items = value; Assigned = true; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[RuntimeNameProperty("TheName")]
|
[RuntimeNameProperty("TheName")]
|
||||||
public class TestClass5WithName : TestClass5
|
public class TestClass5WithName : TestClass5
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче