Widow – Diff between revs 5 and 9
?pathlinks?
Rev 5 | Rev 9 | |||
---|---|---|---|---|
Line 24... | Line 24... | |||
24 | _name = value; |
24 | _name = value; |
|
25 | OnPropertyChanged(); |
25 | OnPropertyChanged(); |
|
26 | } |
26 | } |
|
27 | } |
27 | } |
|
Line -... | Line 28... | |||
- | 28 | |
||
- | 29 | [XmlElement(ElementName = "IgnoreWidth")] |
||
- | 30 | public bool IgnoreWidth |
||
- | 31 | { |
||
- | 32 | get => _ignoreWidth; |
||
- | 33 | set |
||
- | 34 | { |
||
- | 35 | if (value == _ignoreWidth) |
||
- | 36 | { |
||
- | 37 | return; |
||
- | 38 | } |
||
- | 39 | |
||
- | 40 | _ignoreWidth = value; |
||
- | 41 | OnPropertyChanged(); |
||
- | 42 | } |
||
- | 43 | } |
||
28 | |
44 | |
|
29 | [XmlElement(ElementName = "Width")] |
45 | [XmlElement(ElementName = "Width")] |
|
30 | public int Width |
46 | public int Width |
|
31 | { |
47 | { |
|
32 | get => _width; |
48 | get => _width; |
|
Line 40... | Line 56... | |||
40 | _width = value; |
56 | _width = value; |
|
41 | OnPropertyChanged(); |
57 | OnPropertyChanged(); |
|
42 | } |
58 | } |
|
43 | } |
59 | } |
|
Line -... | Line 60... | |||
- | 60 | |
||
- | 61 | [XmlElement(ElementName = "IgnoreHeight")] |
||
- | 62 | public bool IgnoreHeight |
||
- | 63 | { |
||
- | 64 | get => _ignoreHeight; |
||
- | 65 | set |
||
- | 66 | { |
||
- | 67 | if (value == _ignoreHeight) |
||
- | 68 | { |
||
- | 69 | return; |
||
- | 70 | } |
||
- | 71 | |
||
- | 72 | _ignoreHeight = value; |
||
- | 73 | OnPropertyChanged(); |
||
- | 74 | } |
||
- | 75 | } |
||
44 | |
76 | |
|
45 | [XmlElement(ElementName = "Height")] |
77 | [XmlElement(ElementName = "Height")] |
|
46 | public int Height |
78 | public int Height |
|
47 | { |
79 | { |
|
48 | get => _height; |
80 | get => _height; |
|
Line 56... | Line 88... | |||
56 | _height = value; |
88 | _height = value; |
|
57 | OnPropertyChanged(); |
89 | OnPropertyChanged(); |
|
58 | } |
90 | } |
|
59 | } |
91 | } |
|
Line -... | Line 92... | |||
- | 92 | |
||
- | 93 | [XmlElement(ElementName = "IgnoreLeft")] |
||
- | 94 | public bool IgnoreLeft |
||
- | 95 | { |
||
- | 96 | get => _ignoreLeft; |
||
- | 97 | set |
||
- | 98 | { |
||
- | 99 | if (value == _ignoreLeft) |
||
- | 100 | { |
||
- | 101 | return; |
||
- | 102 | } |
||
- | 103 | |
||
- | 104 | _ignoreLeft = value; |
||
- | 105 | OnPropertyChanged(); |
||
- | 106 | } |
||
- | 107 | } |
||
60 | |
108 | |
|
61 | [XmlElement(ElementName = "Left")] |
109 | [XmlElement(ElementName = "Left")] |
|
62 | public int Left |
110 | public int Left |
|
63 | { |
111 | { |
|
64 | get => _left; |
112 | get => _left; |
|
Line 72... | Line 120... | |||
72 | _left = value; |
120 | _left = value; |
|
73 | OnPropertyChanged(); |
121 | OnPropertyChanged(); |
|
74 | } |
122 | } |
|
75 | } |
123 | } |
|
Line -... | Line 124... | |||
- | 124 | |
||
- | 125 | [XmlElement(ElementName = "IgnoreTop")] |
||
- | 126 | public bool IgnoreTop |
||
- | 127 | { |
||
- | 128 | get => _ignoreTop; |
||
- | 129 | set |
||
- | 130 | { |
||
- | 131 | if (value == _ignoreTop) |
||
- | 132 | { |
||
- | 133 | return; |
||
- | 134 | } |
||
- | 135 | |
||
- | 136 | _ignoreTop = value; |
||
- | 137 | OnPropertyChanged(); |
||
- | 138 | } |
||
- | 139 | } |
||
76 | |
140 | |
|
77 | [XmlElement(ElementName = "Top")] |
141 | [XmlElement(ElementName = "Top")] |
|
78 | public int Top |
142 | public int Top |
|
79 | { |
143 | { |
|
80 | get => _top; |
144 | get => _top; |
|
Line 94... | Line 158... | |||
94 | |
158 | |
|
Line 95... | Line 159... | |||
95 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
159 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
|
Line -... | Line 160... | |||
- | 160 | |
||
- | 161 | private int _height; |
||
- | 162 | |
||
- | 163 | private bool _ignoreHeight; |
||
- | 164 | |
||
- | 165 | private bool _ignoreLeft; |
||
- | 166 | |
||
- | 167 | private bool _ignoreTop; |
||
96 | |
168 | |
|
Line 97... | Line 169... | |||
97 | private int _height; |
169 | private bool _ignoreWidth; |
|
Line 98... | Line 170... | |||
98 | |
170 | |