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 |
---|---|
ActualEnabled | Returns whether the item is actually enabled. |
ActualVisible | Returns whether the item is actually visible. |
Appearance | Allows you to customize the item’s appearance. |
Bounds | Gets the SvgImageItem‘s bounds. |
Descendants | Returns a linear list of the item’s descendants. |
Enabled | Gets or sets whether the item is enabled. |
HasBackground | Gets whether the item has a background. |
HasBorder | Gets whether the item has a border. |
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. |
IsSimpleTextItem | Gets whether the current item only has text content. |
Items | Gets the current group’s children. |
OutlinePen | Gets a Pen that draws the current SvgImageItem. |
Parent | Returns the item’s immediate parent. |
Path | Gets a GraphicsPath that outlines the current SvgImageItem. |
Root | Gets the item’s root ancestor. |
Selected | Gets or sets whether the item is selected. |
SuperTip | Gets or sets a super tooltip for this item. |
Tag | Use this property to associate custom data with the item. |
Text | Gets or sets the item’s text. This property is supported for items that only have text content in the source SVG file. |
ToolTip | Gets or sets the item’s regular tooltip. |
ToolTipAnchor | Gets or sets whether the tooltip is anchored relative to the mouse pointer or the hovered item. |
ToolTipIconType | Gets or sets a regular tooltip’s icon type. |
ToolTipTitle | Gets or sets a regular tooltip’s title. |
Transform | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
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. |
GetRegionTypeAt(Point) | |
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