Intersoft WebCombo Documentation
AllowFloatingText Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > LayoutSet Class : AllowFloatingText Property






Specifies whether users can set some text to float in the right side of WebCombo control.Gets or sets a value whether text is allowed to float in the right side of WebCombo.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets or sets a value whether text is allowed to float in the right side of WebCombo.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Property AllowFloatingText As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Boolean
 
instance.AllowFloatingText = value
 
value = instance.AllowFloatingText
C# 
[DescriptionAttribute("Gets or sets a value whether text is allowed to float in the right side of WebCombo.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public bool AllowFloatingText {get; set;}
Delphi 
public read-write property AllowFloatingText: Boolean; 
JScript 
DescriptionAttribute("Gets or sets a value whether text is allowed to float in the right side of WebCombo.")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
public function get,set AllowFloatingText : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Gets or sets a value whether text is allowed to float in the right side of WebCombo.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property bool get_AllowFloatingText();
public: __property void set_AllowFloatingText( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Gets or sets a value whether text is allowed to float in the right side of WebCombo.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
property bool AllowFloatingText {
   bool get();
   void set (    bool value);
}

Remarks

Unlike in WebCombo.NET v3.0, the inline text in the left and right side of WebCombo.NET v4.0 is pushed to either top or bottom of the WebCombo element. By default, inline text can no longer be at the same row with WebCombo due to this changes. To give you better illustration on how to set the text on the right side of WebCombo, you can read How-to: Enable text floating to the right side of the WebCombo.NET control.

To enable text floating on the left side of WebCombo (the behavior of WebCombo.NET 3.0), you can follow the steps in How-to: Simulate inline text floating behavior as in previous version.

Although the above techniques works properly in common scenarios, it is not the recommended way to create pixel-perfect layout. We recommend you to create side-by-side elements in a single row is by using TABLE layout.

TABLE layout enables you to create layout that will look and behave consistently in either old or modern browsers. If your web page has been using TABLE layout since previous version of WebCombo.NET, you don’t need to perform any extra efforts to adapt to the changes in User Interface. As an example, all of our samples provided in the previous version of WebCombo were using TABLE layout. When they are migrated to version 4.0, they can be displayed properly without changes.

 

Requirements

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

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.