SolidColorBrush myBrush = new SolidColorBrush(Colors.Red); myBrush.Freeze();
if (myBrush.IsFrozen) { // Do something with the brush }
SolidColorBrush myClone = myBrush.Clone();Package/Library: The SolidColorBrush class belongs to the System.Windows.Media namespace in the .NET Framework. It is part of the WindowsBase.dll library, which is included with Windows operating systems.