VisualComponent Methods |
The VisualComponent type exposes the following members.
| Name | Description | |
|---|---|---|
| AddToComponent(Visual, String, Visual) |
Add a list of visuals to a component (or create a component).
| |
| AddToComponent(Visual, String, IEnumerableVisual) |
Add a list of visuals to a component (or create a component).
| |
| AddToComponent(Visual, Visual, VisualComponentComponentType, Boolean) |
Mark this visual as a member of the component. Component must be the root of an existing component, or null.
If deep is set, then this visual and all its descendants will be added to the component. If deep is not set
but this visual is already a member of a component, then it and all its child visuals within the current component,
will be moved to the new component.
| |
| AddToComponent(Visual, Visual, String, Boolean) |
Mark this visual as a member of the component. Component must be the root of an existing component, or null.
If deep is set, then this visual and all its descendants will be added to the component. If deep is not set
but this visual is already a member of a component, then it and all its child visuals within the current component,
will be moved to the new component.
| |
| BelongsToComponent |
Returns true if this visual belongs to a specific component.
| |
| CommonComponentTypes |
Returns the component types common between this visual and a list of other visuals.
| |
| Component(Visual, VisualComponentComponentType) |
Returns the component root for this visual, or null if it's not part of a component of the given component type.
| |
| Component(Visual, VisualComponentSearchCriteria) |
Returns the component root for this visual.
| |
| Component(Visual, String) |
Returns the component root for this visual.
| |
| ComponentChildren(Visual, VisualComponentSearchCriteria) |
Returns all children of this component.
| |
| ComponentChildren(Visual, String) |
Returns all children of this component.
| |
| ComponentDescendants(Visual, VisualComponentSearchCriteria) |
Returns all descendants of this component.
| |
| ComponentDescendants(Visual, String) |
Returns all descendants of this component.
| |
| Components |
Returns all the components to which this visual belongs.
| |
| ComponentTypes |
Returns an ordered list of all the component types to which this visual belongs.
| |
| ComponentVisuals(Visual, VisualComponentComponentType) |
Returns all the visuals belonging to this component.
| |
| ComponentVisuals(Visual, VisualComponentSearchCriteria) |
Returns all the visuals belonging to this component.
| |
| ComponentVisuals(Visual, String) |
Returns all the visuals belonging to this component.
| |
| CreateComponent |
Mark this visual as a component.
| |
| FindComponentType(Visual, VisualComponentSearchCriteria) |
Returns a component type for this visual.
| |
| FindComponentType(Visual, String) |
Returns a component type for this visual.
| |
| IsComponentRoot(Visual, VisualComponentComponentType) |
Returns true if this visual is the root of its component.
| |
| IsComponentRoot(Visual, VisualComponentSearchCriteria) |
Returns true if this visual is the root of its component.
| |
| IsComponentRoot(Visual, String) |
Returns true if this visual is the root of its component.
| |
| IsComponentType |
Returns true if this visual is a component member of componentType.
| |
| Register |
Register a specific component model for a component type. The component model decides how a component should be delineated.
The default for components is the ComponentMembershipModel.
| |
| RemoveFromComponent(String, Visual) |
Remove visuals from component.
| |
| RemoveFromComponent(String, IEnumerableVisual) |
Remove visuals from component.
| |
| RemoveFromComponent(Visual, VisualComponentComponentType) |
Remove this visual from component.
| |
| RemoveFromComponent(Visual, String) |
Remove this visual from component.
| |
| Unregister |
Unregister a component type.
|