GrapeCity MultiRow Windows Forms Documentation
HasStyle Property


Gets a value that indicates whether the Style property has been set.
Syntax
<BrowsableAttribute(False)>
Public ReadOnly Property HasStyle As Boolean
Dim instance As Cell
Dim value As Boolean
 
value = instance.HasStyle
[Browsable(false)]
public bool HasStyle {get;}

Property Value

true if the Style property has been set; otherwise, false.
Remarks
Getting the value of the Style property automatically instantiates a new CellStyle if the property has not previously been accessed. Use the HasStyle property to determine whether the Style property is currently set to a CellStyle instance. This is useful to determine which properties of the object returned by the InheritedStyle property represent styles set specifically for the cell.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.