blob: 1a25d31d6d610b47b992b365ebbc0bfa4a7b03a5 (
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
|
namespace Xamarin.PropertyEditing.Windows
{
internal class HostEnvironment
: NotifyingObject
{
public static HostEnvironment Current
{
get;
} = new HostEnvironment();
public bool AreAnimationsAllowed
{
get { return this.areAnimationsAllowed; }
set
{
if (this.areAnimationsAllowed == value)
return;
this.areAnimationsAllowed = value;
OnPropertyChanged();
}
}
public bool AreGradientsAllowed
{
get { return this.areGradientsAllowed; }
set
{
if (this.areGradientsAllowed == value)
return;
this.areGradientsAllowed = value;
OnPropertyChanged();
}
}
private bool areAnimationsAllowed = true;
private bool areGradientsAllowed = true;
}
}
|