Intersoft WebGrid Documentation
AlternatingColors Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > LayoutSet Class : AlternatingColors Property






Specifies whether or not to display alternate rows with AlternateRowStyle style.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Specifies whether or not to display alternate rows with AlternateRowStyle style.")>
<ISNet.MarkAsStyleAttribute(True)>
<DefaultValueAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property AlternatingColors As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Boolean
 
instance.AlternatingColors = value
 
value = instance.AlternatingColors
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to display alternate rows with AlternateRowStyle style.")]
[ISNet.MarkAsStyleAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public bool AlternatingColors {get; set;}
Delphi 
public read-write property AlternatingColors: Boolean; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
DescriptionAttribute("Specifies whether or not to display alternate rows with AlternateRowStyle style.")
ISNet.MarkAsStyleAttribute()
DefaultValueAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set AlternatingColors : boolean
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to display alternate rows with AlternateRowStyle style.")]
[ISNet.MarkAsStyleAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property bool get_AlternatingColors();
public: __property void set_AlternatingColors( 
   bool value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies whether or not to display alternate rows with AlternateRowStyle style.")]
[ISNet.MarkAsStyleAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property bool AlternatingColors {
   bool get();
   void set (    bool value);
}

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

Reference

LayoutSet Class
LayoutSet Members

Tasks

How-to: Disable alternating color

Concepts

Advanced User Interactions

©2012 Intersoft Solutions Corp. All Rights Reserved.