Click or drag to resize

CustomProperty Class

Represents a property for a Visual that has been added by the user. Custom properties can be listened to for changes and also bound to tags for emulation purposes.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    System.ComponentModelPropertyChangedEventArgs
      Demo3D.VisualsBindableItem
        Demo3D.UtilitiesCustomProperty

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public sealed class CustomProperty : BindableItem, 
	ICloneable

The CustomProperty type exposes the following members.

Properties
  NameDescription
Public propertyAllowedAccess
Returns the allowed access for external IO on this item.
(Inherited from BindableItem.)
Public propertyAutoGenerated
This custom property is generated and shouldn't be deleted by the user.
Public propertyBindingInterface
Gets/sets if the bindable item has a declared binding interface. Normally, aspects manage the BAPI themselves.
(Inherited from BindableItem.)
Public propertyCategory
The category for the custom property (Defaults to CustomProperty.DefaultCategory).
Public propertyDefaultAccess
Returns the default access for external IO on this item.
(Inherited from BindableItem.)
Public propertyDescription
The description of the custom property.
Public propertyExpression
Returns the full expression of the item. Includes the full name of the associated visual and the binding name.
(Inherited from BindableItem.)
Public propertyHasBindingInterface
Returns true if the bindable item has a declared binding interface.
(Inherited from BindableItem.)
Public propertyHidden
Whether the custom property is hidden in the user interface or not.
Public propertyInitialExpression
Gets or sets an expression for the initial value of this custom property.
Public propertyIOControl
Gets or sets a property to control how individual updates to this item are presented externally.
(Inherited from BindableItem.)
Public propertyIsBindingInterface
Declares a bindable item as part of the binding interface for a component. Yes: Bindable item is definitely part of the API. Maybe: Bindable item may be part of the API. No: Bindable item is definitely not part of the API.
(Inherited from BindableItem.)
Public propertyIsBound
Returns true if this item is bound to a server item in the TagBrowser.
(Inherited from BindableItem.)
Public propertyName
Name of the custom property
Public propertyPersistent
Should the custom property be written to disk.
Public propertyReadOnly
Whether the custom property can be edited in the user interface or not.
Public propertyType
The declared .Net type of the item.
(Inherited from BindableItem.)
Public propertyUpdatedScript
Occurs whenever the custom property value changes.
Public propertyValue
Gets or sets the value of the item.
(Inherited from BindableItem.)
Top
Methods
  NameDescription
Public methodClone
Create a clone of the custom property.
(Overrides BindableItemClone.)
Public methodEquals (Inherited from BindableItem.)
Public methodForce
Force the value.
(Inherited from BindableItem.)
Public methodSetValueT
Sets the value of the item.
(Inherited from BindableItem.)
Public methodToString
Name of the custom property.
(Overrides BindableItemToString.)
Public methodUnForce
Unforce the value.
(Inherited from BindableItem.)
Public methodUnforcedValueAsT
Cast the UnforcedValue to a specific type if necessary.
(Inherited from BindableItem.)
Public methodUnforcedValueIsT
Test whether the UnforcedValue is of the given type.
(Inherited from BindableItem.)
Public methodValueAsT
Cast the value to a specific type if necessary.
(Inherited from BindableItem.)
Public methodValueIsT
Test whether the Value is of the given type.
(Inherited from BindableItem.)
Top
Events
  NameDescription
Public eventExpressionChanged
Occurs when the Expression changes. For example if the associated visual's name changes.
(Inherited from BindableItem.)
Public eventUnforcedValueChanged
Occurs when the unforced value of the item changes.
(Inherited from BindableItem.)
Public eventValueChanged
Occurs when the value of the item changes.
(Inherited from BindableItem.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultCategory
The default category name to be used when creating new custom properties.
Public fieldOwner
Top
Extension Methods
  NameDescription
Public Extension MethodIsBound
True if the specified serverItem and bindableItem are bound by some expression.
(Defined by CTScript.)
Public Extension MethodRemoveBindings
Remove existing bindings and server items for bindable item.
(Defined by CTScript.)
Top
See Also