Edit

Share via


Window.Caption Property

Definition

Gets or sets the caption text for the window represented by the Window object.

public:
 abstract property System::String ^ Caption { System::String ^ get(); void set(System::String ^ value); };
public abstract string Caption { get; set; }
member this.Caption : string with get, set
Public MustOverride Property Caption As String

Property Value

The caption text for the window represented by the Window object.

Remarks

The caption text that is returned or set by this property corresponds to the text preceding "- Microsoft InfoPath" on the title bar of the window

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Applies to