132 references to StringFormatFlags
System.Drawing (10)
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
3051
internal static extern int GdipCreateStringFormat(
StringFormatFlags
options, int language, out IntPtr format);
3076
internal static extern int GdipSetStringFormatFlags(HandleRef format,
StringFormatFlags
options);
3080
internal static extern int GdipGetStringFormatFlags(HandleRef format, out
StringFormatFlags
result);
commonui\System\Drawing\Advanced\StringFormat.cs (7)
127
/// class with the specified <see cref='System.Drawing.
StringFormatFlags
'/>.
131
public StringFormat(
StringFormatFlags
options) :
138
/// class with the specified <see cref='System.Drawing.
StringFormatFlags
'/> and language.
142
public StringFormat(
StringFormatFlags
options, int language) {
227
/// Gets or sets a <see cref='System.Drawing.
StringFormatFlags
'/> that contains formatting information.
229
public
StringFormatFlags
FormatFlags {
231
StringFormatFlags
format;
System.Web.DataVisualization (50)
Common\Annotation\ImageAnnotation.cs (1)
581
format.FormatFlags =
StringFormatFlags
.LineLimit;
Common\Annotation\TextAnnotation.cs (1)
582
format.FormatFlags = format.FormatFlags ^
StringFormatFlags
.LineLimit;
Common\ChartTypes\PieChart.cs (2)
5490
format.FormatFlags =
StringFormatFlags
.NoWrap |
StringFormatFlags
.LineLimit;
Common\General\Axis.cs (16)
1812
format.FormatFlags |=
StringFormatFlags
.FitBlackBox;
2240
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5221
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5449
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5458
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5476
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
5482
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5494
if ((format.FormatFlags &
StringFormatFlags
.DirectionVertical) ==
StringFormatFlags
.DirectionVertical)
5637
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5685
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5694
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5711
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
5716
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5729
if ((format.FormatFlags &
StringFormatFlags
.DirectionVertical) ==
StringFormatFlags
.DirectionVertical)
Common\General\ChartGraphics.cs (6)
2182
if ((drawingFormat.FormatFlags &
StringFormatFlags
.LineLimit) != 0)
2185
drawingFormat.FormatFlags ^=
StringFormatFlags
.LineLimit;
2191
drawingFormat.FormatFlags |=
StringFormatFlags
.LineLimit;
2197
if ((drawingFormat.FormatFlags &
StringFormatFlags
.NoClip) != 0)
2199
drawingFormat.FormatFlags ^=
StringFormatFlags
.NoClip;
2206
drawingFormat.FormatFlags ^=
StringFormatFlags
.NoClip;
Common\General\ChartRenderingEngine.cs (5)
328
fmt.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
329
if (!IsTextClipped && (fmt.FormatFlags &
StringFormatFlags
.NoClip) !=
StringFormatFlags
.NoClip)
330
fmt.FormatFlags |=
StringFormatFlags
.NoClip;
355
fmt.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
Common\General\Label.cs (5)
1127
format.FormatFlags |=
StringFormatFlags
.LineLimit;
1366
format.FormatFlags |=
StringFormatFlags
.LineLimit;
2451
StringFormatFlags
oldFormatFlags = format.FormatFlags;
2478
if ((format.FormatFlags &
StringFormatFlags
.LineLimit) == 0)
2480
format.FormatFlags |=
StringFormatFlags
.LineLimit;
Common\General\Legend.cs (1)
4196
format.FormatFlags =
StringFormatFlags
.LineLimit;
Common\General\LegendColumns.cs (5)
2016
format.FormatFlags =
StringFormatFlags
.LineLimit;
2049
if (charSize.Height > this.cellPosition.Height && (format.FormatFlags &
StringFormatFlags
.LineLimit) != 0)
2051
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
2054
else if (charSize.Height < this.cellPosition.Height && (format.FormatFlags &
StringFormatFlags
.LineLimit) == 0)
2056
format.FormatFlags |=
StringFormatFlags
.LineLimit;
Common\General\StripLine.cs (4)
685
format.FormatFlags =
StringFormatFlags
.DirectionVertical;
690
format.FormatFlags =
StringFormatFlags
.DirectionVertical;
758
if (format.FormatFlags ==
StringFormatFlags
.DirectionVertical)
776
if (format.FormatFlags ==
StringFormatFlags
.DirectionVertical)
Common\General\Title.cs (4)
1641
format.FormatFlags |=
StringFormatFlags
.DirectionVertical |
StringFormatFlags
.DirectionRightToLeft;
1661
format.FormatFlags |=
StringFormatFlags
.DirectionVertical |
StringFormatFlags
.DirectionRightToLeft;
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
898
internal
StringFormatFlags
gdipFormatFlags;
922
format.FormatFlags |=
StringFormatFlags
.NoWrap;
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
801
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
806
format.FormatFlags |=
StringFormatFlags
.NoWrap;
winforms\Managed\System\WinForms\ControlPaint.cs (3)
2730
stringFormat.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
2735
stringFormat.FormatFlags |=
StringFormatFlags
.LineLimit;
2749
stringFormat.FormatFlags |=
StringFormatFlags
.MeasureTrailingSpaces;
winforms\Managed\System\WinForms\DataGrid.cs (2)
7219
format.FormatFlags |=
StringFormatFlags
.NoWrap;
7222
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
589
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
1000
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
1003
format.FormatFlags |=
StringFormatFlags
.NoWrap;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
727
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (2)
603
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
610
format.FormatFlags |=
StringFormatFlags
.NoWrap;
winforms\Managed\System\WinForms\GroupBox.cs (1)
573
format.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1935
StringFormat stringFormat = new StringFormat(
StringFormatFlags
.NoWrap);
System.Windows.Forms.DataVisualization (50)
Common\Annotation\ImageAnnotation.cs (1)
581
format.FormatFlags =
StringFormatFlags
.LineLimit;
Common\Annotation\TextAnnotation.cs (1)
582
format.FormatFlags = format.FormatFlags ^
StringFormatFlags
.LineLimit;
Common\ChartTypes\PieChart.cs (2)
5490
format.FormatFlags =
StringFormatFlags
.NoWrap |
StringFormatFlags
.LineLimit;
Common\General\Axis.cs (16)
1812
format.FormatFlags |=
StringFormatFlags
.FitBlackBox;
2240
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5221
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5449
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5458
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5476
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
5482
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5494
if ((format.FormatFlags &
StringFormatFlags
.DirectionVertical) ==
StringFormatFlags
.DirectionVertical)
5637
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5685
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5694
format.FormatFlags |=
StringFormatFlags
.DirectionVertical;
5711
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
5716
format.FormatFlags |=
StringFormatFlags
.LineLimit;
5729
if ((format.FormatFlags &
StringFormatFlags
.DirectionVertical) ==
StringFormatFlags
.DirectionVertical)
Common\General\ChartGraphics.cs (6)
2182
if ((drawingFormat.FormatFlags &
StringFormatFlags
.LineLimit) != 0)
2185
drawingFormat.FormatFlags ^=
StringFormatFlags
.LineLimit;
2191
drawingFormat.FormatFlags |=
StringFormatFlags
.LineLimit;
2197
if ((drawingFormat.FormatFlags &
StringFormatFlags
.NoClip) != 0)
2199
drawingFormat.FormatFlags ^=
StringFormatFlags
.NoClip;
2206
drawingFormat.FormatFlags ^=
StringFormatFlags
.NoClip;
Common\General\ChartRenderingEngine.cs (5)
328
fmt.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
329
if (!IsTextClipped && (fmt.FormatFlags &
StringFormatFlags
.NoClip) !=
StringFormatFlags
.NoClip)
330
fmt.FormatFlags |=
StringFormatFlags
.NoClip;
355
fmt.FormatFlags |=
StringFormatFlags
.DirectionRightToLeft;
Common\General\Label.cs (5)
1127
format.FormatFlags |=
StringFormatFlags
.LineLimit;
1366
format.FormatFlags |=
StringFormatFlags
.LineLimit;
2451
StringFormatFlags
oldFormatFlags = format.FormatFlags;
2478
if ((format.FormatFlags &
StringFormatFlags
.LineLimit) == 0)
2480
format.FormatFlags |=
StringFormatFlags
.LineLimit;
Common\General\Legend.cs (1)
4196
format.FormatFlags =
StringFormatFlags
.LineLimit;
Common\General\LegendColumns.cs (5)
2016
format.FormatFlags =
StringFormatFlags
.LineLimit;
2049
if (charSize.Height > this.cellPosition.Height && (format.FormatFlags &
StringFormatFlags
.LineLimit) != 0)
2051
format.FormatFlags ^=
StringFormatFlags
.LineLimit;
2054
else if (charSize.Height < this.cellPosition.Height && (format.FormatFlags &
StringFormatFlags
.LineLimit) == 0)
2056
format.FormatFlags |=
StringFormatFlags
.LineLimit;
Common\General\StripLine.cs (4)
685
format.FormatFlags =
StringFormatFlags
.DirectionVertical;
690
format.FormatFlags =
StringFormatFlags
.DirectionVertical;
758
if (format.FormatFlags ==
StringFormatFlags
.DirectionVertical)
776
if (format.FormatFlags ==
StringFormatFlags
.DirectionVertical)
Common\General\Title.cs (4)
1641
format.FormatFlags |=
StringFormatFlags
.DirectionVertical |
StringFormatFlags
.DirectionRightToLeft;
1661
format.FormatFlags |=
StringFormatFlags
.DirectionVertical |
StringFormatFlags
.DirectionRightToLeft;
System.Workflow.Activities (1)
Designers\StateMachineDesignerPaint.cs (1)
43
format.FormatFlags =
StringFormatFlags
.LineLimit;
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerHelpers.cs (3)
75
format.FormatFlags =
StringFormatFlags
.NoClip;
113
format.FormatFlags =
StringFormatFlags
.NoClip |
StringFormatFlags
.FitBlackBox;
AuthoringOM\Design\DesignerWidgets.cs (1)
204
format.FormatFlags =
StringFormatFlags
.NoWrap;