TintableBorder Class
Represents a border control whose brushes can be easily tinted towards a color.
public class TintableBorder : Border
Constructors
TintableBorder()
Initializes an instance of the class.
public TintableBorder()
Properties
TintColor
Gets or sets the tint color applied to the Background
and BorderBrush
brushes.
This is a dependency property.
public Color TintColor { get; set; }
Property Value
- Color:
The tint color applied to the
Background
andBorderBrush
brushes. The default value isColors.Transparent
, which indicates no tinting should be applied.
Fields
TintColorProperty
Identifies the TintColor dependency property. This field is read-only.
public static readonly DependencyProperty TintColorProperty