Back to Devexpress

SvgImageItem.IsRoot Property

windowsforms-devexpress-dot-xtraeditors-dot-svgimageitem-0ec18348.md

latest1.8 KB
Original Source

SvgImageItem.IsRoot Property

Gets whether the current item is the root item.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public bool IsRoot { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsRoot As Boolean

Property Value

TypeDescription
Boolean

true if the current item is the root item; otherwise, false.

|

Remarks

You can access root SVG items with the SvgImageBox.RootItems collection. The IsRoot property returns true for all items in this collection.

To return a root ancestor for any item, use the SvgImageItem.Root property.

See Also

IsGroup

Items

Parent

Root

RootItems

SvgImageItem Class

SvgImageItem Members

DevExpress.XtraEditors Namespace