Intersoft WebGrid Documentation
FocusCellStyle Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridTable Class : FocusCellStyle Property






Gets or sets the style used when a row or cell is focused/selected.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<DescriptionAttribute("Gets or sets the style used when a row or cell is focused/selected.")>
Public Property FocusCellStyle As FocusStyle
Visual Basic (Usage)Copy Code
Dim instance As WebGridTable
Dim value As FocusStyle
 
instance.FocusCellStyle = value
 
value = instance.FocusCellStyle
C# 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[DescriptionAttribute("Gets or sets the style used when a row or cell is focused/selected.")]
public FocusStyle FocusCellStyle {get; set;}
Delphi 
public read-write property FocusCellStyle: FocusStyle; 
JScript 
TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
ISNet.Serialization.BinarySerializableAttribute()
PersistenceModeAttribute(PersistenceMode.InnerProperty)
DescriptionAttribute("Gets or sets the style used when a row or cell is focused/selected.")
public function get,set FocusCellStyle : FocusStyle
Managed Extensions for C++ 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[DescriptionAttribute("Gets or sets the style used when a row or cell is focused/selected.")]
public: __property FocusStyle* get_FocusCellStyle();
public: __property void set_FocusCellStyle( 
   FocusStyle* value
);
C++/CLI 
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[DescriptionAttribute("Gets or sets the style used when a row or cell is focused/selected.")]
public:
property FocusStyle^ FocusCellStyle {
   FocusStyle^ get();
   void set (    FocusStyle^ value);
}

Remarks

In WebGrid.NET V4.0, FocusCellStyle supports CssClass. Therefore, all WebGrid.NET's styles can be customized through external CSS and Theme Architecture.

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.