1 write to X
System.Drawing.Primitives (1)
System\Drawing\Point.cs (1)
155
X
+= dx;
19 references to X
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
60
base.SetBoundsCore(Parent.Location.
X
, y, Parent.Size.Width, 1, specified);
System.ComponentModel.TypeConverter (2)
System\Drawing\PointConverter.cs (2)
77
intConverter.ConvertToString(context, culture, pt.
X
),
87
return new InstanceDescriptor(ctor, new object[] { pt.
X
, pt.Y });
System.Drawing.Primitives (16)
System\Drawing\Point.cs (11)
79
public static implicit operator PointF(Point p) => new PointF(p.
X
, p.Y);
84
public static explicit operator Size(Point p) => new Size(p.
X
, p.Y);
98
/// <see cref='System.Drawing.Point.
X
'/> and <see cref='System.Drawing.Point.Y'/> properties of the two
101
public static bool operator ==(Point left, Point right) => left.
X
== right.
X
&& left.Y == right.Y;
105
/// <see cref='System.Drawing.Point.
X
'/> or <see cref='System.Drawing.Point.Y'/> properties of the two
113
public static Point Add(Point pt, Size sz) => new Point(unchecked(pt.
X
+ sz.Width), unchecked(pt.Y + sz.Height));
118
public static Point Subtract(Point pt, Size sz) => new Point(unchecked(pt.
X
- sz.Width), unchecked(pt.Y - sz.Height));
146
public override readonly int GetHashCode() => HashCode.Combine(
X
, Y);
163
public void Offset(Point p) => Offset(p.
X
, p.Y);
168
public override readonly string ToString() => $"{{X={
X
},Y={Y}}}";
System\Drawing\Rectangle.cs (4)
41
x = location.
X
;
63
X = value.
X
;
229
public readonly bool Contains(Point pt) => Contains(pt.
X
, pt.Y);
326
public void Offset(Point pos) => Offset(pos.
X
, pos.Y);
System\Drawing\Size.cs (1)
31
width = pt.
X
;