csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1009 B
44 lines
1009 B
// Copyright (c) The Avalonia Project. All rights reserved.
|
|
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
|
|
|
using Avalonia.UnitTests;
|
|
|
|
namespace Avalonia.Markup.Xaml.UnitTests
|
|
{
|
|
public class TestViewModel : NotifyingBase
|
|
{
|
|
private string _string;
|
|
private int _integer;
|
|
private TestViewModel _child;
|
|
|
|
public int Integer
|
|
{
|
|
get { return _integer; }
|
|
set
|
|
{
|
|
_integer = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
|
|
public string String
|
|
{
|
|
get { return _string; }
|
|
set
|
|
{
|
|
_string = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
|
|
public TestViewModel Child
|
|
{
|
|
get { return _child; }
|
|
set
|
|
{
|
|
_child = value;
|
|
RaisePropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
}
|