Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows;
|
---|
6 |
|
---|
7 | namespace Microsoft.Research.DynamicDataDisplay.ViewportConstraints
|
---|
8 | {
|
---|
9 | /// <summary>
|
---|
10 | /// Represents a constraint which is capable to attach to or detach from <see cref="Viewport"/>, to which it is applied.
|
---|
11 | /// </summary>
|
---|
12 | public interface ISupportAttachToViewport
|
---|
13 | {
|
---|
14 | /// <summary>
|
---|
15 | /// Attaches the specified viewport to a constraint.
|
---|
16 | /// </summary>
|
---|
17 | /// <param name="viewport">The viewport.</param>
|
---|
18 | void Attach(Viewport2D viewport);
|
---|
19 |
|
---|
20 | /// <summary>
|
---|
21 | /// Detaches the specified viewport from a constraint.
|
---|
22 | /// </summary>
|
---|
23 | /// <param name="viewport">The viewport.</param>
|
---|
24 | void Detach(Viewport2D viewport);
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.