Intersoft WebGrid Documentation
IsStyleEmpty Method
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class : IsStyleEmpty Method






Returns a Boolean value that determines whether a WebGridFormatStyle object is set to Nothing or Null.

Syntax

Visual Basic (Declaration) 
Public Overrides Function IsStyleEmpty() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim value As Boolean
 
value = instance.IsStyleEmpty()
C# 
public override bool IsStyleEmpty()
Delphi 
public function IsStyleEmpty(): Boolean; override; 
JScript 
public override function IsStyleEmpty() : boolean;
Managed Extensions for C++ 
public: bool IsStyleEmpty(); override 
C++/CLI 
public:
bool IsStyleEmpty(); override 

Remarks

The value is True if the WebGridFormatStyle object from which this method was invoked is set to Nothing or Null; otherwise, the value is False.

The difference between this method and IsEmpty method is this method will only check available styles, and not including the CssClass property. This allow the style engine to determine whether multiple class names can be automatically generated to support better style cascading for objects.

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.