AspectComponentBase Class |
Namespace: Demo3D.Visuals
public abstract class AspectComponentBase : SerializableObject, IAspectComponent, INotifyPropertyChanged
The AspectComponentBase type exposes the following members.
| Name | Description | |
|---|---|---|
| AspectComponentBase | Initializes a new instance of the AspectComponentBase class |
| Name | Description | |
|---|---|---|
| AspectManagedBy |
The Aspect that this is managed by.
| |
| Id | (Inherited from SerializableObject.) | |
| IsCollapsed |
Collapse or expand the aspect in the Aspect Viewer.
| |
| IsEnabled |
The value for whether the aspect is enabled.
| |
| IsInitialized |
Gets the value of whether or not this aspect has been initialized. An aspect is initialized during the scenes initialization when starting a model.
| |
| IsReadOnly |
When true, disable editing in the Aspect Viewer
| |
| Name | A unique name for the aspect |
| Name | Description | |
|---|---|---|
| CanAdd |
Determine whether the aspect can be added to the AspectContainer.
| |
| CleanupBindingAPI |
Remove all bindable items that have been added to the binding api via UpdateBindingAPI.
| |
| CopyAspect |
Copy an aspect.
| |
| CopyAspects(IEnumerableAspectComponentBase) |
Copy a collection of aspects.
| |
| CopyAspects(Visual) |
Copy all aspects on a visual.
| |
| Destroy |
Remove the desired aspect from the aspect's container.
| |
| FindAspectT |
Find an aspect of the desired type in this aspect's container.
| |
| FindCreateAspectT |
Find or, if one isn't found, create an aspect of the desired type in this aspect's container.
| |
| FindCreateManagedAspectT |
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.
| |
| OnAdded |
Called when all other aspects have been added to an aspect container, this should never be invoked manually
| |
| OnAssigned |
Called when assigned to an aspect container, this should never be invoked manually.
No other aspects should be accessed within this method.
| |
| OnDisabled |
Called when disabled, this should never be invoked manually
| |
| OnEnabled |
Called when enabled, this should never be invoked manually
| |
| OnInitialize |
Called when the aspect container is Initialized, this should never be invoked manually
| |
| OnRemoved |
Called when removed from an aspect container, this should never be invoked manually
| |
| OnReset |
Called when the aspect container is Reset, this should never be invoked manually
| |
| RaisePropertiesChanged |
Raise an PropertyChanged event for each value.
(Inherited from BindableBase.) | |
| RaisePropertyChanged(PropertyChangedEventArgs) |
Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase.) | |
| RaisePropertyChanged(String) |
Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase.) | |
| RemoveAspect(Object) |
Remove the desired aspect from this aspect's container.
| |
| RemoveAspectT |
Remove the aspect of the desired type from this aspect's container.
| |
| RemoveManagedAspects |
Remove all aspects that are being managed by this aspect..
| |
| SerializableDependency(SerializableObject) |
Whether the specified object depends on the serializable object.
(Overrides SerializableObjectSerializableDependency(SerializableObject).) | |
| SerializableDependency(Visual) |
Whether the specified visual depends on the serializable object.
(Overrides SerializableObjectSerializableDependency(Visual).) | |
| SetINotifyPropertyChangedPropertyT |
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.) | |
| SetPropertyT(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.) | |
| SetPropertyT(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.) | |
| ToString | (Overrides SimpleCustomTypeDescriptor.ToString.) | |
| UpdateBindingAPI |
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. |
| Name | Description | |
|---|---|---|
| IsEnabledChanged |
Occurs when the value of IsEnabled changes.
|