6 writes to X
System.Drawing.Primitives (4)
System\Drawing\RectangleF.cs (4)
94X = value.X; 233X -= x; 261X = result.X; 315X += x;
System.Windows.Forms (2)
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (2)
627arc.X = rect.Right - diameter; 631arc.X = rect.X;
40 references to X
Microsoft.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
227value.X,
System.Drawing.Primitives (29)
System\Drawing\Rectangle.cs (3)
182(int)Math.Ceiling(value.X), 197(int)value.X, 212(int)Math.Round(value.X),
System\Drawing\RectangleF.cs (26)
91readonly get => new PointF(X, Y); 156public readonly float Left => X; 170public readonly float Right => X + Width; 197left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; 208public readonly bool Contains(float x, float y) => X <= x && x < X + Width && Y <= y && y < Y + Height; 221(X <= rect.X) && (rect.X + rect.Width <= X + Width) && (Y <= rect.Y) && (rect.Y + rect.Height <= Y + Height); 226public override readonly int GetHashCode() => HashCode.Combine(X, Y, Width, Height); 261X = result.X; 273float x1 = Math.Max(a.X, b.X); 274float x2 = Math.Min(a.X + a.Width, b.X + b.Width); 290(rect.X < X + Width) && (X < rect.X + rect.Width) && (rect.Y < Y + Height) && (Y < rect.Y + rect.Height); 297float x1 = Math.Min(a.X, b.X); 298float x2 = Math.Max(a.X + a.Width, b.X + b.Width); 329public override readonly string ToString() => $"{{X={X},Y={Y},Width={Width},Height={Height}}}";
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
227value.X,
System.Private.Windows.Core.TestUtilities (4)
FluentAssertions\FluentAssertExtensions.cs (4)
40parent.Subject.X.Should().BeApproximately(expectedValue.X, precision, because, becauseArgs); 63ComparisonHelpers.EqualsFloating(expected.X, actual.X, precision)
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (1)
220bounds.X + inset,
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (1)
307bounds.X + inset,
System\Windows\Forms\Layout\TableLayout.cs (2)
1188float startX = isContainerRTL ? displayRectF.Right : displayRectF.X; 1209startX = isContainerRTL ? displayRectF.Right : displayRectF.X;
System\Windows\Forms\Rendering\RadioButton\AnimatedRadioGlyphRenderer.cs (1)
163normalBounds.X + ((normalBounds.Width - dotDiameter) / 2f),