Click or drag to resize

AspectComponentBase Methods

The AspectComponentBase type exposes the following members.

Methods
 NameDescription
Public methodBindingName Retrieves or generates a binding name for an aspect property.
Protected methodCanAdd Determine whether the aspect can be added to the AspectContainer.
Protected methodCleanupBindingAPI Remove all bindable items that have been added to the binding api via UpdateBindingAPI.
Public methodStatic memberCopyAspect Copy an aspect.
Public methodStatic memberCopyAspects(IEnumerableAspectComponentBase) Copy a collection of aspects.
Public methodStatic memberCopyAspects(Visual) Copy all aspects on a visual.
Public methodCreateManagedAspectT Create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
Public methodStatic memberDestroy Remove the desired aspect from the aspect's container.
Public methodFindAspectT Find an aspect of the desired type in this aspect's container.
Public methodFindCreateAspectT Find or, if one isn't found, create an aspect of the desired type in this aspect's container.
Public methodFindCreateManagedAspectT Find or, if one isn't found, create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
Protected methodOnAdded Called when all other aspects have been added to an aspect container, this should never be invoked manually
Protected methodOnAssigned Called when assigned to an aspect container, this should never be invoked manually. No other aspects should be accessed within this method.
Protected methodOnDisabled Called when disabled, this should never be invoked manually
Protected methodOnEnabled Called when enabled, this should never be invoked manually
Protected methodOnInitialize Called when the aspect container is Initialized, this should never be invoked manually
Protected methodOnRemoved Called when removed from an aspect container, this should never be invoked manually
Protected methodOnReset Called when the aspect container is Reset, this should never be invoked manually
Public methodRaisePropertiesChanged Raise an PropertyChanged event for each value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(PropertyChangedEventArgs) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(String) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodReleaseBindingName Releases the generated binding name for an aspect property.
Public methodRemoveAspect(Object) Remove the desired aspect from this aspect's container.
Public methodRemoveAspectT Remove the aspect of the desired type from this aspect's container.
Public methodRemoveManagedAspects Remove all aspects that are being managed by this aspect..
Public methodSerializableDependency(SerializableObject) Whether the specified object depends on the serializable object.
(Overrides SerializableObjectSerializableDependency(SerializableObject))
Obsolete
Public methodSerializableDependency(Visual) Whether the specified visual depends on the serializable object.
(Overrides SerializableObjectSerializableDependency(Visual))
Obsolete
Protected methodSetINotifyPropertyChangedPropertyT Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event. Property changes on the new value are also listened to and, if one occurs, the propertyChangedCallback handler will be invoked.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, PropertyChangedEventArgs) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, String) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Public methodToString
(Overrides SimpleCustomTypeDescriptor.ToString)
Protected methodUpdateBindingAPI If this aspect implements IBindableItemOwner, this method performs the following for each BindableItem:
If the aspect is disabled OR the item is not part of the binding interface (see IsBindingInterface), then remove it from the binding API.
Otherwise, if the item is part of the binding interface AND the item does not already have a declared binding (see HasBindingInterface), add the item to the binding API.
Any bindable items that are added to the binding API will appear in the IO browser grid and can be further utilized for controls testing.
Top
See Also