File: src\Framework\System\Windows\Annotations\AnchorInfo.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
//-----------------------------------------------------------------------------
//
// <copyright file="AnchorInfo.cs" company="Microsoft">
//    Copyright (C) Microsoft Corporation.  All rights reserved.
// </copyright>
//
// Description:
//     IAnchorInfo is the public portion of IAttachedAnnotation.
//
// History:
//  03/09/2007: rruiz:  Created a new public interface to expose parts of
//                      IAttachedAnnotation.
//
//-----------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Annotations;
using System.Windows.Annotations.Storage;
using System.Windows.Media;
using MS.Utility;
 
namespace System.Windows.Annotations
{
 
    /// <summary>
    ///     IAnchorInfo represents an annotation's persisted and run-time anchor information.
    /// </summary>
    public interface IAnchorInfo
    {
        /// <summary>
        /// The Annotation that this anchor information is for
        /// </summary>
        Annotation Annotation { get;}
 
        /// <summary>
        /// The specific anchor in the annotation object model that is represented
        /// by this anchor information.
        /// </summary>
        AnnotationResource Anchor { get; }
 
        /// <summary>
        /// The part of the Avalon element tree to which this annotation is anchored.
        /// If only a part of the annotations anchor is part of the tree at this moment,
        /// then this may be a partial anchor.  For instance, if the anchor is several
        /// pages of text content, but only one page is currently visible, this would be
        /// the visible page.
        /// </summary>
        Object ResolvedAnchor { get;}
 
    }
}