Export (0) Print
Expand All

ContainerControlDesigner.FrameCaption Property

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

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 string FrameCaption { get; }
/** @property */
public String get_FrameCaption ()

public function get FrameCaption () : String

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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, 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
Show:
© 2014 Microsoft