This documentation is archived and is not being maintained.

LiteralDesigner.OnComponentChanged Method

Note: This method is new in the .NET Framework version 2.0.

Called when there is a change to the associated control.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in

public override void OnComponentChanged (
	Object sender,
	ComponentChangedEventArgs ce
public void OnComponentChanged (
	Object sender, 
	ComponentChangedEventArgs ce
public override function OnComponentChanged (
	sender : Object, 
	ce : ComponentChangedEventArgs



The object that is the source of the event.


A ComponentChangedEventArgs object that contains the event data.

The OnComponentChanged method is called when the ComponentChanged event of the associated Literal control is raised. Typically, this is in response to a property change on the control (for example, a Properties grid change).

The OnComponentChanged creates a ComponentChangedEventArgs object and then calls the OnComponentChanged base method.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0