Format String Dialog

  • Thread starter Thread starter Polonio
  • Start date Start date
P

Polonio

Visual Stadio IDE uses a dialog box to define format strings...

http://msdn2.microsoft.com/en-us/library/ms171572.aspx

Can I reuse that dialog box on my application? How?

I'have seen the dialog appers (at runtime) if I use a PropertyGrid control
point to a DataGridViewCellStyle... However, the "Format" property is just a
string.... I need the same behavior for a propery of a class I've done...


I've been looking around for hours... Any help apprecieted...
 
I've found the editor that I need is:

EditorTypeName: "System.Windows.Forms.Design.FormatStringEditor,
System.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"

However, I don't know what references I have to set.... I get an error
message telling me that 'The type is no defined'

Dim t As Type = GetType(Windows.Forms.Design.FormatStringEditor)


Please... may you check if that code works to you?
 
Humm.

That what I did not want to do...

Does anyone knows about a public control with that funcionality?
 
Back
Top