Click here to Skip to main content
15,910,118 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionEventing and Memory leaks Pin
RobCroll2-Feb-11 5:04
RobCroll2-Feb-11 5:04 
AnswerRe: Eventing and Memory leaks Pin
Luc Pattyn2-Feb-11 5:17
sitebuilderLuc Pattyn2-Feb-11 5:17 
AnswerRe: Eventing and Memory leaks Pin
Eddy Vluggen2-Feb-11 7:29
professionalEddy Vluggen2-Feb-11 7:29 
GeneralRe: Eventing and Memory leaks Pin
RobCroll2-Feb-11 14:02
RobCroll2-Feb-11 14:02 
GeneralRe: Eventing and Memory leaks Pin
Nitin Singh India26-Mar-11 10:11
Nitin Singh India26-Mar-11 10:11 
QuestionListview groups Pin
Herboren1-Feb-11 6:23
Herboren1-Feb-11 6:23 
AnswerRe: Listview groups Pin
Eddy Vluggen1-Feb-11 7:08
professionalEddy Vluggen1-Feb-11 7:08 
Question[Solved] DropDown doesn't drop down [modified] Pin
lukeer1-Feb-11 4:51
lukeer1-Feb-11 4:51 
Hi Experts,

in an application I have business objects with properties, some of which are enumerations. To edit those properties, I inserted a PropertyGrid.

Now I have to localize the UI and therefore the enumeration name and its values, too.

The enumeration name already works well implementing ICustomTypeDescriptor.

For the enumeration values, the tool of choice seems to be deriving a class from TypeConverter. I did so and overrode
- CanConvertFrom
- ConvertFrom (just calling base class, at the moment)
- CanConvertTo
- ConvertTo

The initial value now is translated as requested. But the DropDown list doesn't drop down any longer. There is no small arrow pointing down when clicking on that initial value, as I was used to.

Do I have to override yet another method (something like GetMeThosePossibleValues(), maybe)?
Or does anyone have another idea?


Ciao,


luker



-- Modified Friday, February 4, 2011 6:11 AM
AnswerRe: DropDown doesn't drop down Pin
Eddy Vluggen1-Feb-11 7:10
professionalEddy Vluggen1-Feb-11 7:10 
GeneralRe: DropDown doesn't drop down Pin
lukeer1-Feb-11 20:47
lukeer1-Feb-11 20:47 
GeneralRe: DropDown doesn't drop down Pin
Eddy Vluggen2-Feb-11 7:03
professionalEddy Vluggen2-Feb-11 7:03 
GeneralRe: DropDown doesn't drop down Pin
lukeer2-Feb-11 20:04
lukeer2-Feb-11 20:04 
GeneralRe: DropDown doesn't drop down Pin
Eddy Vluggen3-Feb-11 1:00
professionalEddy Vluggen3-Feb-11 1:00 
GeneralRe: DropDown doesn't drop down Pin
lukeer3-Feb-11 1:39
lukeer3-Feb-11 1:39 
GeneralRe: DropDown doesn't drop down Pin
Eddy Vluggen3-Feb-11 9:26
professionalEddy Vluggen3-Feb-11 9:26 
GeneralRe: DropDown doesn't drop down Pin
lukeer4-Feb-11 0:11
lukeer4-Feb-11 0:11 
QuestionHelp me in VB.NET Recording using DirectSound Pin
Mahdi Mansouri29-Jan-11 19:28
Mahdi Mansouri29-Jan-11 19:28 
AnswerRe: Help me in VB.NET Recording using DirectSound Pin
Henry Minute30-Jan-11 2:45
Henry Minute30-Jan-11 2:45 
QuestionStored procedures using Entity Framework Pin
jonatan_55628-Jan-11 7:45
jonatan_55628-Jan-11 7:45 
AnswerRe: Stored procedures using Entity Framework Pin
Henry Minute28-Jan-11 12:31
Henry Minute28-Jan-11 12:31 
AnswerRe: Stored procedures using Entity Framework Pin
Not Active28-Jan-11 15:44
mentorNot Active28-Jan-11 15:44 
QuestionInstaller: CustomActionData Pin
Archdeacon27-Jan-11 17:03
Archdeacon27-Jan-11 17:03 
QuestionBasic tier object design questions Pin
Jon_Boy27-Jan-11 1:53
Jon_Boy27-Jan-11 1:53 
AnswerRe: Basic tier object design questions Pin
dan!sh 27-Jan-11 6:30
professional dan!sh 27-Jan-11 6:30 
AnswerRe: Basic tier object design questions Pin
Ian Shlasko27-Jan-11 7:29
Ian Shlasko27-Jan-11 7:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.