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: 11.0.0.7658
Syntax
C#
public sealed class CustomProperty : BindableItem, 
	ICloneable

The CustomProperty type exposes the following members.

Properties
  NameDescription
Public propertyAllowedAccess

Field Value

Type: 
Returns the allowed access for external IO on this item.
(Overrides BindableItemAllowedAccess.)
Public propertyAutoGenerated

Field Value

Type: 
This custom property is generated and shouldn't be deleted by the user.
Public propertyBindingName

Field Value

Type: 
The name of the bindable item. Usually the name of the custom property, but for other specialized items (such as Conveyor.IsMotorOn) returns the binding name ("IsMotorOn").
(Overrides BindableItemBindingName.)
Public propertyCategory

Field Value

Type: 
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

Field Value

Type: 
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 propertyHidden

Field Value

Type: 
Whether the custom property is hidden in the user interface or not.
Public propertyInitialExpression

Field Value

Type: 
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
Simple and crude way of declaring a bindable item as part of the binding interface for a component.
(Inherited from BindableItem.)
Public propertyIsBound
Returns true if this item is bound to a server item in the TagBrowser.
(Inherited from BindableItem.)
Public propertyName

Field Value

Type: 
Name of the custom property
Public propertyPersistent

Field Value

Type: 
Should the custom property be written to disk.
Public propertyPropertyName
Public propertyReadOnly

Field Value

Type: 
Whether the custom property can be edited in the user interface or not.
Public propertyType

Field Value

Type: 
The type of the custom property.
(Overrides BindableItemType.)
Public propertyUpdatedScript

Field Value

Type: 
Occurs whenever the custom property value changes.
Public propertyValue
Gets or sets the value of the item.
(Inherited from BindableItem.)
Public propertyVisual
Gets or sets the visual that this bindable item is attached to.
(Inherited from BindableItem.)
Top
Methods
  NameDescription
Public methodClone
Create a clone of the custom property.
(Overrides BindableItemClone.)
Public methodToString
Name of the custom property.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventExpressionChanged
Occurs when the Expression changes. For example if the associated visual's name changes.
(Inherited from BindableItem.)
Public eventValueChangedListeners
Occurs when the value of the item changes.
(Inherited from BindableItem.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultCategory

Field Value

Type: 
The default category name to be used when creating new custom properties.
Public fieldOwner
Top
See Also