IDReferencePropertyAttribute Class
.NET Framework 3.0
Defines an attribute applied to properties that contain ID references. This class cannot be inherited.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The IDReferencePropertyAttribute class is applied to properties that contain ID references. ContentPlaceHolderID is an example of a property that contains an ID reference. When this attribute is applied, designers can provide additional functionality during design time, such as listing IDs.
The following code example demonstrates how the IDReferencePropertyAttribute attribute is applied to a property that evaluates to a string. In this example, the DataSourceID member identifies a data source control and therefore specifies the DataSourceControl type.
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
Community Additions
ADD
Show: