NetXP 3.0 Reference

UXTheme.GetTextColor Method 

Gets the text color for a specified themed part.

[Visual Basic]
Public Shared Function GetTextColor( _
   ByVal name As String, _
   ByVal part As Integer, _
   ByVal state As Integer, _
   ByRef r As Integer, _
   ByRef g As Integer, _
   ByRef b As Integer _
) As Boolean
[C#]
public static bool GetTextColor(
   string name,
   int part,
   int state,
   ref int r,
   ref int g,
   ref int b
);

Parameters

name
The name of the class to open.
part
The part.
state
The state ID of the part.
r
The red component.
g
The green component.
b
The blue component.

Return Value

True if successful. False if failed.

See Also

UXTheme Class | NETXP.Library Namespace