Visual Basic (Declaration) | |
---|---|
<ContentPropertyAttribute("Children")> <LocalizabilityAttribute()> <SerializableAttribute()> Public Class AnnGroupObject Inherits AnnObjectBase Implements IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[ContentPropertyAttribute("Children")] [LocalizabilityAttribute()] [SerializableAttribute()] public class AnnGroupObject : AnnObjectBase, IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
C++/CLI | |
---|---|
[ContentPropertyAttribute("Children")] [LocalizabilityAttribute()] [SerializableAttribute()] public ref class AnnGroupObject : public AnnObjectBase, IAnnProtractorObject, IAnnRulerObject, IAnnTextObject |
XAML Object Element Usage | |
---|---|
<AnnGroupObject .../> |
XAML Object Element Usage | |
---|---|
<AnnGroupObject .../> |
This example moves all the objects from a container into a new group object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnGroupObject_AnnGroupObject(ByVal container As AnnContainer) |
C# | Copy Code |
---|---|
private void AnnGroupObject_AnnGroupObject(AnnContainer container) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.AnnGroupObject" Title="Leadtools.Windows.Annotations" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Annotations="clr-namespace:Leadtools.Windows.Annotations;assembly=Leadtools.Windows.Annotations"> |
For more information about grouping and ungrouping, refer to Grouping and Ungrouping WPF Annotation Objects.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Leadtools.Windows.Annotations.AnnObjectBase
Leadtools.Windows.Annotations.AnnGroupObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family