ICreate.Controls.Bars Send comments on this topic.
TitleSizeToContent Property
See Also 
ICreate.Controls.Bars Namespace > SuperPanel Class : TitleSizeToContent Property






Gets or sets a Boolean value indicating if the title should extend across the entire edge on which it is located or if its size should be determined by the TitleText.

Syntax

Visual Basic (Declaration) 
Public Property TitleSizeToContent As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SuperPanel
Dim value As Boolean
 
instance.TitleSizeToContent = value
 
value = instance.TitleSizeToContent
C# 
public bool TitleSizeToContent {get; set;}
Delphi 
public read-write property TitleSizeToContent: Boolean; 
JScript 
public function get,set TitleSizeToContent : boolean
Managed Extensions for C++ 
public: __property bool get_TitleSizeToContent();
public: __property void set_TitleSizeToContent( 
   bool value
);
C++/CLI 
public:
property bool TitleSizeToContent {
   bool get();
   void set (bool value);
}

Return Value

A System.Boolean value, this property indicates if the title should extend along the entire edge on which it is located or if its size should be determined by the TitleText. If TitleSizeToContent is true then the title is sized to the TitleText, otherwise TitleSizeToContent is false and the title extends across the entire edge on which it is located. The default value is true.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also