xpo-devexpress-dot-xpo-dot-metadata-dot-xptypeinfo.md
Gets whether a property or class is visible at design time.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public bool IsVisibleInDesignTime { get; }
Public ReadOnly Property IsVisibleInDesignTime As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the property or class is visible at design time; otherwise, false.
|
The IsVisibleInDesignTime property returns true for the property or class which is marked with the MemberDesignTimeVisibilityAttribute attribute.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsVisibleInDesignTime property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
xpo-json-serialization/CS/XpoSerialization/JsonConverters.cs#L37
&&
member.IsVisibleInDesignTime
&&
XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/CS/Form1.cs#L97
foreach(XPClassInfo info in XpoDefault.Session.Dictionary.Classes) {
if(info.IsPersistent && info.IsVisibleInDesignTime)
comboBox1.Items.Add(info);
XPO_how-to-get-a-list-of-a-persistent-objects-properties-e725/VB/Form1.vb#L97
For Each info As XPClassInfo In XpoDefault.Session.Dictionary.Classes
If info.IsPersistent AndAlso info.IsVisibleInDesignTime Then comboBox1.Items.Add(info)
Next
See Also