File: UI\IDataBindingsAccessor.cs
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web)
//------------------------------------------------------------------------------
// <copyright file="IDataBindingsAccessor.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Web.UI {
 
    using System;
 
    /// <devdoc>
    ///  Used to access data bindings of a Control.
    ///  Only valid for use at design-time.
    /// </devdoc>
    public interface IDataBindingsAccessor {
 
 
        /// <devdoc>
        ///    <para>Indicates a collection of all data bindings on the control. This property is 
        ///       read-only.</para>
        /// </devdoc>
        DataBindingCollection DataBindings {
            get;
        }
        
 
        /// <devdoc>
        ///    <para>Returns whether the control contains any data binding logic. This method is 
        ///       only accessed by RAD designers.</para>
        /// </devdoc>
        bool HasDataBindings {
            get;
        }
    }
}