System.Web.UI.Design.WebControls.HyperLinkDesigner Class

Provides design-time support in a visual designer for the System.Web.UI.WebControls.HyperLink Web server control.

See Also: HyperLinkDesigner Members


public class HyperLinkDesigner : System.Web.UI.Design.TextControlDesigner


The System.Web.UI.WebControls.HyperLink control creates a link for the client browser to navigate to another Web page.

In a visual designer, when you switch from Source to Design view, the markup source code that describes a System.Web.UI.WebControls.HyperLink control is parsed and a design-time version of the control is created on the design surface. When you switch back to Source view, the design-time control is persisted to the markup source code and edited into the markup for the Web page. The System.Web.UI.Design.WebControls.HyperLinkDesigner class provides design-time support for the System.Web.UI.WebControls.HyperLink control.

The HyperLinkDesigner.GetDesignTimeHtml method returns the markup that is used to render the associated System.Web.UI.WebControls.HyperLink control at design time. The HyperLinkDesigner.OnComponentChanged(object, System.ComponentModel.Design.ComponentChangedEventArgs) method is called when there is a change to the associated control.


Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0,