ColorPaletteHelper.HasTransparentColors

ColorPaletteHelper.HasTransparentColors method

Determines whether the specified palette has transparent colors.

public static bool HasTransparentColors(IColorPalette palette)
ParameterTypeDescription
paletteIColorPaletteThe palette.

Return Value

true if the specified palette has transparent colors; otherwise, false.

Exceptions

exceptioncondition
ArgumentNullExceptionpalette is null.

See Also