Visual Basic (Declaration) | |
---|---|
<DesignerSerializationVisibilityAttribute()> Public ReadOnly Property Children As AnnObjectCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[DesignerSerializationVisibilityAttribute()] public AnnObjectCollection Children {get;} |
C++/CLI | |
---|---|
[DesignerSerializationVisibilityAttribute()] public: property AnnObjectCollection^ Children { AnnObjectCollection^ get(); } |
XAML Property Element Usage | |
---|---|
<object> <Leadtools.Windows.Annotations.AnnObjectCollection .../> </object> |
XAML Property Element Usage | |
---|---|
<object> <Leadtools.Windows.Annotations.AnnObjectCollection .../> </object> |
Return Value
The collection of AnnObjectBase objects assigned to this AnnGroupObject.For XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnGroupObject.
(Read only) The Children property is a zero-based indexed collection used to hold all the AnnObjectBase objects assigned
to this AnnGroupObject. Since the property is read-only, it cannot be assigned a collection of objects directly.
Objects can be added or removed by using the methods inherited from the AnnObjectCollection class.
Use the Add method to add individual objects and the Remove method to remove an object.
Call the Clear method to remove all the objects from the collection.
For more information about grouping and ungrouping, refer to Grouping and Ungrouping WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family