GenericWebPart.Subtitle Property

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

Gets a string that is concatenated with the Title property value to form a complete title for a control.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public:
virtual property String^ Subtitle {
	String^ get () override;
}
/** @property */
public String get_Subtitle ()

public override function get Subtitle () : String

Property Value

A string that serves as a subtitle for the control. The default value is an empty string ("").

Use the Subtitle property optionally to return a standard subtitle string that will be appended to your custom GenericWebPart control's title.

This property overrides the base property so that you can access the property on the child control as if it were a true WebPart control.

If you implement the Subtitle property in a user control or custom control to provide a default value, the Web Parts control set automatically appends it to the value of the control's Title property at run time to create a complete title.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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

Community Additions

ADD
Show: