1 //------------------------------------------------------------------------------
2 // <copyright file="IDataBindingsAccessor.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6 
7 namespace System.Web.UI {
8 
9     using System;
10 
11     /// <devdoc>
12     ///  Used to access data bindings of a Control.
13     ///  Only valid for use at design-time.
14     /// </devdoc>
15     public interface IDataBindingsAccessor {
16 
17 
18         /// <devdoc>
19         ///    <para>Indicates a collection of all data bindings on the control. This property is
20         ///       read-only.</para>
21         /// </devdoc>
22         DataBindingCollection DataBindings {
23             get;
24         }
25 
26 
27         /// <devdoc>
28         ///    <para>Returns whether the control contains any data binding logic. This method is
29         ///       only accessed by RAD designers.</para>
30         /// </devdoc>
31         bool HasDataBindings {
32             get;
33         }
34     }
35 }
36 
37