Click or drag to resize
SolidColorBrush Class
Paints an area with a solid color.
Inheritance Hierarchy

Namespace: Windows.UI.Xaml.Media
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public class SolidColorBrush : Brush, 
	ICanConvertToCSSValue

The SolidColorBrush type exposes the following members.

Constructors
  NameDescription
Public methodSolidColorBrush
Initializes a new instance of the SolidColorBrush class with no color.
Public methodSolidColorBrush(Color)
Initializes a new instance of the SolidColorBrush class with the specified Color.
Top
Methods
  NameDescription
Public methodConvertToCSSValue
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.)
Public methodGetVisualStateValue (Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadLocalValue
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.)
Public methodSetBinding
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.)
Public methodSetInheritedValue
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.)
Public methodSetLocalValue
Sets the local value of a dependency property on a DependencyObject while not overriding a hypothetical Binding (example: when the user writes in a TextBox with a two way Binding on its Text property).
(Inherited from DependencyObject.)
Public methodSetValue
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.)
Public methodSetVisualStateValue (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberColorProperty
Identifies the Color dependency property.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the color of this SolidColorBrush.
Public propertyDispatcher
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.)
Public propertyOpacity
Gets or sets the degree of opacity of a Brush. The value of the Opacity property is expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity.
(Inherited from Brush.)
Public propertyPropertiesWhereUsed (Inherited from Brush.)
Top
See Also