System.Web.UI.Design.DesignerRegion.UserData Property

Gets or sets optional user data to associate with the designer region.

Syntax

public object UserData { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Within a control designer implementation, use the DesignerRegion.UserData property to store or retrieve additional information for the designer region.

For example, if the control designer implementation supports selecting from multiple designer regions, you can use the DesignerRegion.UserData property in a control designer to store a unique index for each region. You can then use the DesignerRegion.UserData property for the region that is passed into the ControlDesigner.OnClick(DesignerRegionMouseEventArgs) method to store the index for the currently selected region.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0