Click or drag to resize

CustomPropertyValueT Class

Class to make it easier to have links to custom properties on the NativeObject of a Visual. These are created as advanced if they don't already exist.
Inheritance Hierarchy

Namespace: Demo3D.Native
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class CustomPropertyValue<T> : BaseCustomPropertyValue

Type Parameters

T
The type of the custom property value.

The CustomPropertyValueT type exposes the following members.

Properties
 NameDescription
Public propertyCategory Category of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyDescription Description of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyExportProperty Mark a bindable item for FMU / multi-model export.
(Inherited from BaseCustomPropertyValue)
Public propertyHidden Whether the custom property is hidden (from the user interface).
(Inherited from BaseCustomPropertyValue)
Public propertyInitialExpression The expression to initialize the custom property to OnInitialize.
(Inherited from BaseCustomPropertyValue)
Public propertyName Name of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyPersistent Whether the custom property is persistent (gets written to disk) or is temporary (not written to disk).
(Inherited from BaseCustomPropertyValue)
Public propertyReadOnly Whether the custom property is read only.
(Inherited from BaseCustomPropertyValue)
Public propertyType Type of the custom property value.
(Inherited from BaseCustomPropertyValue)
Public propertyUpdatedScript The script reference to listen to for updates to the custom property value.
(Inherited from BaseCustomPropertyValue)
Public propertyValue Get or set the custom property value.
Top
Methods
 NameDescription
Public methodToString The value of the custom property converted to a string.
(Inherited from BaseCustomPropertyValue)
Top
Events
 NameDescription
Public eventNativeBlockingListeners Add non-blocking callback delegates to this event (IEnumerable return type).
Public eventNativeListeners Add blocking callback delegates to this event.
Public eventNativeTaskListeners Add async callback delegates to this event (async Task return type).
Public eventValueChanged Event called when the custom property value changes.
Top
Operators
 NameDescription
Public operatorStatic member(CustomPropertyValueT to T) Implicitly convert the custom property value container to the underlying type T.
Top
See Also