190 references to Near
System.Drawing (1)
commonui\System\Drawing\Advanced\StringFormat.cs (1)
283
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)StringAlignment.
Near
, (int)StringAlignment.Far))
System.Web.DataVisualization (86)
Common\ChartTypes\BarChart.cs (11)
895
format.Alignment = StringAlignment.
Near
;
937
format.Alignment = StringAlignment.
Near
;
964
format.Alignment = StringAlignment.
Near
;
965
else if (format.Alignment == StringAlignment.
Near
)
1042
if (format.Alignment == StringAlignment.
Near
)
1921
format.Alignment = StringAlignment.
Near
;
1956
format.Alignment = StringAlignment.
Near
;
1983
format.Alignment = StringAlignment.
Near
;
1984
else if (format.Alignment == StringAlignment.
Near
)
2045
if (format.Alignment == StringAlignment.
Near
)
2058
if (format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\BoxPlotChart.cs (1)
885
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\ErrorBarChart.cs (1)
942
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\PieChart.cs (4)
1358
format.Alignment = StringAlignment.
Near
;
1412
if (format.Alignment == StringAlignment.
Near
)
5454
format.Alignment = StringAlignment.
Near
;
5510
if (format.Alignment == StringAlignment.
Near
)
Common\ChartTypes\PointChart.cs (6)
677
format.Alignment = StringAlignment.
Near
;
864
format.Alignment = StringAlignment.
Near
;
873
format.LineAlignment = StringAlignment.
Near
;
880
format.Alignment = StringAlignment.
Near
;
993
else if(format.Alignment == StringAlignment.
Near
)
1015
else if(format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\RadarChart.cs (1)
1049
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\StackedBarChart.cs (6)
1877
format.Alignment = StringAlignment.
Near
;
1900
format.Alignment = StringAlignment.
Near
;
1917
format.Alignment = StringAlignment.
Near
;
1918
else if (format.Alignment == StringAlignment.
Near
)
1958
if (format.Alignment == StringAlignment.
Near
)
1971
if (format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\StockChart.cs (1)
942
format.Alignment = StringAlignment.
Near
;
Common\General\Axis.cs (10)
1831
format.LineAlignment = StringAlignment.
Near
;
1833
else if (this.TitleAlignment == StringAlignment.
Near
)
1874
format.LineAlignment = StringAlignment.
Near
;
1876
else if (this.TitleAlignment == StringAlignment.
Near
)
2262
if (format.Alignment == StringAlignment.
Near
)
2268
format.Alignment = StringAlignment.
Near
;
2287
if (format.Alignment == StringAlignment.
Near
)
2299
if (format.Alignment == StringAlignment.
Near
)
2311
if (format.Alignment == StringAlignment.
Near
)
2323
if (format.Alignment == StringAlignment.
Near
)
Common\General\ChartGraphics.cs (17)
1374
fmt.Alignment = StringAlignment.
Near
;
1376
else if (fmt.Alignment == StringAlignment.
Near
)
1451
fmt.Alignment = StringAlignment.
Near
;
1453
else if (fmt.Alignment == StringAlignment.
Near
)
1891
drawingFormat.Alignment = StringAlignment.
Near
;
1912
drawingFormat.Alignment = StringAlignment.
Near
;
1946
drawingFormat.LineAlignment = StringAlignment.
Near
;
1947
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
1953
drawingFormat.Alignment = StringAlignment.
Near
;
1954
else if (drawingFormat.Alignment == StringAlignment.
Near
)
1992
else if (drawingFormat.Alignment == StringAlignment.
Near
)
2005
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
2228
fmt.Alignment = StringAlignment.
Near
;
2230
else if (fmt.Alignment == StringAlignment.
Near
)
2303
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
2316
else if (drawingFormat.Alignment == StringAlignment.
Near
)
2779
if( format.Alignment == StringAlignment.
Near
)
Common\General\ChartRenderingEngine.cs (2)
358
fmt.Alignment = StringAlignment.
Near
;
360
else if (fmt.Alignment == StringAlignment.
Near
)
Common\General\Label.cs (8)
1195
format.Alignment = StringAlignment.
Near
;
1206
format.LineAlignment = StringAlignment.
Near
;
1331
else if(format.Alignment == StringAlignment.
Near
)
1344
else if(format.LineAlignment == StringAlignment.
Near
)
1412
format.Alignment = StringAlignment.
Near
;
1439
format.LineAlignment = StringAlignment.
Near
;
1874
stringFormat.Alignment = StringAlignment.
Near
;
1917
stringFormat.LineAlignment = StringAlignment.
Near
;
Common\General\Legend.cs (6)
261
private StringAlignment _legendAlignment = StringAlignment.
Near
;
1123
if(this.Alignment == StringAlignment.
Near
)
1143
if(this.Alignment == StringAlignment.
Near
)
1162
if(this.Alignment == StringAlignment.
Near
)
1182
if(this.Alignment == StringAlignment.
Near
)
3493
DefaultValue(StringAlignment.
Near
),
Common\General\LegendColumns.cs (2)
2023
format.Alignment = StringAlignment.
Near
;
2042
format.LineAlignment = StringAlignment.
Near
;
Common\General\SmartLabels.cs (3)
1433
else if(format.Alignment == StringAlignment.
Near
)
1455
else if(format.LineAlignment == StringAlignment.
Near
)
1483
format.Alignment = StringAlignment.
Near
;
Common\General\StripLine.cs (5)
159
private StringAlignment _textLineAlignment = StringAlignment.
Near
;
654
format.Alignment = StringAlignment.
Near
;
656
else if (format.Alignment == StringAlignment.
Near
)
723
if (format.Alignment == StringAlignment.
Near
)
736
if (format.LineAlignment == StringAlignment.
Near
)
Common\General\Title.cs (2)
1589
format.LineAlignment = StringAlignment.
Near
;
1596
format.Alignment = StringAlignment.
Near
;
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ControlPaint.cs (2)
2656
result = StringAlignment.
Near
;
2682
result = StringAlignment.
Near
;
winforms\Managed\System\WinForms\DataGrid.cs (2)
7216
StringAlignment.
Near
;
7223
format.Alignment = StringAlignment.
Near
;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
606
format.Alignment = this.Alignment == HorizontalAlignment.Left ? StringAlignment.
Near
: this.Alignment == HorizontalAlignment.Center ? StringAlignment.Center : StringAlignment.Far;
System.Windows.Forms.DataVisualization (86)
Common\ChartTypes\BarChart.cs (11)
895
format.Alignment = StringAlignment.
Near
;
937
format.Alignment = StringAlignment.
Near
;
964
format.Alignment = StringAlignment.
Near
;
965
else if (format.Alignment == StringAlignment.
Near
)
1042
if (format.Alignment == StringAlignment.
Near
)
1921
format.Alignment = StringAlignment.
Near
;
1956
format.Alignment = StringAlignment.
Near
;
1983
format.Alignment = StringAlignment.
Near
;
1984
else if (format.Alignment == StringAlignment.
Near
)
2045
if (format.Alignment == StringAlignment.
Near
)
2058
if (format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\BoxPlotChart.cs (1)
885
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\ErrorBarChart.cs (1)
942
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\PieChart.cs (4)
1358
format.Alignment = StringAlignment.
Near
;
1412
if (format.Alignment == StringAlignment.
Near
)
5454
format.Alignment = StringAlignment.
Near
;
5510
if (format.Alignment == StringAlignment.
Near
)
Common\ChartTypes\PointChart.cs (6)
677
format.Alignment = StringAlignment.
Near
;
864
format.Alignment = StringAlignment.
Near
;
873
format.LineAlignment = StringAlignment.
Near
;
880
format.Alignment = StringAlignment.
Near
;
993
else if(format.Alignment == StringAlignment.
Near
)
1015
else if(format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\RadarChart.cs (1)
1049
format.Alignment = StringAlignment.
Near
;
Common\ChartTypes\StackedBarChart.cs (6)
1877
format.Alignment = StringAlignment.
Near
;
1900
format.Alignment = StringAlignment.
Near
;
1917
format.Alignment = StringAlignment.
Near
;
1918
else if (format.Alignment == StringAlignment.
Near
)
1958
if (format.Alignment == StringAlignment.
Near
)
1971
if (format.LineAlignment == StringAlignment.
Near
)
Common\ChartTypes\StockChart.cs (1)
942
format.Alignment = StringAlignment.
Near
;
Common\General\Axis.cs (10)
1831
format.LineAlignment = StringAlignment.
Near
;
1833
else if (this.TitleAlignment == StringAlignment.
Near
)
1874
format.LineAlignment = StringAlignment.
Near
;
1876
else if (this.TitleAlignment == StringAlignment.
Near
)
2262
if (format.Alignment == StringAlignment.
Near
)
2268
format.Alignment = StringAlignment.
Near
;
2287
if (format.Alignment == StringAlignment.
Near
)
2299
if (format.Alignment == StringAlignment.
Near
)
2311
if (format.Alignment == StringAlignment.
Near
)
2323
if (format.Alignment == StringAlignment.
Near
)
Common\General\ChartGraphics.cs (17)
1374
fmt.Alignment = StringAlignment.
Near
;
1376
else if (fmt.Alignment == StringAlignment.
Near
)
1451
fmt.Alignment = StringAlignment.
Near
;
1453
else if (fmt.Alignment == StringAlignment.
Near
)
1891
drawingFormat.Alignment = StringAlignment.
Near
;
1912
drawingFormat.Alignment = StringAlignment.
Near
;
1946
drawingFormat.LineAlignment = StringAlignment.
Near
;
1947
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
1953
drawingFormat.Alignment = StringAlignment.
Near
;
1954
else if (drawingFormat.Alignment == StringAlignment.
Near
)
1992
else if (drawingFormat.Alignment == StringAlignment.
Near
)
2005
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
2228
fmt.Alignment = StringAlignment.
Near
;
2230
else if (fmt.Alignment == StringAlignment.
Near
)
2303
else if (drawingFormat.LineAlignment == StringAlignment.
Near
)
2316
else if (drawingFormat.Alignment == StringAlignment.
Near
)
2779
if( format.Alignment == StringAlignment.
Near
)
Common\General\ChartRenderingEngine.cs (2)
358
fmt.Alignment = StringAlignment.
Near
;
360
else if (fmt.Alignment == StringAlignment.
Near
)
Common\General\Label.cs (8)
1195
format.Alignment = StringAlignment.
Near
;
1206
format.LineAlignment = StringAlignment.
Near
;
1331
else if(format.Alignment == StringAlignment.
Near
)
1344
else if(format.LineAlignment == StringAlignment.
Near
)
1412
format.Alignment = StringAlignment.
Near
;
1439
format.LineAlignment = StringAlignment.
Near
;
1874
stringFormat.Alignment = StringAlignment.
Near
;
1917
stringFormat.LineAlignment = StringAlignment.
Near
;
Common\General\Legend.cs (6)
261
private StringAlignment _legendAlignment = StringAlignment.
Near
;
1123
if(this.Alignment == StringAlignment.
Near
)
1143
if(this.Alignment == StringAlignment.
Near
)
1162
if(this.Alignment == StringAlignment.
Near
)
1182
if(this.Alignment == StringAlignment.
Near
)
3493
DefaultValue(StringAlignment.
Near
),
Common\General\LegendColumns.cs (2)
2023
format.Alignment = StringAlignment.
Near
;
2042
format.LineAlignment = StringAlignment.
Near
;
Common\General\SmartLabels.cs (3)
1433
else if(format.Alignment == StringAlignment.
Near
)
1455
else if(format.LineAlignment == StringAlignment.
Near
)
1483
format.Alignment = StringAlignment.
Near
;
Common\General\StripLine.cs (5)
159
private StringAlignment _textLineAlignment = StringAlignment.
Near
;
654
format.Alignment = StringAlignment.
Near
;
656
else if (format.Alignment == StringAlignment.
Near
)
723
if (format.Alignment == StringAlignment.
Near
)
736
if (format.LineAlignment == StringAlignment.
Near
)
Common\General\Title.cs (2)
1589
format.LineAlignment = StringAlignment.
Near
;
1596
format.Alignment = StringAlignment.
Near
;
System.Workflow.Activities (7)
Designers\SetStateDesigner.cs (1)
159
StringAlignment.
Near
,
Designers\StateDesigner.Layouts.cs (6)
448
_textSize = StateMachineDesignerPaint.MeasureString(graphics, font, text, StringAlignment.
Near
, Size.Empty);
479
ActivityDesignerPaint.DrawText(graphics, font, this.Text, TextRectangle, StringAlignment.
Near
, ambientTheme.TextQuality, designerTheme.ForegroundBrush);
615
ActivityDesignerPaint.DrawText(graphics, font, this.Text, TextRectangle, StringAlignment.
Near
, ambientTheme.TextQuality, designerTheme.ForegroundBrush);
767
_breadCrumbSeparatorSize = StateMachineDesignerPaint.MeasureString(graphics, font, BreadCrumbSeparator, StringAlignment.
Near
, Size.Empty);
815
StringAlignment.
Near
, textQuality, brush);
865
ActivityDesignerPaint.DrawText(graphics, font, text, this.Bounds, StringAlignment.
Near
, ambientTheme.TextQuality, designerTheme.ForegroundBrush);
System.Workflow.ComponentModel (5)
AuthoringOM\Design\ActivityDesigner.cs (1)
1677
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle, StringAlignment.
Near
, e.AmbientTheme.TextQuality, e.DesignerTheme.ForegroundBrush);
AuthoringOM\Design\DesignerWidgets.cs (1)
1271
ActivityDesignerPaint.DrawText(graphics, Font, descriptionString, textRectangle, StringAlignment.
Near
, TextQuality.Aliased, SystemBrushes.ControlText);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
692
stringFormat.Alignment = StringAlignment.
Near
;
AuthoringOM\Design\WorkflowPrinting.cs (2)
276
stringFormat.Alignment = StringAlignment.
Near
;
294
stringFormat.LineAlignment = StringAlignment.
Near
;