Intersoft WebGrid Documentation
Wrap Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class : Wrap Property






Returns or sets a Boolean value that determines whether the text associated with a WebGridFormatStyle object is wrapped.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Determines whether the text associated with the style is wrapped.")>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)>
<DefaultValueAttribute()>
Public Property Wrap As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim value As Boolean
 
instance.Wrap = value
 
value = instance.Wrap
C# 
[DescriptionAttribute("Determines whether the text associated with the style is wrapped.")]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
public bool Wrap {get; set;}
Delphi 
public read-write property Wrap: Boolean; 
JScript 
DescriptionAttribute("Determines whether the text associated with the style is wrapped.")
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)
DefaultValueAttribute()
public function get,set Wrap : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Determines whether the text associated with the style is wrapped.")]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
public: __property bool get_Wrap();
public: __property void set_Wrap( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Determines whether the text associated with the style is wrapped.")]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[DefaultValueAttribute()]
public:
property bool Wrap {
   bool get();
   void set (    bool value);
}

Remarks

Set this property to True when the text associated with the WebGridFormatStyle object should wrap from one line to the next when it does not fit.

Set this property to False (default) when the text associated the WebGridFormatStyle object should not wrap.

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.