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