Skip to main content
A newer version of this page is available. .

SvgImageItem Members

An item within an SVG image.

Constructors

Name Description
SvgImageItem(Int32[]) Initializes a new instance of the class. For internal use.
SvgImageItem(String) Initializes a new instance of the class. For internal use.

Properties

Name Description
ActualVisible Returns whether the item is actually visible.
Appearance Allows you to customize the item’s appearance.
Bounds
Descendants Returns a linear list of the item’s descendants.
Hovered Gets whether the item is hovered.
Id Gets or sets the item’s unique identifier. The SVG image format allows IDs to be assigned to items via the id attribute.
IsGroup Gets whether the current item is a group.
IsRoot Gets whether the current item is the root item.
Items Gets the current group’s children.
OutlinePen
Parent Returns the item’s immediate parent.
Path
Root Gets the item’s root ancestor.
Selected Gets or sets whether the item is selected.
Tag Use this property to associate custom data with the item.
Transform
Visible Gets or sets the item’s visibility. An item can still be hidden if any parent group of the item is hidden.

Methods

Name Description
Clone() Creates a copy of the current item.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindAncestor(Predicate<SvgImageItem>) Returns the item’s ancestor that matches the specified condition.
FindAncestorById(String) Returns the item’s ancestor with the specified Id.
FindAncestorByTag(Object) Returns the item’s ancestor with the specified Tag.
FindAncestors(Predicate<SvgImageItem>) Returns a list of the item’s ancestors that match the specified condition.
FindDescendant(Predicate<SvgImageItem>) Returns the item’s descendant that matches the specified condition.
FindDescendantById(String) Returns the item’s descendant with the specified Id.
FindDescendantByTag(Object) Returns the item’s descendant with the specified Tag.
FindDescendants(Predicate<SvgImageItem>) Returns a list of the item’s descendants that match the specified condition.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Fires when the item’s properties are changed.
See Also