typeconverter
Can I override ToString() for classes in a public API?
I\'m writing a tool that interfaces with an API for another piece of software. Part of my tool will need to generate reports about the various objects found through the API, and I want these reports t[详细]
2023-01-25 09:49 分类:问答WPF PropertyGrid Problem
I am trying to create a WPF based PropertyGrid. Recently i tried wpg.codeplex.com project, but i had some problems with this control.[详细]
2023-01-23 15:37 分类:问答How can I save the values entered at design time for a complex property?
I\'m still learning the ropes when it comes to implementing custom editors for complex properties at design time.[详细]
2023-01-22 01:27 分类:问答MVC 2 & TypeConverters, Get the destination type in ConvertFrom where the context is null
I have a TypeConverter on the base class in my project. [TypeConverter(typeof(CodeTypeConverter))] abstract class CodeBase[详细]
2023-01-21 05:54 分类:问答How to specify a specific type converter for a given property using AutoMapper
How can I override the type converter being used by AutoMapper for a given property? For example, if I have:[详细]
2023-01-20 02:01 分类:问答Getting the converter for the type
In the MSDN I\'ve read this about EnumConverter: You should never create an instance of an EnumConverter. Instead, call the GetConverter method of the TypeDescriptor class. For more information, see[详细]
2023-01-16 03:47 分类:问答Winforms data binding: Can a TypeConverter be used instead of the Format/Parse events?
In a Winforms form, I want to provide visual cues to the user when an input field contains an invalid value. To that end, I want to bind the ForeColor property of a input field\'s label to the (boolea[详细]
2023-01-10 19:49 分类:问答Can you assign a TypeConverter without a TypeConverterAttribute?
Dependency requirements are forc开发者_如何学编程ing me to have a class and its TypeConverter in different[详细]
2023-01-04 09:58 分类:问答TypeConverter for serialization
Is it normal practice to use a TypeConverter for serialization? There is a class that I do not own that has a \"lossy\" TypeConverter.When converting to a string, it formats its floating point data wi[详细]
2023-01-03 17:42 分类:问答Insert custom TypeConverter on a property at runtime, from inside a custom UITypeEditor
I\'ve created a custom UITypeEditor. Can I possibly insert an attribute that also attaches a TypeConverter to my property from inside the UITypeEditor class?[详细]
2022-12-25 12:03 分类:问答