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...
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...