blob: 8008064f3268bef1f41a5a25cb0506787b8a232a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/* MainViewModel.cs $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
namespace HandBrakeWPF.ViewModels
{
using Caliburn.Core;
/// <summary>
/// HandBrakes Main Window
/// </summary>
public class MainViewModel : PropertyChangedBase
{
/// <summary>
/// HandBrakes Main Window Title
/// </summary>
private string windowName;
/// <summary>
/// Initializes a new instance of the <see cref="MainViewModel"/> class.
/// </summary>
public MainViewModel()
{
this.WindowTitle = "HandBrake WPF Test Application";
}
/// <summary>
/// Gets or sets TestProperty.
/// </summary>
public string WindowTitle
{
get
{
return this.windowName;
}
set
{
if (!object.Equals(this.windowName, value))
{
this.windowName = value;
this.NotifyOfPropertyChange("TestProperty");
}
}
}
}
}
|