688 references to StringAlignment
System.Drawing (13)
commonui\System\Drawing\Advanced\Gdiplus.cs (4)
3084
internal static extern int GdipSetStringFormatAlign(HandleRef format,
StringAlignment
align);
3088
internal static extern int GdipGetStringFormatAlign(HandleRef format, out
StringAlignment
align);
3092
internal static extern int GdipSetStringFormatLineAlign(HandleRef format,
StringAlignment
align);
3096
internal static extern int GdipGetStringFormatLineAlign(HandleRef format, out
StringAlignment
align);
commonui\System\Drawing\Advanced\StringFormat.cs (9)
270
public
StringAlignment
Alignment {
272
StringAlignment
alignment = 0;
283
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)
StringAlignment
.Near, (int)
StringAlignment
.Far))
285
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
StringAlignment
));
301
public
StringAlignment
LineAlignment {
303
StringAlignment
alignment = 0;
313
if (value<0 || value>
StringAlignment
.Far) {
314
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
StringAlignment
));
System.Web.DataVisualization (306)
Common\Annotation\ImageAnnotation.cs (2)
579
format.Alignment =
StringAlignment
.Center;
580
format.LineAlignment =
StringAlignment
.Center;
Common\Annotation\TextAnnotation.cs (4)
588
format.Alignment =
StringAlignment
.Far;
594
format.Alignment =
StringAlignment
.Center;
600
format.LineAlignment =
StringAlignment
.Far;
606
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\BarChart.cs (28)
895
format.Alignment =
StringAlignment
.Near;
896
format.LineAlignment =
StringAlignment
.Center;
908
format.Alignment =
StringAlignment
.Far;
937
format.Alignment =
StringAlignment
.Near;
942
format.Alignment =
StringAlignment
.Center;
947
format.Alignment =
StringAlignment
.Far;
963
if (format.Alignment ==
StringAlignment
.Far)
964
format.Alignment =
StringAlignment
.Near;
965
else if (format.Alignment ==
StringAlignment
.Near)
966
format.Alignment =
StringAlignment
.Far;
1042
if (format.Alignment ==
StringAlignment
.Near)
1047
else if (format.Alignment ==
StringAlignment
.Center)
1051
else if (format.Alignment ==
StringAlignment
.Far)
1921
format.Alignment =
StringAlignment
.Near;
1922
format.LineAlignment =
StringAlignment
.Center;
1956
format.Alignment =
StringAlignment
.Near;
1961
format.Alignment =
StringAlignment
.Center;
1966
format.Alignment =
StringAlignment
.Far;
1982
if (format.Alignment ==
StringAlignment
.Far)
1983
format.Alignment =
StringAlignment
.Near;
1984
else if (format.Alignment ==
StringAlignment
.Near)
1985
format.Alignment =
StringAlignment
.Far;
2045
if (format.Alignment ==
StringAlignment
.Near)
2049
else if (format.Alignment ==
StringAlignment
.Far)
2058
if (format.LineAlignment ==
StringAlignment
.Near)
2062
else if (format.LineAlignment ==
StringAlignment
.Far)
2072
format.Alignment =
StringAlignment
.Center;
2073
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\BoxPlotChart.cs (4)
885
format.Alignment =
StringAlignment
.Near;
886
format.LineAlignment =
StringAlignment
.Center;
889
format.Alignment =
StringAlignment
.Center;
890
format.LineAlignment =
StringAlignment
.Far;
Common\ChartTypes\ColumnChart.cs (4)
1207
format.Alignment =
StringAlignment
.Center;
1208
format.LineAlignment =
StringAlignment
.Center;
1321
format.Alignment =
StringAlignment
.Center;
1322
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\ErrorBarChart.cs (4)
942
format.Alignment =
StringAlignment
.Near;
943
format.LineAlignment =
StringAlignment
.Center;
946
format.Alignment =
StringAlignment
.Center;
947
format.LineAlignment =
StringAlignment
.Far;
Common\ChartTypes\FunnelChart.cs (2)
1569
format.Alignment =
StringAlignment
.Center;
1570
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\PieChart.cs (17)
1248
format.Alignment =
StringAlignment
.Center;
1249
format.LineAlignment =
StringAlignment
.Center;
1329
format.Alignment =
StringAlignment
.Center;
1330
format.LineAlignment =
StringAlignment
.Center;
1342
format.Alignment =
StringAlignment
.Far;
1358
format.Alignment =
StringAlignment
.Near;
1412
if (format.Alignment ==
StringAlignment
.Near)
1416
else if (format.Alignment ==
StringAlignment
.Center)
1420
else if (format.Alignment ==
StringAlignment
.Far)
5444
format.LineAlignment =
StringAlignment
.Center;
5454
format.Alignment =
StringAlignment
.Near;
5474
format.Alignment =
StringAlignment
.Far;
5510
if (format.Alignment ==
StringAlignment
.Near)
5514
else if (format.Alignment ==
StringAlignment
.Center)
5518
else if (format.Alignment ==
StringAlignment
.Far)
5557
format.LineAlignment =
StringAlignment
.Center;
5558
format.Alignment =
StringAlignment
.Center;
Common\ChartTypes\PointChart.cs (22)
677
format.Alignment =
StringAlignment
.Near;
678
format.LineAlignment =
StringAlignment
.Center;
781
format.Alignment =
StringAlignment
.Center;
784
format.Alignment =
StringAlignment
.Center;
789
format.Alignment =
StringAlignment
.Center;
794
format.Alignment =
StringAlignment
.Far;
798
format.Alignment =
StringAlignment
.Far;
804
format.Alignment =
StringAlignment
.Far;
864
format.Alignment =
StringAlignment
.Near;
868
format.Alignment =
StringAlignment
.Far;
872
format.Alignment =
StringAlignment
.Center;
873
format.LineAlignment =
StringAlignment
.Near;
876
format.Alignment =
StringAlignment
.Center;
877
format.LineAlignment =
StringAlignment
.Center;
880
format.Alignment =
StringAlignment
.Near;
887
format.Alignment =
StringAlignment
.Far;
984
if(format.Alignment ==
StringAlignment
.Far)
993
else if(format.Alignment ==
StringAlignment
.Near)
1001
else if(format.Alignment ==
StringAlignment
.Center)
1011
if(format.LineAlignment ==
StringAlignment
.Far)
1015
else if(format.LineAlignment ==
StringAlignment
.Near)
1019
else if(format.LineAlignment ==
StringAlignment
.Center)
Common\ChartTypes\RadarChart.cs (8)
1049
format.Alignment =
StringAlignment
.Near;
1050
format.LineAlignment =
StringAlignment
.Center;
1148
format.Alignment =
StringAlignment
.Center;
1151
format.Alignment =
StringAlignment
.Center;
1156
format.Alignment =
StringAlignment
.Center;
1162
format.Alignment =
StringAlignment
.Far;
1166
format.Alignment =
StringAlignment
.Far;
1172
format.Alignment =
StringAlignment
.Far;
Common\ChartTypes\StackedAreaChart.cs (4)
995
format.Alignment =
StringAlignment
.Center;
996
format.LineAlignment =
StringAlignment
.Center;
1481
format.Alignment =
StringAlignment
.Center;
1482
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StackedBarChart.cs (17)
1042
format.Alignment =
StringAlignment
.Center;
1043
format.LineAlignment =
StringAlignment
.Center;
1877
format.Alignment =
StringAlignment
.Near;
1878
format.LineAlignment =
StringAlignment
.Center;
1900
format.Alignment =
StringAlignment
.Near;
1905
format.Alignment =
StringAlignment
.Center;
1910
format.Alignment =
StringAlignment
.Far;
1916
if (format.Alignment ==
StringAlignment
.Far)
1917
format.Alignment =
StringAlignment
.Near;
1918
else if (format.Alignment ==
StringAlignment
.Near)
1919
format.Alignment =
StringAlignment
.Far;
1958
if (format.Alignment ==
StringAlignment
.Near)
1962
else if (format.Alignment ==
StringAlignment
.Far)
1971
if (format.LineAlignment ==
StringAlignment
.Near)
1975
else if (format.LineAlignment ==
StringAlignment
.Far)
1985
format.Alignment =
StringAlignment
.Center;
1986
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StackedColumnChart.cs (4)
1122
format.Alignment =
StringAlignment
.Center;
1123
format.LineAlignment =
StringAlignment
.Center;
1838
format.Alignment =
StringAlignment
.Center;
1839
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StockChart.cs (4)
942
format.Alignment =
StringAlignment
.Near;
943
format.LineAlignment =
StringAlignment
.Center;
946
format.Alignment =
StringAlignment
.Center;
947
format.LineAlignment =
StringAlignment
.Far;
Common\General\Axis.cs (34)
164
private
StringAlignment
_titleAlignment =
StringAlignment
.Center;
1023
DefaultValue(typeof(
StringAlignment
), "Center"),
1030
public
StringAlignment
TitleAlignment
1828
format.Alignment =
StringAlignment
.Center;
1829
if (this.TitleAlignment ==
StringAlignment
.Far)
1831
format.LineAlignment =
StringAlignment
.Near;
1833
else if (this.TitleAlignment ==
StringAlignment
.Near)
1835
format.LineAlignment =
StringAlignment
.Far;
1839
format.LineAlignment =
StringAlignment
.Center;
1857
format.LineAlignment =
StringAlignment
.Center;
1871
format.Alignment =
StringAlignment
.Center;
1872
if (this.TitleAlignment ==
StringAlignment
.Far)
1874
format.LineAlignment =
StringAlignment
.Near;
1876
else if (this.TitleAlignment ==
StringAlignment
.Near)
1878
format.LineAlignment =
StringAlignment
.Far;
1882
format.LineAlignment =
StringAlignment
.Center;
1900
format.LineAlignment =
StringAlignment
.Center;
1917
format.LineAlignment =
StringAlignment
.Center;
1933
format.LineAlignment =
StringAlignment
.Center;
2245
if (format.Alignment !=
StringAlignment
.Center)
2262
if (format.Alignment ==
StringAlignment
.Near)
2264
format.Alignment =
StringAlignment
.Far;
2268
format.Alignment =
StringAlignment
.Near;
2287
if (format.Alignment ==
StringAlignment
.Near)
2291
else if (format.Alignment ==
StringAlignment
.Far)
2299
if (format.Alignment ==
StringAlignment
.Near)
2303
else if (format.Alignment ==
StringAlignment
.Far)
2311
if (format.Alignment ==
StringAlignment
.Near)
2315
else if (format.Alignment ==
StringAlignment
.Far)
2323
if (format.Alignment ==
StringAlignment
.Near)
2327
else if (format.Alignment ==
StringAlignment
.Far)
2429
format.LineAlignment =
StringAlignment
.Center;
2430
format.Alignment =
StringAlignment
.Center;
Common\General\ChartGraphics.cs (43)
1372
if (fmt.Alignment ==
StringAlignment
.Far)
1374
fmt.Alignment =
StringAlignment
.Near;
1376
else if (fmt.Alignment ==
StringAlignment
.Near)
1378
fmt.Alignment =
StringAlignment
.Far;
1449
if (fmt.Alignment ==
StringAlignment
.Far)
1451
fmt.Alignment =
StringAlignment
.Near;
1453
else if (fmt.Alignment ==
StringAlignment
.Near)
1455
fmt.Alignment =
StringAlignment
.Far;
1820
drawingFormat.LineAlignment =
StringAlignment
.Center;
1821
drawingFormat.Alignment =
StringAlignment
.Center;
1891
drawingFormat.Alignment =
StringAlignment
.Near;
1894
drawingFormat.Alignment =
StringAlignment
.Far;
1896
drawingFormat.LineAlignment =
StringAlignment
.Center;
1909
drawingFormat.Alignment =
StringAlignment
.Far;
1912
drawingFormat.Alignment =
StringAlignment
.Near;
1914
drawingFormat.LineAlignment =
StringAlignment
.Center;
1940
StringAlignment
align = drawingFormat.Alignment;
1945
if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
1946
drawingFormat.LineAlignment =
StringAlignment
.Near;
1947
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
1948
drawingFormat.LineAlignment =
StringAlignment
.Far;
1952
if (drawingFormat.Alignment ==
StringAlignment
.Far)
1953
drawingFormat.Alignment =
StringAlignment
.Near;
1954
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
1955
drawingFormat.Alignment =
StringAlignment
.Far;
1988
if (drawingFormat.Alignment ==
StringAlignment
.Far)
1992
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
1996
else if (drawingFormat.Alignment ==
StringAlignment
.Center)
2001
if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
2005
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
2009
else if (drawingFormat.LineAlignment ==
StringAlignment
.Center)
2226
if (fmt.Alignment ==
StringAlignment
.Far)
2228
fmt.Alignment =
StringAlignment
.Near;
2230
else if (fmt.Alignment ==
StringAlignment
.Near)
2232
fmt.Alignment =
StringAlignment
.Far;
2295
if (drawingFormat.LineAlignment ==
StringAlignment
.Center)
2299
else if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
2303
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
2308
if (drawingFormat.Alignment ==
StringAlignment
.Center)
2312
else if (drawingFormat.Alignment ==
StringAlignment
.Far)
2316
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
2779
if( format.Alignment ==
StringAlignment
.Near )
2784
else if( format.Alignment ==
StringAlignment
.Far )
Common\General\ChartRenderingEngine.cs (4)
356
if (fmt.Alignment ==
StringAlignment
.Far)
358
fmt.Alignment =
StringAlignment
.Near;
360
else if (fmt.Alignment ==
StringAlignment
.Near)
362
fmt.Alignment =
StringAlignment
.Far;
Common\General\Label.cs (32)
1194
format.LineAlignment =
StringAlignment
.Center;
1195
format.Alignment =
StringAlignment
.Near;
1200
format.Alignment =
StringAlignment
.Center;
1201
format.LineAlignment =
StringAlignment
.Far;
1205
format.Alignment =
StringAlignment
.Center;
1206
format.LineAlignment =
StringAlignment
.Near;
1210
format.Alignment =
StringAlignment
.Far;
1217
format.Alignment =
StringAlignment
.Far;
1237
format.Alignment =
StringAlignment
.Center;
1238
format.LineAlignment =
StringAlignment
.Far;
1327
if(format.Alignment ==
StringAlignment
.Far)
1331
else if(format.Alignment ==
StringAlignment
.Near)
1335
else if(format.Alignment ==
StringAlignment
.Center)
1340
if(format.LineAlignment ==
StringAlignment
.Far)
1344
else if(format.LineAlignment ==
StringAlignment
.Near)
1348
else if(format.LineAlignment ==
StringAlignment
.Center)
1399
format.Alignment =
StringAlignment
.Far;
1400
format.LineAlignment =
StringAlignment
.Center;
1412
format.Alignment =
StringAlignment
.Near;
1413
format.LineAlignment =
StringAlignment
.Center;
1425
format.Alignment =
StringAlignment
.Center;
1426
format.LineAlignment =
StringAlignment
.Far;
1438
format.Alignment =
StringAlignment
.Center;
1439
format.LineAlignment =
StringAlignment
.Near;
1852
stringFormat.Alignment =
StringAlignment
.Far;
1853
stringFormat.LineAlignment =
StringAlignment
.Center;
1874
stringFormat.Alignment =
StringAlignment
.Near;
1875
stringFormat.LineAlignment =
StringAlignment
.Center;
1898
stringFormat.Alignment =
StringAlignment
.Center;
1899
stringFormat.LineAlignment =
StringAlignment
.Far;
1916
stringFormat.Alignment =
StringAlignment
.Center;
1917
stringFormat.LineAlignment =
StringAlignment
.Near;
Common\General\Legend.cs (21)
261
private
StringAlignment
_legendAlignment =
StringAlignment
.Near;
325
private
StringAlignment
_titleAlignment =
StringAlignment
.Center;
1123
if(this.Alignment ==
StringAlignment
.Near)
1127
else if(this.Alignment ==
StringAlignment
.Far)
1131
else if(this.Alignment ==
StringAlignment
.Center)
1143
if(this.Alignment ==
StringAlignment
.Near)
1147
else if(this.Alignment ==
StringAlignment
.Far)
1151
else if(this.Alignment ==
StringAlignment
.Center)
1162
if(this.Alignment ==
StringAlignment
.Near)
1166
else if(this.Alignment ==
StringAlignment
.Far)
1170
else if(this.Alignment ==
StringAlignment
.Center)
1182
if(this.Alignment ==
StringAlignment
.Near)
1186
else if(this.Alignment ==
StringAlignment
.Far)
1190
else if(this.Alignment ==
StringAlignment
.Center)
3493
DefaultValue(
StringAlignment
.Near),
3500
public
StringAlignment
Alignment
3890
DefaultValue(typeof(
StringAlignment
), "Center"),
3893
public
StringAlignment
TitleAlignment
4195
format.LineAlignment =
StringAlignment
.Center;
Common\General\LegendColumns.cs (10)
171
private
StringAlignment
_headerAlignment =
StringAlignment
.Center;
673
DefaultValue(typeof(
StringAlignment
), "Center"),
676
public
StringAlignment
HeaderAlignment
2018
format.Alignment =
StringAlignment
.Center;
2023
format.Alignment =
StringAlignment
.Near;
2029
format.Alignment =
StringAlignment
.Far;
2031
format.LineAlignment =
StringAlignment
.Center;
2036
format.LineAlignment =
StringAlignment
.Far;
2042
format.LineAlignment =
StringAlignment
.Near;
Common\General\SmartLabels.cs (14)
1424
if(format.Alignment ==
StringAlignment
.Far)
1433
else if(format.Alignment ==
StringAlignment
.Near)
1441
else if(format.Alignment ==
StringAlignment
.Center)
1451
if(format.LineAlignment ==
StringAlignment
.Far)
1455
else if(format.LineAlignment ==
StringAlignment
.Near)
1459
else if(format.LineAlignment ==
StringAlignment
.Center)
1483
format.Alignment =
StringAlignment
.Near;
1484
format.LineAlignment =
StringAlignment
.Center;
1491
format.Alignment =
StringAlignment
.Center;
1494
format.Alignment =
StringAlignment
.Center;
1499
format.Alignment =
StringAlignment
.Center;
1504
format.Alignment =
StringAlignment
.Far;
1508
format.Alignment =
StringAlignment
.Far;
1514
format.Alignment =
StringAlignment
.Far;
Common\General\StripLine.cs (18)
158
private
StringAlignment
_textAlignment =
StringAlignment
.Far;
159
private
StringAlignment
_textLineAlignment =
StringAlignment
.Near;
652
if (format.Alignment ==
StringAlignment
.Far)
654
format.Alignment =
StringAlignment
.Near;
656
else if (format.Alignment ==
StringAlignment
.Near)
658
format.Alignment =
StringAlignment
.Far;
723
if (format.Alignment ==
StringAlignment
.Near)
727
else if (format.Alignment ==
StringAlignment
.Far)
736
if (format.LineAlignment ==
StringAlignment
.Near)
740
else if (format.LineAlignment ==
StringAlignment
.Far)
750
format.Alignment =
StringAlignment
.Center;
751
format.LineAlignment =
StringAlignment
.Center;
1402
DefaultValue(typeof(
StringAlignment
), "Far"),
1409
public
StringAlignment
TextAlignment
1428
DefaultValue(typeof(
StringAlignment
), "Near"),
1435
public
StringAlignment
TextLineAlignment
Common\General\Title.cs (6)
1576
format.Alignment =
StringAlignment
.Center;
1577
format.LineAlignment =
StringAlignment
.Center;
1583
format.LineAlignment =
StringAlignment
.Far;
1589
format.LineAlignment =
StringAlignment
.Near;
1596
format.Alignment =
StringAlignment
.Near;
1602
format.Alignment =
StringAlignment
.Far;
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
901
internal
StringAlignment
gdipAlignment; // horizontal alignment.
902
internal
StringAlignment
gdipLineAlignment; // vertical alignment.
winforms\Managed\System\WinForms\ControlPaint.cs (10)
2649
internal static
StringAlignment
TranslateAlignment(ContentAlignment align) {
2650
StringAlignment
result;
2652
result =
StringAlignment
.Far;
2654
result =
StringAlignment
.Center;
2656
result =
StringAlignment
.Near;
2673
internal static
StringAlignment
TranslateLineAlignment(ContentAlignment align) {
2674
StringAlignment
result;
2676
result =
StringAlignment
.Far;
2679
result =
StringAlignment
.Center;
2682
result =
StringAlignment
.Near;
winforms\Managed\System\WinForms\DataGrid.cs (4)
7214
format.Alignment = colAlignment == HorizontalAlignment.Right ?
StringAlignment
.Far :
7215
colAlignment == HorizontalAlignment.Center ?
StringAlignment
.Center :
7216
StringAlignment
.Near;
7223
format.Alignment =
StringAlignment
.Near;
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
590
format.Alignment =
StringAlignment
.Far;
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
1001
format.Alignment =
StringAlignment
.Far;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
728
format.Alignment =
StringAlignment
.Far;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (3)
606
format.Alignment = this.Alignment == HorizontalAlignment.Left ?
StringAlignment
.Near : this.Alignment == HorizontalAlignment.Center ?
StringAlignment
.Center :
StringAlignment
.Far;
System.Windows.Forms.DataVisualization (308)
Common\Annotation\ImageAnnotation.cs (2)
579
format.Alignment =
StringAlignment
.Center;
580
format.LineAlignment =
StringAlignment
.Center;
Common\Annotation\TextAnnotation.cs (4)
588
format.Alignment =
StringAlignment
.Far;
594
format.Alignment =
StringAlignment
.Center;
600
format.LineAlignment =
StringAlignment
.Far;
606
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\BarChart.cs (28)
895
format.Alignment =
StringAlignment
.Near;
896
format.LineAlignment =
StringAlignment
.Center;
908
format.Alignment =
StringAlignment
.Far;
937
format.Alignment =
StringAlignment
.Near;
942
format.Alignment =
StringAlignment
.Center;
947
format.Alignment =
StringAlignment
.Far;
963
if (format.Alignment ==
StringAlignment
.Far)
964
format.Alignment =
StringAlignment
.Near;
965
else if (format.Alignment ==
StringAlignment
.Near)
966
format.Alignment =
StringAlignment
.Far;
1042
if (format.Alignment ==
StringAlignment
.Near)
1047
else if (format.Alignment ==
StringAlignment
.Center)
1051
else if (format.Alignment ==
StringAlignment
.Far)
1921
format.Alignment =
StringAlignment
.Near;
1922
format.LineAlignment =
StringAlignment
.Center;
1956
format.Alignment =
StringAlignment
.Near;
1961
format.Alignment =
StringAlignment
.Center;
1966
format.Alignment =
StringAlignment
.Far;
1982
if (format.Alignment ==
StringAlignment
.Far)
1983
format.Alignment =
StringAlignment
.Near;
1984
else if (format.Alignment ==
StringAlignment
.Near)
1985
format.Alignment =
StringAlignment
.Far;
2045
if (format.Alignment ==
StringAlignment
.Near)
2049
else if (format.Alignment ==
StringAlignment
.Far)
2058
if (format.LineAlignment ==
StringAlignment
.Near)
2062
else if (format.LineAlignment ==
StringAlignment
.Far)
2072
format.Alignment =
StringAlignment
.Center;
2073
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\BoxPlotChart.cs (4)
885
format.Alignment =
StringAlignment
.Near;
886
format.LineAlignment =
StringAlignment
.Center;
889
format.Alignment =
StringAlignment
.Center;
890
format.LineAlignment =
StringAlignment
.Far;
Common\ChartTypes\ColumnChart.cs (4)
1207
format.Alignment =
StringAlignment
.Center;
1208
format.LineAlignment =
StringAlignment
.Center;
1321
format.Alignment =
StringAlignment
.Center;
1322
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\ErrorBarChart.cs (4)
942
format.Alignment =
StringAlignment
.Near;
943
format.LineAlignment =
StringAlignment
.Center;
946
format.Alignment =
StringAlignment
.Center;
947
format.LineAlignment =
StringAlignment
.Far;
Common\ChartTypes\FunnelChart.cs (2)
1569
format.Alignment =
StringAlignment
.Center;
1570
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\PieChart.cs (17)
1248
format.Alignment =
StringAlignment
.Center;
1249
format.LineAlignment =
StringAlignment
.Center;
1329
format.Alignment =
StringAlignment
.Center;
1330
format.LineAlignment =
StringAlignment
.Center;
1342
format.Alignment =
StringAlignment
.Far;
1358
format.Alignment =
StringAlignment
.Near;
1412
if (format.Alignment ==
StringAlignment
.Near)
1416
else if (format.Alignment ==
StringAlignment
.Center)
1420
else if (format.Alignment ==
StringAlignment
.Far)
5444
format.LineAlignment =
StringAlignment
.Center;
5454
format.Alignment =
StringAlignment
.Near;
5474
format.Alignment =
StringAlignment
.Far;
5510
if (format.Alignment ==
StringAlignment
.Near)
5514
else if (format.Alignment ==
StringAlignment
.Center)
5518
else if (format.Alignment ==
StringAlignment
.Far)
5557
format.LineAlignment =
StringAlignment
.Center;
5558
format.Alignment =
StringAlignment
.Center;
Common\ChartTypes\PointChart.cs (22)
677
format.Alignment =
StringAlignment
.Near;
678
format.LineAlignment =
StringAlignment
.Center;
781
format.Alignment =
StringAlignment
.Center;
784
format.Alignment =
StringAlignment
.Center;
789
format.Alignment =
StringAlignment
.Center;
794
format.Alignment =
StringAlignment
.Far;
798
format.Alignment =
StringAlignment
.Far;
804
format.Alignment =
StringAlignment
.Far;
864
format.Alignment =
StringAlignment
.Near;
868
format.Alignment =
StringAlignment
.Far;
872
format.Alignment =
StringAlignment
.Center;
873
format.LineAlignment =
StringAlignment
.Near;
876
format.Alignment =
StringAlignment
.Center;
877
format.LineAlignment =
StringAlignment
.Center;
880
format.Alignment =
StringAlignment
.Near;
887
format.Alignment =
StringAlignment
.Far;
984
if(format.Alignment ==
StringAlignment
.Far)
993
else if(format.Alignment ==
StringAlignment
.Near)
1001
else if(format.Alignment ==
StringAlignment
.Center)
1011
if(format.LineAlignment ==
StringAlignment
.Far)
1015
else if(format.LineAlignment ==
StringAlignment
.Near)
1019
else if(format.LineAlignment ==
StringAlignment
.Center)
Common\ChartTypes\RadarChart.cs (8)
1049
format.Alignment =
StringAlignment
.Near;
1050
format.LineAlignment =
StringAlignment
.Center;
1148
format.Alignment =
StringAlignment
.Center;
1151
format.Alignment =
StringAlignment
.Center;
1156
format.Alignment =
StringAlignment
.Center;
1162
format.Alignment =
StringAlignment
.Far;
1166
format.Alignment =
StringAlignment
.Far;
1172
format.Alignment =
StringAlignment
.Far;
Common\ChartTypes\StackedAreaChart.cs (4)
995
format.Alignment =
StringAlignment
.Center;
996
format.LineAlignment =
StringAlignment
.Center;
1481
format.Alignment =
StringAlignment
.Center;
1482
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StackedBarChart.cs (17)
1042
format.Alignment =
StringAlignment
.Center;
1043
format.LineAlignment =
StringAlignment
.Center;
1877
format.Alignment =
StringAlignment
.Near;
1878
format.LineAlignment =
StringAlignment
.Center;
1900
format.Alignment =
StringAlignment
.Near;
1905
format.Alignment =
StringAlignment
.Center;
1910
format.Alignment =
StringAlignment
.Far;
1916
if (format.Alignment ==
StringAlignment
.Far)
1917
format.Alignment =
StringAlignment
.Near;
1918
else if (format.Alignment ==
StringAlignment
.Near)
1919
format.Alignment =
StringAlignment
.Far;
1958
if (format.Alignment ==
StringAlignment
.Near)
1962
else if (format.Alignment ==
StringAlignment
.Far)
1971
if (format.LineAlignment ==
StringAlignment
.Near)
1975
else if (format.LineAlignment ==
StringAlignment
.Far)
1985
format.Alignment =
StringAlignment
.Center;
1986
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StackedColumnChart.cs (4)
1122
format.Alignment =
StringAlignment
.Center;
1123
format.LineAlignment =
StringAlignment
.Center;
1838
format.Alignment =
StringAlignment
.Center;
1839
format.LineAlignment =
StringAlignment
.Center;
Common\ChartTypes\StockChart.cs (4)
942
format.Alignment =
StringAlignment
.Near;
943
format.LineAlignment =
StringAlignment
.Center;
946
format.Alignment =
StringAlignment
.Center;
947
format.LineAlignment =
StringAlignment
.Far;
Common\General\Axis.cs (34)
164
private
StringAlignment
_titleAlignment =
StringAlignment
.Center;
1023
DefaultValue(typeof(
StringAlignment
), "Center"),
1030
public
StringAlignment
TitleAlignment
1828
format.Alignment =
StringAlignment
.Center;
1829
if (this.TitleAlignment ==
StringAlignment
.Far)
1831
format.LineAlignment =
StringAlignment
.Near;
1833
else if (this.TitleAlignment ==
StringAlignment
.Near)
1835
format.LineAlignment =
StringAlignment
.Far;
1839
format.LineAlignment =
StringAlignment
.Center;
1857
format.LineAlignment =
StringAlignment
.Center;
1871
format.Alignment =
StringAlignment
.Center;
1872
if (this.TitleAlignment ==
StringAlignment
.Far)
1874
format.LineAlignment =
StringAlignment
.Near;
1876
else if (this.TitleAlignment ==
StringAlignment
.Near)
1878
format.LineAlignment =
StringAlignment
.Far;
1882
format.LineAlignment =
StringAlignment
.Center;
1900
format.LineAlignment =
StringAlignment
.Center;
1917
format.LineAlignment =
StringAlignment
.Center;
1933
format.LineAlignment =
StringAlignment
.Center;
2245
if (format.Alignment !=
StringAlignment
.Center)
2262
if (format.Alignment ==
StringAlignment
.Near)
2264
format.Alignment =
StringAlignment
.Far;
2268
format.Alignment =
StringAlignment
.Near;
2287
if (format.Alignment ==
StringAlignment
.Near)
2291
else if (format.Alignment ==
StringAlignment
.Far)
2299
if (format.Alignment ==
StringAlignment
.Near)
2303
else if (format.Alignment ==
StringAlignment
.Far)
2311
if (format.Alignment ==
StringAlignment
.Near)
2315
else if (format.Alignment ==
StringAlignment
.Far)
2323
if (format.Alignment ==
StringAlignment
.Near)
2327
else if (format.Alignment ==
StringAlignment
.Far)
2429
format.LineAlignment =
StringAlignment
.Center;
2430
format.Alignment =
StringAlignment
.Center;
Common\General\ChartGraphics.cs (43)
1372
if (fmt.Alignment ==
StringAlignment
.Far)
1374
fmt.Alignment =
StringAlignment
.Near;
1376
else if (fmt.Alignment ==
StringAlignment
.Near)
1378
fmt.Alignment =
StringAlignment
.Far;
1449
if (fmt.Alignment ==
StringAlignment
.Far)
1451
fmt.Alignment =
StringAlignment
.Near;
1453
else if (fmt.Alignment ==
StringAlignment
.Near)
1455
fmt.Alignment =
StringAlignment
.Far;
1820
drawingFormat.LineAlignment =
StringAlignment
.Center;
1821
drawingFormat.Alignment =
StringAlignment
.Center;
1891
drawingFormat.Alignment =
StringAlignment
.Near;
1894
drawingFormat.Alignment =
StringAlignment
.Far;
1896
drawingFormat.LineAlignment =
StringAlignment
.Center;
1909
drawingFormat.Alignment =
StringAlignment
.Far;
1912
drawingFormat.Alignment =
StringAlignment
.Near;
1914
drawingFormat.LineAlignment =
StringAlignment
.Center;
1940
StringAlignment
align = drawingFormat.Alignment;
1945
if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
1946
drawingFormat.LineAlignment =
StringAlignment
.Near;
1947
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
1948
drawingFormat.LineAlignment =
StringAlignment
.Far;
1952
if (drawingFormat.Alignment ==
StringAlignment
.Far)
1953
drawingFormat.Alignment =
StringAlignment
.Near;
1954
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
1955
drawingFormat.Alignment =
StringAlignment
.Far;
1988
if (drawingFormat.Alignment ==
StringAlignment
.Far)
1992
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
1996
else if (drawingFormat.Alignment ==
StringAlignment
.Center)
2001
if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
2005
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
2009
else if (drawingFormat.LineAlignment ==
StringAlignment
.Center)
2226
if (fmt.Alignment ==
StringAlignment
.Far)
2228
fmt.Alignment =
StringAlignment
.Near;
2230
else if (fmt.Alignment ==
StringAlignment
.Near)
2232
fmt.Alignment =
StringAlignment
.Far;
2295
if (drawingFormat.LineAlignment ==
StringAlignment
.Center)
2299
else if (drawingFormat.LineAlignment ==
StringAlignment
.Far)
2303
else if (drawingFormat.LineAlignment ==
StringAlignment
.Near)
2308
if (drawingFormat.Alignment ==
StringAlignment
.Center)
2312
else if (drawingFormat.Alignment ==
StringAlignment
.Far)
2316
else if (drawingFormat.Alignment ==
StringAlignment
.Near)
2779
if( format.Alignment ==
StringAlignment
.Near )
2784
else if( format.Alignment ==
StringAlignment
.Far )
Common\General\ChartRenderingEngine.cs (4)
356
if (fmt.Alignment ==
StringAlignment
.Far)
358
fmt.Alignment =
StringAlignment
.Near;
360
else if (fmt.Alignment ==
StringAlignment
.Near)
362
fmt.Alignment =
StringAlignment
.Far;
Common\General\Label.cs (32)
1194
format.LineAlignment =
StringAlignment
.Center;
1195
format.Alignment =
StringAlignment
.Near;
1200
format.Alignment =
StringAlignment
.Center;
1201
format.LineAlignment =
StringAlignment
.Far;
1205
format.Alignment =
StringAlignment
.Center;
1206
format.LineAlignment =
StringAlignment
.Near;
1210
format.Alignment =
StringAlignment
.Far;
1217
format.Alignment =
StringAlignment
.Far;
1237
format.Alignment =
StringAlignment
.Center;
1238
format.LineAlignment =
StringAlignment
.Far;
1327
if(format.Alignment ==
StringAlignment
.Far)
1331
else if(format.Alignment ==
StringAlignment
.Near)
1335
else if(format.Alignment ==
StringAlignment
.Center)
1340
if(format.LineAlignment ==
StringAlignment
.Far)
1344
else if(format.LineAlignment ==
StringAlignment
.Near)
1348
else if(format.LineAlignment ==
StringAlignment
.Center)
1399
format.Alignment =
StringAlignment
.Far;
1400
format.LineAlignment =
StringAlignment
.Center;
1412
format.Alignment =
StringAlignment
.Near;
1413
format.LineAlignment =
StringAlignment
.Center;
1425
format.Alignment =
StringAlignment
.Center;
1426
format.LineAlignment =
StringAlignment
.Far;
1438
format.Alignment =
StringAlignment
.Center;
1439
format.LineAlignment =
StringAlignment
.Near;
1852
stringFormat.Alignment =
StringAlignment
.Far;
1853
stringFormat.LineAlignment =
StringAlignment
.Center;
1874
stringFormat.Alignment =
StringAlignment
.Near;
1875
stringFormat.LineAlignment =
StringAlignment
.Center;
1898
stringFormat.Alignment =
StringAlignment
.Center;
1899
stringFormat.LineAlignment =
StringAlignment
.Far;
1916
stringFormat.Alignment =
StringAlignment
.Center;
1917
stringFormat.LineAlignment =
StringAlignment
.Near;
Common\General\Legend.cs (21)
261
private
StringAlignment
_legendAlignment =
StringAlignment
.Near;
325
private
StringAlignment
_titleAlignment =
StringAlignment
.Center;
1123
if(this.Alignment ==
StringAlignment
.Near)
1127
else if(this.Alignment ==
StringAlignment
.Far)
1131
else if(this.Alignment ==
StringAlignment
.Center)
1143
if(this.Alignment ==
StringAlignment
.Near)
1147
else if(this.Alignment ==
StringAlignment
.Far)
1151
else if(this.Alignment ==
StringAlignment
.Center)
1162
if(this.Alignment ==
StringAlignment
.Near)
1166
else if(this.Alignment ==
StringAlignment
.Far)
1170
else if(this.Alignment ==
StringAlignment
.Center)
1182
if(this.Alignment ==
StringAlignment
.Near)
1186
else if(this.Alignment ==
StringAlignment
.Far)
1190
else if(this.Alignment ==
StringAlignment
.Center)
3493
DefaultValue(
StringAlignment
.Near),
3500
public
StringAlignment
Alignment
3890
DefaultValue(typeof(
StringAlignment
), "Center"),
3893
public
StringAlignment
TitleAlignment
4195
format.LineAlignment =
StringAlignment
.Center;
Common\General\LegendColumns.cs (10)
171
private
StringAlignment
_headerAlignment =
StringAlignment
.Center;
673
DefaultValue(typeof(
StringAlignment
), "Center"),
676
public
StringAlignment
HeaderAlignment
2018
format.Alignment =
StringAlignment
.Center;
2023
format.Alignment =
StringAlignment
.Near;
2029
format.Alignment =
StringAlignment
.Far;
2031
format.LineAlignment =
StringAlignment
.Center;
2036
format.LineAlignment =
StringAlignment
.Far;
2042
format.LineAlignment =
StringAlignment
.Near;
Common\General\SmartLabels.cs (14)
1424
if(format.Alignment ==
StringAlignment
.Far)
1433
else if(format.Alignment ==
StringAlignment
.Near)
1441
else if(format.Alignment ==
StringAlignment
.Center)
1451
if(format.LineAlignment ==
StringAlignment
.Far)
1455
else if(format.LineAlignment ==
StringAlignment
.Near)
1459
else if(format.LineAlignment ==
StringAlignment
.Center)
1483
format.Alignment =
StringAlignment
.Near;
1484
format.LineAlignment =
StringAlignment
.Center;
1491
format.Alignment =
StringAlignment
.Center;
1494
format.Alignment =
StringAlignment
.Center;
1499
format.Alignment =
StringAlignment
.Center;
1504
format.Alignment =
StringAlignment
.Far;
1508
format.Alignment =
StringAlignment
.Far;
1514
format.Alignment =
StringAlignment
.Far;
Common\General\StripLine.cs (18)
158
private
StringAlignment
_textAlignment =
StringAlignment
.Far;
159
private
StringAlignment
_textLineAlignment =
StringAlignment
.Near;
652
if (format.Alignment ==
StringAlignment
.Far)
654
format.Alignment =
StringAlignment
.Near;
656
else if (format.Alignment ==
StringAlignment
.Near)
658
format.Alignment =
StringAlignment
.Far;
723
if (format.Alignment ==
StringAlignment
.Near)
727
else if (format.Alignment ==
StringAlignment
.Far)
736
if (format.LineAlignment ==
StringAlignment
.Near)
740
else if (format.LineAlignment ==
StringAlignment
.Far)
750
format.Alignment =
StringAlignment
.Center;
751
format.LineAlignment =
StringAlignment
.Center;
1402
DefaultValue(typeof(
StringAlignment
), "Far"),
1409
public
StringAlignment
TextAlignment
1428
DefaultValue(typeof(
StringAlignment
), "Near"),
1435
public
StringAlignment
TextLineAlignment
Common\General\Title.cs (6)
1576
format.Alignment =
StringAlignment
.Center;
1577
format.LineAlignment =
StringAlignment
.Center;
1583
format.LineAlignment =
StringAlignment
.Far;
1589
format.LineAlignment =
StringAlignment
.Near;
1596
format.Alignment =
StringAlignment
.Near;
1602
format.Alignment =
StringAlignment
.Far;
WinForm\ChartWinControl.cs (2)
591
format.Alignment =
StringAlignment
.Center;
592
format.LineAlignment =
StringAlignment
.Center;
System.Workflow.Activities (13)
Designers\SetStateDesigner.cs (2)
159
StringAlignment
.Near,
176
StringAlignment
.Center,
Designers\StateDesigner.Layouts.cs (9)
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);
852
size = StateMachineDesignerPaint.MeasureString(graphics, compositeDesignerTheme.Font, text,
StringAlignment
.Center, Size.Empty);
865
ActivityDesignerPaint.DrawText(graphics, font, text, this.Bounds,
StringAlignment
.Near, ambientTheme.TextQuality, designerTheme.ForegroundBrush);
1223
StringAlignment
.Center,
1235
StringAlignment
.Center,
Designers\StateMachineDesignerPaint.cs (2)
29
internal static Size MeasureString(Graphics graphics, Font font, string text,
StringAlignment
alignment, Size maxSize)
41
format.LineAlignment =
StringAlignment
.Center;
System.Workflow.ComponentModel (26)
AuthoringOM\Design\ActivityDesigner.cs (2)
1677
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle,
StringAlignment
.Near, e.AmbientTheme.TextQuality, e.DesignerTheme.ForegroundBrush);
1711
Size actualTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, e.DesignerTheme.BoldFont, Text,
StringAlignment
.Center, Size.Empty);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1290
this.actualTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, e.DesignerTheme.BoldFont, Text,
StringAlignment
.Center, Size.Empty);
AuthoringOM\Design\DesignerHelpers.cs (4)
62
internal static Size MeasureString(Graphics graphics, Font font, string text,
StringAlignment
alignment, Size maxSize)
73
format.LineAlignment =
StringAlignment
.Center;
92
public static void DrawText(Graphics graphics, Font font, string text, Rectangle boundingRect,
StringAlignment
alignment, TextQuality textQuality, Brush textBrush)
111
format.LineAlignment =
StringAlignment
.Center;
AuthoringOM\Design\DesignerWidgets.cs (8)
201
format.Alignment =
StringAlignment
.Center;
202
format.LineAlignment =
StringAlignment
.Center;
1271
ActivityDesignerPaint.DrawText(graphics, Font, descriptionString, textRectangle,
StringAlignment
.Near, TextQuality.Aliased, SystemBrushes.ControlText);
1921
stringFormat.Alignment =
StringAlignment
.Center;
1922
stringFormat.LineAlignment =
StringAlignment
.Center;
2766
ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, this.helpText, stripRectangle,
StringAlignment
.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, textBrush);
3410
ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, PreviewModeDescription, this.previewModeDescRectangle,
StringAlignment
.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush);
3446
ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, previewDescription, descriptionRectangle,
StringAlignment
.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (2)
692
stringFormat.Alignment =
StringAlignment
.Near;
694
stringFormat.LineAlignment =
StringAlignment
.Center;
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
415
ActivityDesignerPaint.DrawText(e.Graphics, compositeDesignerTheme.Font, this.HelpText, helpTextRectangle,
StringAlignment
.Center, e.AmbientTheme.TextQuality, compositeDesignerTheme.ForegroundBrush);
477
this.helpTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, compositeDesignerTheme.Font, this.HelpText,
StringAlignment
.Center, SequentialActivityDesigner.DefaultHelpTextSize);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (2)
196
this.textSize = ActivityDesignerPaint.MeasureString(e.Graphics, font, Text,
StringAlignment
.Center, Size.Empty);
213
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle,
StringAlignment
.Center, TextQuality.AntiAliased, e.DesignerTheme.ForegroundBrush);
AuthoringOM\Design\WorkflowPrinting.cs (5)
276
stringFormat.Alignment =
StringAlignment
.Near;
281
stringFormat.Alignment =
StringAlignment
.Center;
286
stringFormat.Alignment =
StringAlignment
.Far;
294
stringFormat.LineAlignment =
StringAlignment
.Near;
299
stringFormat.LineAlignment =
StringAlignment
.Far;