GenericWebPart.Subtitle Property

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

Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: