ContainerControlDesigner.FrameCaption Property

Gets the caption that is displayed for a control at design time.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public:
virtual property String^ FrameCaption {
	String^ get ();
}
/** @property */
public String get_FrameCaption ()

public function get FrameCaption () : String

Not applicable.

Property Value

The string used for the control frame caption at design time, if the control has a design-time caption; otherwise, an empty string ("").

The FrameCaption string is the caption that is displayed in the frame around the editable region of the control on the design surface.

The default caption for a ContainerControlDesigner frame is the ID property of the designer instance. This is typically the same as the run-time ID property of the control.

Notes to Implementers: You can set a different frame caption for a control designer by deriving a class from the ContainerControlDesigner class, and then overriding the FrameCaption property.

Windows 98, Windows Server 2000 SP4, 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: