16 instantiations of StringFormat
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
626StringFormat stringFormat = new StringFormat();
System.Windows.Forms (8)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1060return new StringFormat();
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
82StringFormat format = new()
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
517using StringFormat format = new StringFormat
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (1)
704StringFormat format = new()
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
636using StringFormat format = new();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1591StringFormat stringFormat = new(StringFormatFlags.NoWrap)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
624using StringFormat format = new()
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2592StringFormat stringFormat = new()
System.Windows.Forms.Design (7)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
622using (StringFormat format = new())
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
33_watermarkFormat = new StringFormat
System\Drawing\Design\FontNameEditor.cs (1)
74StringFormat format = new(StringFormatFlags.NoWrap | StringFormatFlags.NoFontFallback)
System\Windows\Forms\Design\ComponentTray.cs (1)
2261StringFormat format = new();
System\Windows\Forms\Design\ControlDesigner.cs (1)
2244StringFormat stringFormat = new StringFormat
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
871stringFormat = rightToLeft ? new(StringFormatFlags.DirectionRightToLeft) : new();
37 references to StringFormat
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
626StringFormat stringFormat = new StringFormat();
System.Drawing (1)
System.Drawing.cs (1)
150[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.StringFormat))]
System.Windows.Forms (29)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1055internal virtual StringFormat CreateStringFormat()
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (4)
138/// Get <see cref="StringFormat"/> object for rendering text using GDI+ (<see cref="Graphics"/>). 140internal virtual StringFormat CreateStringFormat() 523using StringFormat stringFormat = CreateStringFormat(); 735using StringFormat format = Control.CreateStringFormat();
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (3)
78public StringFormat StringFormat 82StringFormat format = new() 684using StringFormat stringFormat = StringFormat;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
271private StringFormat? _placeholderStringFormat;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
517using StringFormat format = new StringFormat
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (4)
687using StringFormat format = CreateModernCaptionStringFormat(); 702private StringFormat CreateModernCaptionStringFormat() 704StringFormat format = new() 746using StringFormat format = CreateModernCaptionStringFormat();
System\Windows\Forms\Controls\Labels\Label.cs (3)
908internal virtual StringFormat CreateStringFormat() 1079using StringFormat stringFormat = CreateStringFormat(); 1280using StringFormat stringFormat = CreateStringFormat();
System\Windows\Forms\Controls\Labels\LinkLabel.cs (6)
543using StringFormat textFormat = CreateStringFormat(); 616internal override StringFormat CreateStringFormat() 618StringFormat stringFormat = base.CreateStringFormat(); 1134StringFormat stringFormat = CreateStringFormat(); 1303StringFormat stringFormat = CreateStringFormat(); 1362StringFormat stringFormat = CreateStringFormat();
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
636using StringFormat format = new();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1591StringFormat stringFormat = new(StringFormatFlags.NoWrap)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
624using StringFormat format = new()
System\Windows\Forms\Rendering\ControlPaint.cs (3)
2010StringFormat format) 2586internal static StringFormat CreateStringFormat( 2592StringFormat stringFormat = new()
System.Windows.Forms.Design (6)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
622using (StringFormat format = new())
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
25private readonly StringFormat _watermarkFormat;
System\Drawing\Design\FontNameEditor.cs (1)
74StringFormat format = new(StringFormatFlags.NoWrap | StringFormatFlags.NoFontFallback)
System\Windows\Forms\Design\ComponentTray.cs (1)
2261StringFormat format = new();
System\Windows\Forms\Design\ControlDesigner.cs (1)
2244StringFormat stringFormat = new StringFormat
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
867StringFormat stringFormat = null;