using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; namespace Microsoft.Research.DynamicDataDisplay.ViewportConstraints { /// /// Represents a constraint which is capable to attach to or detach from , to which it is applied. /// public interface ISupportAttachToViewport { /// /// Attaches the specified viewport to a constraint. /// /// The viewport. void Attach(Viewport2D viewport); /// /// Detaches the specified viewport from a constraint. /// /// The viewport. void Detach(Viewport2D viewport); } }