1 write to cellPosition
System.Windows.Forms.DataVisualization (1)
Common\General\LegendColumns.cs (1)
1442
this.
cellPosition
= position;
39 references to cellPosition
System.Windows.Forms.DataVisualization (39)
Common\General\Legend.cs (3)
2459
separatorPosition.X = legendItem.Cells[0].
cellPosition
.Left;
2465
right = legendItem.Cells[index].
cellPosition
.Right;
2472
separatorPosition.Y = legendItem.Cells[0].
cellPosition
.Bottom;
Common\General\LegendColumns.cs (36)
1447
this.
cellPosition
.X += (int)(this.Margins.Left * singleWCharacterSize.Width / 100f);
1448
this.
cellPosition
.Y += (int)(this.Margins.Top * singleWCharacterSize.Height / 100f);
1449
this.
cellPosition
.Width -= (int)(this.Margins.Left * singleWCharacterSize.Width / 100f)
1451
this.
cellPosition
.Height -= (int)(this.Margins.Top * singleWCharacterSize.Height / 100f)
1458
this.
cellPosition
.Height -= this.Legend.GetSeparatorSize(LegendItem.SeparatorType).Height;
1915
if(this.
cellPosition
.Width <= 0 || this.
cellPosition
.Height <= 0)
2049
if (charSize.Height > this.
cellPosition
.Height && (format.FormatFlags & StringFormatFlags.LineLimit) != 0)
2054
else if (charSize.Height < this.
cellPosition
.Height && (format.FormatFlags & StringFormatFlags.LineLimit) == 0)
2064
chartGraph.GetRelativeRectangle(this.
cellPosition
),
2103
Rectangle imageCellPosition = this.
cellPosition
;
2112
if(newWidth > this.
cellPosition
.Width)
2114
newWidth = this.
cellPosition
.Width;
2121
if(newHeight > this.
cellPosition
.Height)
2123
newHeight = this.
cellPosition
.Height;
2145
imagePosition.X = (int)((this.
cellPosition
.X + this.
cellPosition
.Width/2f) - imagePosition.Width/2f);
2146
imagePosition.Y = (int)((this.
cellPosition
.Y + this.
cellPosition
.Height/2f) - imagePosition.Height/2f);
2153
imagePosition.X = this.
cellPosition
.X;
2159
imagePosition.X = this.
cellPosition
.Right - imagePosition.Width;
2166
imagePosition.Y = this.
cellPosition
.Bottom - imagePosition.Height;
2172
imagePosition.Y = this.
cellPosition
.Y;
2221
Rectangle seriesMarkerPosition = this.
cellPosition
;
2227
if(newWidth > this.
cellPosition
.Width)
2229
newWidth = this.
cellPosition
.Width;
2236
if(newHeight > this.
cellPosition
.Height)
2238
newHeight = this.
cellPosition
.Height;
2250
seriesMarkerPosition.X = (int)((this.
cellPosition
.X + this.
cellPosition
.Width/2f) - seriesMarkerPosition.Width/2f);
2251
seriesMarkerPosition.Y = (int)((this.
cellPosition
.Y + this.
cellPosition
.Height/2f) - seriesMarkerPosition.Height/2f);
2258
seriesMarkerPosition.X = this.
cellPosition
.X;
2264
seriesMarkerPosition.X = this.
cellPosition
.Right - seriesMarkerPosition.Width;
2271
seriesMarkerPosition.Y = this.
cellPosition
.Bottom - seriesMarkerPosition.Height;
2277
seriesMarkerPosition.Y = this.
cellPosition
.Y;