| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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 => _integer;
- set
- {
- _integer = value;
- RaisePropertyChanged();
- }
- }
- public string String
- {
- get => _string;
- set
- {
- _string = value;
- RaisePropertyChanged();
- }
- }
- public TestViewModel Child
- {
- get => _child;
- set
- {
- _child = value;
- RaisePropertyChanged();
- }
- }
- }
- }
|