178 references to X
System.Web.Mobile (4)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
935
_editCandidateNode = (TreeNode)_tvDefinedStyles.GetNodeAt (e.
X
, e.Y);
944
_editCandidateNode = (TreeNode)_tvDefinedStyles.GetNodeAt (e.
X
, e.Y);
UI\MobileControls\Design\Util\EditableTreeList.cs (2)
278
EditCandidateNode = (TreeNode)TvList.GetNodeAt (e.
X
, e.Y);
287
EditCandidateNode = (TreeNode)TvList.GetNodeAt (e.
X
, e.Y);
System.Windows.Forms (120)
winforms\Managed\System\WinForms\Button.cs (1)
305
Point pt = PointToScreen(new Point(mevent.
X
, mevent.Y));
winforms\Managed\System\WinForms\ButtonBase.cs (1)
875
if (!r.Contains(mevent.
X
, mevent.Y)) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
647
Point pt = PointToScreen(new Point(mevent.
X
, mevent.Y));
winforms\Managed\System\WinForms\DataGrid.cs (19)
4020
HitTestInfo location = HitTest(e.
X
, e.Y);
4061
caption.MouseDown(e.
X
- captionRect.X, e.Y - captionRect.Y);
4065
if (layout.Data.Contains(e.
X
, e.Y) || layout.RowHeaders.Contains(e.
X
, e.Y)) {
4069
Point p = NormalizeToRow(e.
X
, e.Y, row);
4159
parentRows.OnMouseDown(e.
X
, e.Y, isRightToLeft());
4165
if (this.myGridTable.GridColumnStyles[location.col].MouseDown(location.row, e.
X
, e.Y))
4215
HitTestInfo location = HitTest(e.
X
, e.Y);
4244
if ((layout.Data.Contains(e.
X
, e.Y)
4245
|| (layout.RowHeadersVisible && layout.RowHeaders.Contains(e.
X
, e.Y)))) {
4258
Point p = NormalizeToRow(e.
X
, e.Y, rowOver);
4295
parentRows.OnMouseMove(e.
X
, e.Y);
4302
caption.MouseOver(e.
X
- captionRect.X, e.Y - captionRect.Y);
4334
HitTestInfo ci = HitTest(e.
X
, e.Y);
4336
caption.MouseUp(e.
X
, e.Y);
4711
Rectangle r = new Rectangle(e.
X
, inside.Y, 3, inside.Height);
4887
int x = e.
X
;
4932
int x = rightToLeft ? Math.Max(e.
X
, layout.Data.X) : Math.Min(e.
X
, layout.Data.Right + 1);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
608
mouseInContentBounds = GetContentBounds(e.RowIndex).Contains(e.
X
, e.Y);
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
3354
this.DataGridView.CellMouseDownInContentBounds = GetContentBounds(e.RowIndex).Contains(e.
X
, e.Y);
3452
int x = e.
X
;
4728
if (GetErrorIconBounds(e.RowIndex).Contains(e.
X
, e.Y))
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1040
mouseInContentBounds = GetContentBounds(e.RowIndex).Contains(e.
X
, e.Y);
winforms\Managed\System\WinForms\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
15
public DataGridViewColumnDividerDoubleClickEventArgs(int columnIndex, HandledMouseEventArgs e) : base(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, e.Handled)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1924
CheckDropDownList(e.
X
, e.Y, e.RowIndex);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (6)
792
return LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex);
804
if (LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex))
824
return this.TrackVisitedState && LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex);
858
if (LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex))
895
if (LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex))
933
if (LinkBoundsContainPoint(e.
X
, e.Y, e.RowIndex) && this.TrackVisitedState)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (37)
3702
if ((this.RightToLeftInternal && e.
X
< xColumnLeftEdge - wColumn / 2) ||
3703
(!this.RightToLeftInternal && e.
X
> xColumnLeftEdge + wColumn / 2))
5800
int adjustedX = this.editingPanel.Location.X + e.
X
;
5820
HitTestInfo hti = HitTest(me.
X
, me.Y);
5821
int mouseX = me.
X
- hti.ColumnX;
5842
if (Math.Abs(dgvcme.
X
- this.lastMouseClickInfo.x) <= hotDoubleClickZone.Width / 2 &&
5850
dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.
X
, dgvcme.Y, me);
5966
dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.
X
, dgvcme.Y, meTmp);
6137
EndColumnResize(e.
X
);
6324
x = Math.Max(e.
X
+ this.mouseBarOffset, this.layout.Data.Left - 1);
6329
x = Math.Min(e.
X
+ this.mouseBarOffset, this.layout.Data.Right - 1);
10667
this.lastHeaderShadow = e.
X
;
12276
Point ptGridCoord = ConvertCellToGridCoord(e.ColumnIndex, e.RowIndex, e.
X
, e.Y);
13024
Point ptGridCoord = ConvertCellToGridCoord(e.ColumnIndex, e.RowIndex, e.
X
, e.Y);
15442
HitTestInfo hti = HitTest(me.
X
, me.Y);
16324
HitTestInfo hti = HitTest(e.
X
, e.Y);
16339
int mouseX = e.
X
- hti.ColumnX;
16410
HitTestInfo hti = HitTest(e.
X
, e.Y);
16419
int mouseX = e.
X
- hti.ColumnX;
16451
HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, false /*defaultHandledValue*/);
16464
HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, false /*defaultHandledValue*/);
16487
HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, false /*defaultHandledValue*/);
16500
HandledMouseEventArgs hme = new HandledMouseEventArgs(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, false /*defaultHandledValue*/);
16534
HitTestInfo hti = HitTest(e.
X
, e.Y);
16542
this.ptMouseDownGridCoord = new Point(e.
X
, e.Y);
16543
int mouseX = e.
X
- hti.ColumnX;
16613
HitTestInfo hti = HitTest(e.
X
, e.Y);
16620
MoveRowHeadersOrColumnResize(e.
X
);
16636
MoveRowHeadersOrColumnResize(e.
X
);
16710
int xOffset, yOffset, mouseX = e.
X
, mouseY = e.Y;
16791
HitTestInfo hti = HitTest(e.
X
, e.Y);
16799
int mouseX = e.
X
- hti.ColumnX;
16807
MouseEventArgs meTmp = new MouseEventArgs(e.Button, 2, e.
X
, e.Y, e.Delta);
16868
hti = HitTest(e.
X
, e.Y);
16873
int mouseX = e.
X
- hti.ColumnX;
25559
this.lastMouseClickInfo.x = dgvcme.
X
;
29223
int mouseX = e.
X
- htiToUse.ColumnX;
winforms\Managed\System\WinForms\DataGridViewRowDividerDoubleClickEventArgs.cs (1)
15
public DataGridViewRowDividerDoubleClickEventArgs(int rowIndex, HandledMouseEventArgs e) : base(e.Button, e.Clicks, e.
X
, e.Y, e.Delta, e.Handled)
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1045
Link clicked = PointInLink(e.
X
, e.Y);
1076
Link pointIn = PointInLink(e.
X
, e.Y);
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
3143
SnappableControl target = DividerInside(me.
X
,me.Y);
3164
if (DividerInside(me.
X
,me.Y) != null) {
4663
temp.x = me.
X
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
2811
Point screenPoint = Edit.PointToScreen(new Point(me.
X
, me.Y));
2816
Edit.SendMessage(NativeMethods.WM_LBUTTONUP, 0, (int)(me.Y << 16 | (me.
X
& 0xFFFF)));
3170
if (me.Button == MouseButtons.Left && SplitterInside(me.
X
,me.Y) && totalProps != 0) {
3188
Point pos = FindPosition(me.
X
,me.Y);
3202
lastMouseDown = new Point(me.
X
, me.Y);
3207
gridEntry.OnMouseClick(me.
X
- r.X, me.Y - r.Y, me.Clicks, me.Button);
3236
pt = FindPosition(me.
X
,me.Y);
3253
MoveSplitterTo(me.
X
);
3263
if (onLabel && gridItem.GetLabelToolTipLocation(me.
X
- itemRect.X, me.Y - itemRect.Y) != InvalidPoint) {
3292
if (totalProps != 0 && (SplitterInside(me.
X
,me.Y) || GetFlag(FlagIsSplitterMove))) {
5789
this.currentMoveType = MoveTypeFromPoint(e.
X
, e.Y);
5792
dragStart = PointToScreen(new Point(e.
X
, e.Y));
5812
int cursorMoveType = MoveTypeFromPoint(e.
X
, e.Y);
5831
Point dragPoint = PointToScreen(new Point(e.
X
, e.Y));
winforms\Managed\System\WinForms\RadioButton.cs (1)
573
Point pt = PointToScreen(new Point(mevent.
X
, mevent.Y));
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1271
int x = e.
X
;
1283
Rectangle r = CalcSplitLine(GetSplitterDistance(e.
X
, e.Y), 0);
1335
SplitBegin(e.
X
, e.Y);
1354
CalcSplitLine(GetSplitterDistance(e.
X
, e.Y), 0);
winforms\Managed\System\WinForms\Splitter.cs (5)
880
SplitBegin(e.
X
, e.Y);
891
int x = e.
X
+ Left;
893
Rectangle r = CalcSplitLine(GetSplitSize(e.
X
, e.Y), 0);
907
int x = e.
X
+ Left;
909
Rectangle r = CalcSplitLine(GetSplitSize(e.
X
, e.Y), 0);
winforms\Managed\System\WinForms\StatusBar.cs (1)
751
lastClick.X = e.
X
;
winforms\Managed\System\WinForms\ToolStrip.cs (6)
3488
ToolStripItem item = GetItemAt(mea.
X
, mea.Y);
3500
Point itemRelativePoint = item.TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3520
ToolStripItem item = GetItemAt(mea.
X
, mea.Y);
3563
Point itemRelativePoint = item.TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3605
ToolStripItem item = (Grip.MovingToolStrip) ? Grip : GetItemAt(mea.
X
, mea.Y);
3610
Point itemRelativePoint = item.TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
winforms\Managed\System\WinForms\ToolStripGrip.cs (3)
145
startLocation = TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
178
Point endLocation = TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
229
Point endLocation = TranslatePoint(new Point(mea.
X
, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
556
Point clickPoint = new Point(e.
X
, e.Y);
winforms\Managed\System\WinForms\UpDownBase.cs (7)
965
Point pt = PointToScreen(new Point(mevent.
X
, mevent.Y));
1164
NativeMethods.POINT point = new NativeMethods.POINT(e.
X
, e.Y);
1306
Point pt = new Point(e.
X
,e.Y);
1579
if (rect.Contains(e.
X
, e.Y)) {
1618
if (rectUp.Contains(e.
X
, e.Y)) {
1622
else if (rectDown.Contains(e.
X
, e.Y)) {
1652
Point pt = new Point(e.
X
,e.Y);
System.Workflow.Activities (3)
Designers\StateDesigner.Layouts.cs (3)
250
Layout layout = GetLayoutAt(e.
X
, e.Y);
301
Layout layout = GetLayoutAt(e.
X
, e.Y);
335
Layout layout = GetLayoutAt(e.
X
, e.Y);
System.Workflow.ComponentModel (51)
AuthoringOM\Design\ActivityDesigner.cs (8)
2590
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2607
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2624
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2641
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2658
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2675
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2724
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
2741
Point logicalPoint = parentView.ClientPointToLogical(new Point(e.
X
, e.Y));
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
666
Point point = new Point(e.
X
, e.Y);
680
Point point = new Point(e.
X
, e.Y);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1213
if (ExpandButtonRectangle.Contains(new Point(e.
X
, e.Y)))
AuthoringOM\Design\DesignerWidgets.cs (12)
425
Point mousePoint = new Point(e.
X
, e.Y);
450
ActiveButton = HitTest(new Point(e.
X
, e.Y));
455
Point mousePoint = new Point(e.
X
, e.Y);
791
ItemInfo itemHit = HitTest(new Point(e.
X
, e.Y));
800
ItemInfo itemHit = HitTest(new Point(e.
X
, e.Y));
814
ItemInfo itemHit = HitTest(new Point(e.
X
, e.Y));
1176
Point mousePoint = new Point(e.
X
, e.Y);
1203
Point mousePoint = new Point(e.
X
, e.Y);
1833
if (buttonRectangle.Contains(new Point(e.
X
, e.Y)))
1850
if (buttonRectangle.Contains(new Point(e.
X
, e.Y)) && tabItemInfo.Text != this.buttonTips.GetToolTip(this))
2617
Point point = new Point(e.
X
, e.Y);
3361
if (PreviewModeButtonRectangle.Contains(new Point(e.
X
, e.Y)))
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (4)
86
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
115
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
157
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
201
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
81
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
102
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (3)
49
this.startDrag = this.endDrag = ParentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y));
57
Point logicalPoint = parentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y));
94
this.endDrag = parentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y));
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
107
UpdateTransparency(new Point(eventArgs.
X
, eventArgs.Y));
114
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
166
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
233
if (actionBounds.Contains(new Point(eventArgs.
X
, eventArgs.Y)))
242
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (3)
206
RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y)));
212
RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y)));
218
RefreshActiveGlyph(ParentView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y)));
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (3)
66
SetPanPoint(new Point(eventArgs.
X
, eventArgs.Y));
74
Size panSize = new Size(eventArgs.
X
- this.panPoint.X, eventArgs.Y - this.panPoint.Y);
77
SetPanPoint(new Point(eventArgs.
X
, eventArgs.Y));
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
32
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
51
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
80
UpdateDesignerSize(workflowView.ClientPointToLogical(new Point(eventArgs.
X
, eventArgs.Y)), this.designerToResize, this.designerSizingEdge);
AuthoringOM\Design\MessageFilters\WindowManager.cs (3)
28
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
74
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
108
Point clientPoint = new Point(eventArgs.
X
, eventArgs.Y);
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (1)
119
Point center = new Point((this.currentState == ZoomState.In) ? eventArgs.
X
: parentView.ViewPortSize.Width / 2, (this.currentState == ZoomState.In) ? eventArgs.Y : parentView.ViewPortSize.Height / 2);
AuthoringOM\Design\WorkflowView.cs (1)
2179
clientPoint = new Point(((MouseEventArgs)e).
X
, ((MouseEventArgs)e).Y);