65 references to ConvertToString
PresentationCore (2)
Core\CSharp\System\Windows\Duration.cs (1)
518
return TypeDescriptor.GetConverter(_timeSpan).
ConvertToString
(_timeSpan);
Core\CSharp\System\Windows\Media\Animation\KeyTime.cs (1)
211
return converter.
ConvertToString
(this);
PresentationFramework (1)
src\Framework\System\Windows\PropertyPathConverter.cs (1)
293
name = converter.
ConvertToString
(pathPart);
System (3)
compmod\system\componentmodel\design\InheritanceAttribute.cs (1)
126
return TypeDescriptor.GetConverter(typeof(InheritanceLevel)).
ConvertToString
(InheritanceLevel);
compmod\system\componentmodel\ReferenceConverter.cs (2)
222
String itemName1 = converter.
ConvertToString
(item1);
223
String itemName2 = converter.
ConvertToString
(item2);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (2)
161
this.Text = converter.
ConvertToString
(this.Value);
287
converter.
ConvertToString
(result);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
1056
newStringValue = converter.
ConvertToString
(this.InternalValue);
System.Activities.Presentation\System\Activities\Presentation\Converters\XNameSearchableStringConverter.cs (1)
17
results.Add(new XNameConverter().
ConvertToString
(value));
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
1056
newStringValue = converter.
ConvertToString
(this.InternalValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\XNameSearchableStringConverter.cs (1)
17
results.Add(new XNameConverter().
ConvertToString
(value));
fx\src\data\System\Data\xmlsaver.cs (1)
196
string textValue = pd.Converter.
ConvertToString
(propInst) ;
System.Drawing (4)
commonui\System\Drawing\Printing\PaperSize.cs (1)
308
+ " Kind=" + unchecked(TypeDescriptor.GetConverter(typeof(PaperKind)).
ConvertToString
((int) Kind))
commonui\System\Drawing\Printing\PaperSource.cs (1)
97
+ " Kind=" + TypeDescriptor.GetConverter(typeof(PaperSourceKind)).
ConvertToString
(Kind)
commonui\System\Drawing\Printing\PrinterResolution.cs (1)
111
return "[PrinterResolution " + TypeDescriptor.GetConverter(typeof(PrinterResolutionKind)).
ConvertToString
((int) Kind)
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1389
+ " Duplex=" + TypeDescriptor.GetConverter(typeof(Duplex)).
ConvertToString
(unchecked((int) Duplex))
System.Web (32)
ErrorFormatter.cs (1)
1696
sb.Append(HttpUtility.HtmlEncode(itc.
ConvertToString
(_sourceFileLineNumber)));
UI\WebControls\RoleGroup.cs (1)
93
return converter.
ConvertToString
(Roles);
UI\WebControls\TableItemStyle.cs (2)
159
writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.
ConvertToString
(hAlign).ToLower(CultureInfo.InvariantCulture));
165
writer.AddAttribute(HtmlTextWriterAttribute.Valign, hac.
ConvertToString
(vAlign).ToLower(CultureInfo.InvariantCulture));
UI\WebParts\AppearanceEditorPart.cs (10)
185
chromeTypeConverter.
ConvertToString
(PartChromeType.Default)));
187
chromeTypeConverter.
ConvertToString
(PartChromeType.TitleAndBorder)));
189
chromeTypeConverter.
ConvertToString
(PartChromeType.TitleOnly)));
191
chromeTypeConverter.
ConvertToString
(PartChromeType.BorderOnly)));
193
chromeTypeConverter.
ConvertToString
(PartChromeType.None)));
199
directionConverter.
ConvertToString
(ContentDirection.NotSet)));
201
directionConverter.
ConvertToString
(ContentDirection.LeftToRight)));
203
directionConverter.
ConvertToString
(ContentDirection.RightToLeft)));
281
_chromeType.SelectedValue = chromeTypeConverter.
ConvertToString
(webPart.ChromeType);
285
_direction.SelectedValue = directionConverter.
ConvertToString
(webPart.Direction);
UI\WebParts\BehaviorEditorPart.cs (8)
274
exportModeConverter.
ConvertToString
(WebPartExportMode.None)),
276
exportModeConverter.
ConvertToString
(WebPartExportMode.All)),
278
exportModeConverter.
ConvertToString
(WebPartExportMode.NonSensitiveData)),
286
helpModeConverter.
ConvertToString
(WebPartHelpMode.Modal)),
288
helpModeConverter.
ConvertToString
(WebPartHelpMode.Modeless)),
290
helpModeConverter.
ConvertToString
(WebPartHelpMode.Navigate)),
430
_exportMode.SelectedValue = exportModeConverter.
ConvertToString
(webPart.ExportMode);
433
_helpMode.SelectedValue = helpModeConverter.
ConvertToString
(webPart.HelpMode);
UI\WebParts\LayoutEditorPart.cs (3)
152
chromeStateConverter.
ConvertToString
(PartChromeState.Normal)));
154
chromeStateConverter.
ConvertToString
(PartChromeState.Minimized)));
238
_chromeState.SelectedValue = chromeStateConverter.
ConvertToString
(webPart.ChromeState);
UI\WebParts\PropertyGridEditorPart.cs (3)
201
string text = pd.Converter.
ConvertToString
(o);
344
dropDownList.SelectedValue = pd.Converter.
ConvertToString
(pd.GetValue(instance));
348
textBox.Text = pd.Converter.
ConvertToString
(pd.GetValue(instance));
UI\WebParts\ToolZone.cs (1)
323
writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.
ConvertToString
(hAlign));
UI\WebParts\WebPartChrome.cs (2)
337
writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.
ConvertToString
(hAlign).ToLower(CultureInfo.InvariantCulture));
342
writer.AddAttribute(HtmlTextWriterAttribute.Valign, vac.
ConvertToString
(vAlign).ToLower(CultureInfo.InvariantCulture));
UI\WebParts\WebPartZoneBase.cs (1)
1466
writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.
ConvertToString
(hAlign));
System.Web.DataVisualization (1)
Common\Converters\AxesArrayConverter.cs (1)
86
return (new CollectionConverter()).
ConvertToString
(new ArrayList());
System.Windows.Forms (14)
winforms\Managed\System\WinForms\Cursor.cs (1)
710
s = TypeDescriptor.GetConverter(typeof(Cursor)).
ConvertToString
(this);
winforms\Managed\System\WinForms\DataGrid.cs (3)
3996
Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: OnKeyPress " + TypeDescriptor.GetConverter(typeof(Keys)).
ConvertToString
(kpe.KeyChar));
7473
Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: ProcessDialogKey " + TypeDescriptor.GetConverter(typeof(Keys)).
ConvertToString
(keyData));
7658
Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: ProcessGridKey "+ TypeDescriptor.GetConverter(typeof(Keys)).
ConvertToString
(ke.KeyCode));
winforms\Managed\System\WinForms\DataGridRow.cs (1)
703
return grid.myGridTable.GridColumnStyles[column].PropertyDescriptor.Converter.
ConvertToString
(grid[row, column]);
winforms\Managed\System\WinForms\DataGridState.cs (1)
207
string cellValue = col.PropertyDescriptor.Converter.
ConvertToString
(col.PropertyDescriptor.GetValue(source.Current));
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
439
edit.Text = typeConverter.
ConvertToString
(value);
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4974
return converter.
ConvertToString
(formattedValue);
winforms\Managed\System\WinForms\KeysConverter.cs (2)
142
return String.Compare(
ConvertToString
(a),
ConvertToString
(b), false, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\MenuItem.cs (1)
951
info.dwTypeData = data.caption + "\t" + TypeDescriptor.GetConverter(typeof(Keys)).
ConvertToString
((Keys)(int)data.shortcut);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
878
handler = TypeConverter.
ConvertToString
(value);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1987
itemTextValue = gridEntry.TypeConverter.
ConvertToString
(curValue);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1218
return TypeDescriptor.GetConverter(typeof(Keys)).
ConvertToString
(shortcutKeys);
System.Windows.Forms.DataVisualization (1)
Common\Converters\AxesArrayConverter.cs (1)
86
return (new CollectionConverter()).
ConvertToString
(new ArrayList());