Click or drag to resize

BindableItem Class

Base class for any bindable item. Most common are the CustomProperties, but also specialised bindable properties such as Conveyor.IsMotorOn or PhotoEye.IsBlocked, etc.
Inheritance Hierarchy

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class BindableItem : PropertyChangedEventArgs, 
	ICloneable, IOwnedByVisual, IBrowseItem, IAddress, IEquatable<IAddress>, 
	IConnectionPoint

The BindableItem type exposes the following members.

Properties
 NameDescription
Public propertyAllowedAccess Returns the allowed access for external IO on this item.
Public propertyBindingInterface Gets/sets if the bindable item has a declared binding interface. Normally, aspects manage the BAPI themselves.
Public propertyDefaultAccess Returns the default access for external IO on this item.
Public propertyExportProperty Mark a bindable item for FMU / multi-model export.
Public propertyExpression Returns the full expression of the item. Includes the full name of the associated visual and the binding name.
Public propertyHasBindingInterface Returns true if the bindable item has a declared binding interface.
Public propertyIOControl Gets or sets a property to control how individual updates to this item are presented externally.
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.
Public propertyIsBound Returns true if this item is bound to a server item in the TagBrowser.
Public propertyType The declared .Net type of the item.
Public propertyValue Gets or sets the value of the item.
Top
Methods
 NameDescription
Public methodClone Creates a new BindableItem that is a copy of this item.
Public methodEquals 
Public methodForce Force the value.
Public methodSetValueT(T) Sets the value of the item.
Public methodSetValueT(T, ValueSource) Sets the value of the item.
Public methodToString
(Overrides ObjectToString)
Public methodUnForce Unforce the value.
Public methodUnforcedValueAsT Cast the UnforcedValue to a specific type if necessary.
Public methodUnforcedValueIsT Test whether the UnforcedValue is of the given type.
Public methodValueAsT Cast the value to a specific type if necessary.
Public methodValueIsT Test whether the Value is of the given type.
Top
Events
 NameDescription
Public eventExpressionChanged Occurs when the Expression changes. For example if the associated visual's name changes.
Public eventUnforcedValueChanged Occurs when the unforced value of the item changes.
Public eventValueChanged Occurs when the value of the item changes.
Public eventValueSourceChanged Occurs when the value of the item changes, also providing information about the source of the new value, and whether the value was manually notified.
Top
Extension Methods
 NameDescription
Public Extension MethodAssociatedServerItem Gets one ServerItem corresponding to a browseItem.
(Defined by BrowseItemExtensions)
Public Extension MethodFindChild Finds a child item with the given name.
(Defined by BrowseItemExtensions)
Public Extension MethodFullName Returns the full (usually dot separated) name.
(Defined by BrowseItemExtensions)
Public Extension MethodIOSymbol Returns the CIP IOSymbol for a symbol table browseItem.
(Defined by IOSymbolExtensions)
Public Extension MethodIsAllLoaded Gets a value indicating whether all items from the browseItem have been loaded.
(Defined by BrowseItemExtensions)
Public Extension MethodIsAnyLoadable Gets a value indicating whether any item, or sub-items, can be loaded.
(Defined by BrowseItemExtensions)
Public Extension MethodIsAnyLoaded Gets a value indicating whether any items from the branch have been loaded.
(Defined by BrowseItemExtensions)
Public Extension MethodIsBound True if the specified serverItem and bindableItem are bound by some expression.
(Defined by CTScript)
Public Extension MethodPLCSymbol Returns the CIP PLCSymbol for a symbol table browseItem.
(Defined by PLCSymbolExtensions)
Public Extension MethodRemoveBindings Remove existing bindings and server items for bindable item.
(Defined by CTScript)
Public Extension MethodSetValueT Sets the value of the item.
(Defined by ConnectionPointExtensions)
Public Extension MethodSiblingServerItems Gets all sibling server items belonging to this browseItem.
(Defined by BrowseItemExtensions)
Public Extension MethodTreatAsItem Gets a value indicating whether this branch should be treated as an item.
(Defined by BrowseItemExtensions)
Top
See Also