Redigera

Dela via


GenericWebPart.Subtitle Property

Definition

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

public:
 virtual property System::String ^ Subtitle { System::String ^ get(); };
public override string Subtitle { get; }
member this.Subtitle : string
Public Overrides ReadOnly Property Subtitle As String

Property Value

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

Remarks

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.

Applies to

See also