Annotation.Anchors Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of zero or more AnnotationResource anchor elements that define the data selection(s) being annotated.
public:
property System::Collections::ObjectModel::Collection<System::Windows::Annotations::AnnotationResource ^> ^ Anchors { System::Collections::ObjectModel::Collection<System::Windows::Annotations::AnnotationResource ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Windows.Annotations.AnnotationResource> Anchors { get; }
member this.Anchors : System.Collections.ObjectModel.Collection<System.Windows.Annotations.AnnotationResource>
Public ReadOnly Property Anchors As Collection(Of AnnotationResource)
A collection of zero or more AnnotationResource anchor elements.
Each AnnotationResource in the Anchors collection identifies a data selection to which the annotation is bound (in other words, "the data selection that is being annotated"). While most annotations refer to a single data selection and contain just one anchor AnnotationResource, multiple anchors can occur if a single annotation refers to multiple data selections.
The returned Anchors collection is never null; however, the collection may contain zero elements.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: