4 writes to Right
aspire-tray (4)
TrayApplication.Icons.cs (1)
270
var bounds = new NativeMethods.Rect {
Right
= _size, Bottom = _size };
TrayApplication.Settings.cs (1)
134
var rect = new NativeMethods.Rect { Left = x, Top = y,
Right
= x + width, Bottom = y + height };
TrayApplication.SettingsAppearance.cs (2)
117
return new() { Left = Scale(x), Top = Scale(y),
Right
= Scale(x + width), Bottom = Scale(y + height) };
205
var rect = new NativeMethods.Rect {
Right
= units.Right };
17 references to Right
aspire-tray (17)
TrayApplication.NativeSmoke.cs (6)
182
NativeSmokeHarness.Require(bounds.
Right
> bounds.Left && bounds.Bottom > bounds.Top
183
&& bounds.Left >= monitor.Work.Left && bounds.
Right
<= monitor.Work.
Right
185
$"The tooltip must remain within the monitor work area. Tooltip: ({bounds.Left}, {bounds.Top})-({bounds.
Right
}, {bounds.Bottom}); work area: ({monitor.Work.Left}, {monitor.Work.Top})-({monitor.Work.
Right
}, {monitor.Work.Bottom}).");
507
&& _settingsControlBounds[_settingsLogo].
Right
< _settingsControlBounds[_settingsProductName].Left
TrayApplication.Settings.cs (1)
137
rect.Left, rect.Top, rect.
Right
- rect.Left, rect.Bottom - rect.Top, dialog, id, _module, 0);
TrayApplication.SettingsAppearance.cs (6)
103
var width = desired.
Right
+ window.
Right
- window.Left - client.
Right
;
105
var x = Math.Clamp(window.Left, monitor.Work.Left, Math.Max(monitor.Work.Left, monitor.Work.
Right
- width));
125
bounds.
Right
- bounds.Left, bounds.Bottom - bounds.Top, 0x4 | 0x10) != 0, "SetWindowPos(Settings control)");
205
var rect = new NativeMethods.Rect { Right = units.
Right
};
TrayApplication.Tooltips.cs (4)
110
var x = Math.Clamp(bounds.Left, monitor.Work.Left, Math.Max(monitor.Work.Left, monitor.Work.
Right
- (bounds.
Right
- bounds.Left)));
128
var maximumWidth = Math.Max(1, Math.Min((int)(600 * dpi / 96), monitor.Work.
Right
- monitor.Work.Left - 4 * gap));
138
var x = Math.Clamp(last.Left, monitor.Work.Left, Math.Max(monitor.Work.Left, monitor.Work.
Right
- width));