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






Gets or sets the position of the Image relative to the Text, on the SideBar buttons.

Syntax

Visual Basic (Declaration) 
Public Property TextImageRelation As TextImageRelation
Visual Basic (Usage)Copy Code
Dim instance As SideBar
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 on the SideBar buttons. The default value is ImageBeforeText.

Remarks

The images below show the effect the TextImageRelation property has on the position of the Text and Image on the SideBar buttons.

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