Click or drag to resize

VisualComponentComponentMembershipModel Class

The ComponentMembershipModel defines a component using an aspect on its constituent visuals. Every visual in the component has an aspect pointing to the component roots that this visual belongs to. The implementation expects that a component is one sub-portion of the visual hierarchy, such that the component root is ancestor of all component visuals.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsVisualComponentVisualComponentModel
    Demo3D.VisualsVisualComponentComponentMembershipModel

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public class ComponentMembershipModel : VisualComponentVisualComponentModel

The VisualComponentComponentMembershipModel type exposes the following members.

Constructors
  NameDescription
Public methodVisualComponentComponentMembershipModel
Initializes a new instance of the VisualComponentComponentMembershipModel class
Top
Methods
  NameDescription
Public methodAdd
Add visuals to a component.
(Overrides VisualComponentVisualComponentModelAdd(Visual, VisualComponentComponentType, ListVisual).)
Public methodFind
Find all the component roots for this visual.
(Overrides VisualComponentVisualComponentModelFind(Visual, IListVisualComponentComponentType).)
Public methodRemove
Remove visuals from a component.
(Overrides VisualComponentVisualComponentModelRemove(Visual, VisualComponentComponentType, ListVisual).)
Top
See Also