This documentation is archived and is not being maintained.

GradientBrush Properties

  Name Description
Public property CanFreeze  Gets a value that indicates whether this object can be made unmodifiable. (inherited from Freezable)
Public property ColorInterpolationMode Gets or sets a ColorInterpolationMode enumeration that specifies how the gradient's colors are interpolated.
Public property DependencyObjectType  Gets the DependencyObjectType that wraps the CLR type of this instance. (inherited from DependencyObject)
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property GradientStops Gets or sets the brush's gradient stops.
Public property HasAnimatedProperties  Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties. (inherited from Animatable)
Public property IsFrozen  Gets a value that indicates whether the object is currently modifiable. (inherited from Freezable)
Public property IsSealed  Gets a value that declares whether this instance is currently read-only. (inherited from DependencyObject)
Public property MappingMode Gets or sets a BrushMappingMode enumeration that specifies whether the gradient brush's positioning coordinates are absolute or relative to the output area.
Public property Opacity  Gets or sets the degree of opacity of a Brush. (inherited from Brush)
Public property RelativeTransform  Gets or sets the transformation that is applied to the brush using relative coordinates. (inherited from Brush)
Public property SpreadMethod Gets or sets the type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted.
Public property Transform  Gets or sets the transformation that is applied to the brush. This transformation is applied after the brush's output has been mapped and positioned. (inherited from Brush)