profilepropertybinding.cs
来自「AJAX 应用 实现页面的无刷新」· CS 代码 · 共 56 行
CS
56 行
// (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 + =
减小字号Ctrl + -
显示快捷键?