Initial Commit
This commit is contained in:
26
ViewportRestrictions/ISupportAttachToViewport.cs
Normal file
26
ViewportRestrictions/ISupportAttachToViewport.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.ViewportRestrictions
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a restriction which is capable to attach to or detach from <see cref="Viewport"/>, to which it is applied.
|
||||
/// </summary>
|
||||
public interface ISupportAttachToViewport
|
||||
{
|
||||
/// <summary>
|
||||
/// Attaches the specified viewport to a restriction.
|
||||
/// </summary>
|
||||
/// <param name="viewport">The viewport.</param>
|
||||
void Attach(Viewport2D viewport);
|
||||
|
||||
/// <summary>
|
||||
/// Detaches the specified viewport from a restriction.
|
||||
/// </summary>
|
||||
/// <param name="viewport">The viewport.</param>
|
||||
void Detach(Viewport2D viewport);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user