8 instantiations of TableLayoutPanelCellPosition
System.Windows.Forms (6)
System\Windows\Forms\Layout\TableLayout.cs (3)
1328
return new
TableLayoutPanelCellPosition
(-1, -1);
1337
return new
TableLayoutPanelCellPosition
(-1, -1);
1347
return new
TableLayoutPanelCellPosition
(layoutInfo.ColumnStart, layoutInfo.RowStart);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (2)
58
return new
TableLayoutPanelCellPosition
(values[0], values[1]);
82
return new
TableLayoutPanelCellPosition
(
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
355
return new
TableLayoutPanelCellPosition
(GetColumn(control), GetRow(control));
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
598
Table.SetCellPosition(control, new
TableLayoutPanelCellPosition
(newControlPosition.X, newControlPosition.Y));
1252
Table.SetCellPosition(e.Control, new
TableLayoutPanelCellPosition
(-1, -1));
23 references to TableLayoutPanelCellPosition
System.Windows.Forms (22)
System\Windows\Forms\Layout\TableLayout.cs (1)
1324
internal static
TableLayoutPanelCellPosition
GetPositionFromControl(IArrangedElement? container, IArrangedElement? child)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (4)
222
[DefaultValue(typeof(
TableLayoutPanelCellPosition
), "-1,-1")] // if change this value, also change the SerializeViaAdd in TableLayoutControlCollectionCodeDomSerializer
227
public
TableLayoutPanelCellPosition
GetCellPosition(Control control) =>
231
public void SetCellPosition(Control control,
TableLayoutPanelCellPosition
position) =>
255
public
TableLayoutPanelCellPosition
GetPositionFromControl(Control? control) =>
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPosition.cs (7)
9
public struct TableLayoutPanelCellPosition : IEquatable<
TableLayoutPanelCellPosition
>
26
if (other is not
TableLayoutPanelCellPosition
otherCellPosition)
34
public readonly bool Equals(
TableLayoutPanelCellPosition
other)
37
public static bool operator ==(
TableLayoutPanelCellPosition
p1,
TableLayoutPanelCellPosition
p2)
42
public static bool operator !=(
TableLayoutPanelCellPosition
p1,
TableLayoutPanelCellPosition
p2)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (7)
66
if (destinationType == typeof(InstanceDescriptor) && value is
TableLayoutPanelCellPosition
cellPosition)
69
typeof(
TableLayoutPanelCellPosition
).GetConstructor([typeof(int), typeof(int)]),
83
(int)propertyValues[nameof(
TableLayoutPanelCellPosition
.Column)]!,
84
(int)propertyValues[nameof(
TableLayoutPanelCellPosition
.Row)]!);
102
PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(
TableLayoutPanelCellPosition
), attributes);
103
return props.Sort([nameof(
TableLayoutPanelCellPosition
.Column), nameof(
TableLayoutPanelCellPosition
.Row)]);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (3)
351
public
TableLayoutPanelCellPosition
GetCellPosition(object control)
364
public void SetCellPosition(object control,
TableLayoutPanelCellPosition
cellPosition)
460
internal
TableLayoutPanelCellPosition
GetPositionFromControl(IArrangedElement? element)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1044
TableLayoutPanelCellPosition
pos = Table.GetPositionFromControl(control);