Utils.

IsOpaqueSolidColorBrush(Brush) Method

Summary

Verifies if the given brush is a SolidColorBrush and its color does not include transparency.
Namespace
MahApps.Metro.Controls
Containing Type
Utils

Syntax

public static bool IsOpaqueSolidColorBrush(this Brush brush)

Parameters

Name Type Description
brush Brush Brush

Return Value

Type Description
bool true if yes, otherwise false