سؤال

I am so confused, I want to use the displayMember propery of the CheckedListbox in C# but it doesn't sems to have one?

Does anyone know if I have to add or impelement any thing before being able to use it?

Many thanks in advance. Cheers

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

المحلول

DisplayMember property is decorated with EditorBrowsableAttribute:

EditorBrowsable(EditorBrowsableState.Never)

which makes it invisible for the IntelliSense. But it does not prevent you from using it - just type this property in the editor, and your code should compile fine.

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