Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

27 lines
957 B
C#

using System.Security.Permissions;
namespace System.Web.DynamicData {
/// <summary>
/// Interface implemented by controls that can provide data to a DynamicControlParameter's.
/// i.e. the control implmenting this interface can be set as the ControlId of the DynamicControlParameter.
/// </summary>
public interface IControlParameterTarget {
/// <summary>
/// The type of data being served by this provider
/// </summary>
MetaTable Table { get; }
/// <summary>
/// The column on which the parameter is being applied, if available. e.g. a FilterUserControl
/// can provide it, but a GridView selection cannot.
/// </summary>
MetaColumn FilteredColumn { get; }
/// <summary>
/// Get the expression that can be used as a ControlParameter's 'PropertyName'
/// </summary>
string GetPropertyNameExpression(string columnName);
}
}