سؤال

I have the user control with the following property

<EditOptions AllowEditing="true" AllowAdding="true" AllowDeleting="true" />

How to give the above property in design time as "EditOptions".

Thanks in Advance.

هل كانت مفيدة؟

المحلول

Finally i have achieved by declaring the attribute "[TypeConverter(typeof(ExpandableObjectConverter))]" for the EditOption class. Now i am able to give the above property in design time for custom control.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top