TintableBorder Class
Represents a border control whose brushes can be easily tinted towards a color.
public class TintableBorder : Border, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Decorator Border Object
Constructors
TintableBorder()
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
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()