Posted 10 years ago by Scott Currie
Version: 14.1.0601
Avatar

I would like to offer a completion session filter that will toggle on/off methods/fields/properties/events/etc. that are part of our internal framework that we prefer are not used by our customers.  It looks like you already have the IsAdvanced property on the ITypeMemberDefinition interface that I can use for this purpose.  The documentation says that IsAdvanced is "true if the current type member is decorated such that it should only be visible to advanced users within an editor; otherwise, false."  How do I decorate my type members?  Is there a custom attribute I should use?  I couldn't find this information in the conceptual docs or by poking around in the API reference.

Comments (1)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Scott,

You can decorate types and members with a standard EditorBrowsable attribute.  If you specify Advanced to that attribute, it will flag IsAdvanced in our API.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.