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






Gets or sets the position of the Text relative to the Image drawn on the ButtonBarButton.

Syntax

Visual Basic (Declaration) 
Public Property TextImageRelation As TextImageRelation
Visual Basic (Usage)Copy Code
Dim instance As ButtonBarButton
Dim value As TextImageRelation
 
instance.TextImageRelation = value
 
value = instance.TextImageRelation
C# 
public TextImageRelation TextImageRelation {get; set;}
Delphi 
public read-write property TextImageRelation: TextImageRelation; 
JScript 
public function get,set TextImageRelation : TextImageRelation
Managed Extensions for C++ 
public: __property TextImageRelation get_TextImageRelation();
public: __property void set_TextImageRelation( 
   TextImageRelation value
);
C++/CLI 
public:
property TextImageRelation TextImageRelation {
   TextImageRelation get();
   void set (TextImageRelation value);
}

Return Value

A TextImageRelation value, this property specifies the position of the Text relative to the Image. A ButtonBarButton can display both Text and an Image. This property specifies the location of the Text relative to the Image. The default value is TextImageRelation.ImageBeforeText.

Remarks

The image below shows how the TextImageRelation property determines the location of the Text relative to the Image.

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