BCGControlBar Library for .NET
GetStateColors Method




Returns colors for requested state.
Syntax
'Declaration
 
Public Sub GetStateColors( _
   ByRef elementColor As GridElementColor, _
   ByRef foreColor As Color, _
   ByVal markSelection As Boolean, _
   ByVal showSelectedState As Boolean, _
   ByVal highlighted As Boolean _
) 
'Usage
 
Dim instance As GridCellVisualStyle
Dim elementColor As GridElementColor
Dim foreColor As Color
Dim markSelection As Boolean
Dim showSelectedState As Boolean
Dim highlighted As Boolean
 
instance.GetStateColors(elementColor, foreColor, markSelection, showSelectedState, highlighted)
public void GetStateColors( 
   ref GridElementColor elementColor,
   ref Color foreColor,
   bool markSelection,
   bool showSelectedState,
   bool highlighted
)
public: void GetStateColors( 
   ref GridElementColor* elementColor,
   ref Color foreColor,
   bool markSelection,
   bool showSelectedState,
   bool highlighted
) 
public:
void GetStateColors( 
   GridElementColor^% elementColor,
   Color% foreColor,
   bool markSelection,
   bool showSelectedState,
   bool highlighted
) 

Parameters

elementColor
foreColor
markSelection
showSelectedState
highlighted
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

GridCellVisualStyle Class
GridCellVisualStyle Members

Send Feedback