'Declaration
Public Overrides Function ToColor( _ ByVal styleableElement As INStyleableElement _ ) As NColor
'Usage
Dim instance As NDynamicThemeColor Dim styleableElement As INStyleableElement Dim value As NColor value = instance.ToColor(styleableElement)
public override NColor ToColor( INStyleableElement styleableElement )
Parameters
- styleableElement
- The styleable element this theme color is used in, for example a shape or a style preview.
Return Value
The color equivalent of this theme color or NColor.Empty if a color equivalent couldn't be determined.