API Referenceglobal
ConditionalVisibilityAttributeclass
Hide a property if a condition matches.
Constructors1
Showing 1 constructors
protected ConditionalVisibilityAttribute()
No results match this filter.
Methods1
Showing 1 methods
public virtual bool TestCondition(object targetObject, Sandbox.TypeDescription td)
The test condition.
| Parameter | Type | Description |
|---|---|---|
| targetObject | object | The class instance of the property this attribute is attached to. |
| td | TypeDescription | Description of the `targetObject`'s type. |
Returns:
boolReturn true if the property should be visible.No results match this filter.