N
N
Nikita2016-07-21 14:28:31
C++ / C#
Nikita, 2016-07-21 14:28:31

Why is the UI property not visible?

I created my own UserControl and made a property for it.
b8c1b2e1cb0e41bb895bd9ddf07ee547.png
When I add my control to the Wizard, this property is not visible for some reason.
01719d774c024b839a616bc0505a23c7.png
However, when I go into the Wizardad designer code, I can manually register and set this property, but then the wizard constructor gives an error that such a property has my control is gone!
91104c24d7cd43ca9077f10e9fe0af85.png
Tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita, 2017-02-08
@Smiz001

I found the answer, it was necessary to make get public.

R
Rou1997, 2016-07-21
@Rou1997

And it will not be visible, your property has a complex type, you need to add an Editor, the code has nothing to do with it, in general all properties are visible in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question