Click or drag to resize
SolidColorBrush Class
Implements Solid Color brush
Inheritance Hierarchy

Namespace: EmptyKeys.UserInterface.Media
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public class SolidColorBrush : Brush

The SolidColorBrush type exposes the following members.

Constructors
  NameDescription
Public methodSolidColorBrush
Initializes a new instance of the SolidColorBrush class.
Public methodSolidColorBrush(ColorW)
Initializes a new instance of the SolidColorBrush class.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the color.
Public propertyDependencyObjectType
Gets the type of the dependency object.
(Inherited from DependencyObject.)
Public propertyIsFrozen
Gets a value indicating whether this instance is frozen.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value indicating whether this instance is sealed.
(Inherited from DependencyObject.)
Public propertyOpacity
Gets or sets the opacity.
(Inherited from Brush.)
Public propertyParent
Gets or sets the parent.
(Inherited from Freezable.)
Top
Methods
  NameDescription
Public methodClearValue
Clears the value.
(Inherited from DependencyObject.)
Public methodCoerceValue
Coerces the value.
(Inherited from DependencyObject.)
Public methodDraw
Draws the specified texture.
(Overrides BrushDraw(TextureBase, Renderer, Double, PointF, Size, Single).)
Public methodDrawGeometry
Draws the geometry - used with shapes and geometry
(Overrides BrushDrawGeometry(GeometryBuffer, TextureBase, Renderer, Double, PointF, Single).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from DependencyObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFreeze
Freezes this instance.
(Inherited from Freezable.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Gets the local value enumerator.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value.
(Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnOpacityChanged
Raises the [E:OpacityChanged] event.
(Inherited from Brush.)
Protected methodOnPropertyChanged
Called when [property changed].
(Inherited from Freezable.)
Public methodReadLocalValue
Reads the local value.
(Inherited from DependencyObject.)
Public methodSetBinding
Sets the binding.
(Inherited from DependencyObject.)
Public methodSetResourceReference
Sets the resource reference.
(Inherited from DependencyObject.)
Public methodSetValue
Sets the value.
(Inherited from DependencyObject.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventChanged
Occurs when [changed].
(Inherited from Freezable.)
Top
Fields
  NameDescription
Public fieldStatic memberColorProperty
The color property
Top
See Also