Click or drag to resize
Brush Class
Implements base features for brushes
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 abstract class Brush : Freezable

The Brush type exposes the following members.

Constructors
  NameDescription
Protected methodBrush
Initializes a new instance of the Brush class.
Top
Properties
  NameDescription
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.
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 - used for standard texture brushes
Public methodDrawGeometry
Draws the geometry - used with shapes and geometry
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.
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 the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventChanged
Occurs when [changed].
(Inherited from Freezable.)
Top
Fields
  NameDescription
Public fieldStatic memberOpacityProperty
The opacity property
Top
See Also