187 references to Y
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 (129)
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 (24)
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
)) {
4067
int row = GetRowFromY(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
)))) {
4249
int rowOver = GetRowFromY(e.
Y
);
4255
gridState[GRIDSTATE_dragging] = ((e.
Y
- topRow < dragHeight && topRow - e.
Y
< dragHeight) || (e.
Y
- bottomRow < dragHeight && bottomRow - e.
Y
< dragHeight));
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
);
4703
Rectangle r = new Rectangle(inside.X, e.
Y
, inside.Width, 3);
5098
int y = e.
Y
;
5135
int y = Math.Min(e.
Y
, layout.Data.Y + layout.Data.Height + 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
);
3453
int y = e.
Y
;
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 (34)
5801
int adjustedY = this.editingPanel.Location.Y + e.
Y
;
5820
HitTestInfo hti = HitTest(me.X, me.
Y
);
5826
DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, me.
Y
- hti.RowY, me);
5843
Math.Abs(dgvcme.
Y
- this.lastMouseClickInfo.y) <= hotDoubleClickZone.Height / 2)
5850
dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.
Y
, me);
5901
dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, me.
Y
- hti.RowY, me);
5966
dgvcme = new DataGridViewCellMouseEventArgs(dgvcme.ColumnIndex, dgvcme.RowIndex, dgvcme.X, dgvcme.
Y
, meTmp);
6085
int y = Math.Min(e.
Y
+ this.mouseBarOffset, this.layout.Data.Bottom - 1);
6356
int y = Math.Min(e.
Y
+ this.mouseBarOffset, this.layout.Data.Bottom - 1);
10610
this.currentRowSplitBar = e.
Y
;
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
);
16344
dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, e);
16410
HitTestInfo hti = HitTest(e.X, e.
Y
);
16424
dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, e);
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
);
16548
DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, e);
16613
HitTestInfo hti = HitTest(e.X, e.
Y
);
16710
int xOffset, yOffset, mouseX = e.X, mouseY = e.
Y
;
16791
HitTestInfo hti = HitTest(e.X, e.
Y
);
16807
MouseEventArgs meTmp = new MouseEventArgs(e.Button, 2, e.X, e.
Y
, e.Delta);
16808
dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, meTmp);
16812
dgvcme = new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, e);
16868
hti = HitTest(e.X, e.
Y
);
16878
OnCellMouseUp(new DataGridViewCellMouseEventArgs(hti.col, hti.row, mouseX, e.
Y
- hti.RowY, e));
25560
this.lastMouseClickInfo.y = dgvcme.
Y
;
29228
DataGridViewCellMouseEventArgs dgvcme = new DataGridViewCellMouseEventArgs(htiToUse.col, htiToUse.row, mouseX, e.
Y
- htiToUse.RowY, e);
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 (10)
3143
SnappableControl target = DividerInside(me.X,me.
Y
);
3148
dividerMoveY = me.
Y
;
3164
if (DividerInside(me.X,me.
Y
) != null) {
3173
int yNew = DividerLimitMove(targetMove, me.
Y
);
3197
dividerMoveY = DividerLimitMove(targetMove, me.
Y
);
3208
Invalidate(new Rectangle(0, me.
Y
- cyDivider, Size.Width, me.
Y
+ cyDivider));
4660
if (me.
Y
<= 1 || (size.Height - me.
Y
) <= 1) {
4664
temp.y = me.
Y
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (13)
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
);
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)
1272
int y = e.
Y
;
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
);
892
int y = e.
Y
+ Top;
893
Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.
Y
), 0);
908
int y = e.
Y
+ Top;
909
Rectangle r = CalcSplitLine(GetSplitSize(e.X, e.
Y
), 0);
winforms\Managed\System\WinForms\StatusBar.cs (1)
752
lastClick.Y = e.
Y
;
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 (8)
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
);
1470
if (e.
Y
< half_height) {
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
);