Property which is not editable and can be changed with a UITypeEditor

  • Thread starter Thread starter samialtas
  • Start date Start date
S

samialtas

Guest
Hey there.

I got code like this. What I want is to have property whose value is editable through it UITypeEditor (CurrencyEditor) only and isn't editable (Not read-only) in the propertygrid.


<CategoryAttribute("Information"), DescriptionAttribute("")>
<DefaultValue(GetType(Decimal), "0")>
<DisplayName("Contract Price")>
<Editor(GetType(CurrencyEditor), GetType(UITypeEditor))>
<TypeConverter(GetType(CurrencyConverter))>
Public Property ContractPrice() As Decimal


Thanks.

Continue reading...
 
Back
Top