LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

Children Property (AnnGroupObject)






Gets the collection of annotation objects (of various classes derived from AnnObject) contained in this AnnGroupObject object. .NET support Silverlight support
Syntax
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
public AnnObjectCollection Children {get;}
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
Public ReadOnly Property Children As AnnObjectCollection
'Usage
 
Dim instance As AnnGroupObject
Dim value As AnnObjectCollection
 
value = instance.Children
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
public AnnObjectCollection Children {get;}
DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)
 get_Children(); 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
public:
property AnnObjectCollection^ Children {
   AnnObjectCollection^ get();
}

Property Value

The collection of AnnObject objects assigned to this AnnGroupObject.
Remarks
The Children property is a zero-based indexed collection used to hold all the AnnObject 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 System.Windows.Controls.UIElementCollection.Add(System.Windows.UIElement) method to add individual objects and the System.Windows.Controls.UIElementCollection.Remove(System.Windows.UIElement) method to remove an object. Call the System.Windows.Controls.UIElementCollection.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.

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnGroupObject.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnGroupObject Class
AnnGroupObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.