Click here to Skip to main content
15,905,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: w95 application Pin
Heath Stewart15-Mar-04 5:45
protectorHeath Stewart15-Mar-04 5:45 
Generalmultiple workstations to one database Pin
ASGill15-Mar-04 4:28
ASGill15-Mar-04 4:28 
GeneralRe: multiple workstations to one database Pin
Heath Stewart15-Mar-04 5:18
protectorHeath Stewart15-Mar-04 5:18 
Questionfolder path syntax? Pin
Anonymous15-Mar-04 3:32
Anonymous15-Mar-04 3:32 
AnswerRe: folder path syntax? Pin
John Fisher15-Mar-04 4:15
John Fisher15-Mar-04 4:15 
AnswerRe: folder path syntax? Pin
Dave Kreskowiak15-Mar-04 7:05
mveDave Kreskowiak15-Mar-04 7:05 
Questionhow can i run client software from web? Pin
agakyurek15-Mar-04 3:15
agakyurek15-Mar-04 3:15 
AnswerRe: how can i run client software from web? Pin
Heath Stewart15-Mar-04 5:14
protectorHeath Stewart15-Mar-04 5:14 
GeneralPrinting a blank page Pin
Shaun Becker15-Mar-04 2:47
Shaun Becker15-Mar-04 2:47 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 4:13
John Fisher15-Mar-04 4:13 
GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 4:36
Shaun Becker15-Mar-04 4:36 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 6:09
John Fisher15-Mar-04 6:09 
GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 8:21
Shaun Becker15-Mar-04 8:21 
GeneralRe: Printing a blank page Pin
Shaun Becker15-Mar-04 9:25
Shaun Becker15-Mar-04 9:25 
GeneralRe: Printing a blank page Pin
John Fisher15-Mar-04 16:55
John Fisher15-Mar-04 16:55 
GeneralCheckbox in Subitem of ListView Pin
katetsai15-Mar-04 2:44
katetsai15-Mar-04 2:44 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 5:11
protectorHeath Stewart15-Mar-04 5:11 
GeneralRe: Checkbox in Subitem of ListView Pin
katetsai15-Mar-04 5:58
katetsai15-Mar-04 5:58 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 6:14
protectorHeath Stewart15-Mar-04 6:14 
GeneralRe: Checkbox in Subitem of ListView Pin
John Fisher15-Mar-04 6:15
John Fisher15-Mar-04 6:15 
GeneralRe: Checkbox in Subitem of ListView Pin
Heath Stewart15-Mar-04 6:31
protectorHeath Stewart15-Mar-04 6:31 
GeneralLocalizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 1:49
i_blazhko15-Mar-04 1:49 
Hi, All!

I am using PropertyGrid to edit properties of type Font, Size (e.g. standard types).
These properties are expandable in propertygrid and I need to make names of sub-properties (Font.Size, Font.Name, Size.Width etc) locale-dependent.

There are examples how to localize your own-made classes, by overriding GetProperties method (go to http://www.codeproject.com/cs/miscctrl/globalizedpropertygrid.asp or search for "GlobalizedObject", "Globalized Property Grid" to see details).
I successfully used this for my own classes, but in the case of standard classes this does not suit me well:
1) I cannot inherit from Font to just override GetProperties, Font is sealed class.
2) When I make my own class that will wrap Font instance, I will lose advanced editing in PropertyGrid, e.g. combobox with icons for font family name.
3) Also and I am confused with emulating original Font editing: Font has read-only properties Name, Size that can nevertheless be edited in PropertyGrid.

Could someone suggest me way to resolve this problem, so I will have localized sub-properties for properties of standard types Font, Size in PropertyGrid and editors in PropertyGrid for these properties will remain with all their bells and whistles?

Thanks in advance.
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart15-Mar-04 5:10
protectorHeath Stewart15-Mar-04 5:10 
GeneralRe: Localizing standard types in PropertyGrid Pin
i_blazhko15-Mar-04 22:42
i_blazhko15-Mar-04 22:42 
GeneralRe: Localizing standard types in PropertyGrid Pin
Heath Stewart16-Mar-04 2:48
protectorHeath Stewart16-Mar-04 2:48 

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.