⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 profilepropertybinding.cs

📁 AJAX 应用 实现页面的无刷新
💻 CS
字号:
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace AjaxControlToolkit
{
    /// <summary>
    /// Describes a profile binding to an Extender property.
    /// </summary>
    public class ProfilePropertyBinding
    {
        private string _extenderPropertyName;
        private string _profilePropertyName;

        /// <summary>
        /// The property on the Extender (properties) class to bind to.  This is defined on the Extender's TargetProperties object.
        /// </summary>
        /// 
        [NotifyParentProperty(true)]
        public string ExtenderPropertyName
        {
            get
            {
                return _extenderPropertyName;
            }
            set
            {
                _extenderPropertyName = value;
            }
        }

        /// <summary>
        /// The profile property to bind to.  This is defined in the website's web.config.
        /// </summary>
        /// 
        [NotifyParentProperty(true)]
        public string ProfilePropertyName
        {
            get
            {
                return _profilePropertyName;
            }
            set
            {
                _profilePropertyName = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -