internal CSSBorderTopProperty(CSSStyleDeclaration rule)
     : base(PropertyNames.BorderTop, rule, PropertyFlags.Animatable)
 {
     _color = Get <CSSBorderTopColorProperty>();
     _style = Get <CSSBorderTopStyleProperty>();
     _width = Get <CSSBorderTopWidthProperty>();
 }
 internal CSSBorderColorProperty(CSSStyleDeclaration rule)
     : base(PropertyNames.BorderColor, rule, PropertyFlags.Hashless | PropertyFlags.Animatable)
 {
     _top    = Get <CSSBorderTopColorProperty>();
     _right  = Get <CSSBorderRightColorProperty>();
     _bottom = Get <CSSBorderBottomColorProperty>();
     _left   = Get <CSSBorderLeftColorProperty>();
 }
Esempio n. 3
0
 internal CSSBorderProperty(CSSStyleDeclaration rule)
     : base(PropertyNames.Border, rule, PropertyFlags.Animatable)
 {
     _topColor    = Get <CSSBorderTopColorProperty>();
     _topStyle    = Get <CSSBorderTopStyleProperty>();
     _topWidth    = Get <CSSBorderTopWidthProperty>();
     _rightColor  = Get <CSSBorderRightColorProperty>();
     _rightStyle  = Get <CSSBorderRightStyleProperty>();
     _rightWidth  = Get <CSSBorderRightWidthProperty>();
     _bottomColor = Get <CSSBorderBottomColorProperty>();
     _bottomStyle = Get <CSSBorderBottomStyleProperty>();
     _bottomWidth = Get <CSSBorderBottomWidthProperty>();
     _leftColor   = Get <CSSBorderLeftColorProperty>();
     _leftStyle   = Get <CSSBorderLeftStyleProperty>();
     _leftWidth   = Get <CSSBorderLeftWidthProperty>();
 }