Widow
/trunk/Windows/Window.cs |
@@ -26,6 +26,22 @@ |
} |
} |
|
[XmlElement(ElementName = "IgnoreWidth")] |
public bool IgnoreWidth |
{ |
get => _ignoreWidth; |
set |
{ |
if (value == _ignoreWidth) |
{ |
return; |
} |
|
_ignoreWidth = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Width")] |
public int Width |
{ |
@@ -42,6 +58,22 @@ |
} |
} |
|
[XmlElement(ElementName = "IgnoreHeight")] |
public bool IgnoreHeight |
{ |
get => _ignoreHeight; |
set |
{ |
if (value == _ignoreHeight) |
{ |
return; |
} |
|
_ignoreHeight = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Height")] |
public int Height |
{ |
@@ -58,6 +90,22 @@ |
} |
} |
|
[XmlElement(ElementName = "IgnoreLeft")] |
public bool IgnoreLeft |
{ |
get => _ignoreLeft; |
set |
{ |
if (value == _ignoreLeft) |
{ |
return; |
} |
|
_ignoreLeft = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Left")] |
public int Left |
{ |
@@ -74,6 +122,22 @@ |
} |
} |
|
[XmlElement(ElementName = "IgnoreTop")] |
public bool IgnoreTop |
{ |
get => _ignoreTop; |
set |
{ |
if (value == _ignoreTop) |
{ |
return; |
} |
|
_ignoreTop = value; |
OnPropertyChanged(); |
} |
} |
|
[XmlElement(ElementName = "Top")] |
public int Top |
{ |
@@ -96,6 +160,14 @@ |
|
private int _height; |
|
private bool _ignoreHeight; |
|
private bool _ignoreLeft; |
|
private bool _ignoreTop; |
|
private bool _ignoreWidth; |
|
private int _left; |
|
private string _name; |