Inheritance: CssFeatureBase
Example #1
0
 private CssPaddingFeature(object newOwner, CssPaddingFeature inheritFrom)
     : base(newOwner)
 {
     this.Left   = inheritFrom.Left;
     this.Left   = inheritFrom.Left;
     this.Right  = inheritFrom.Right;
     this.Bottom = inheritFrom.Bottom;
 }
Example #2
0
        public static bool dbugIsEq(dbugPropCheckReport rep, CssPaddingFeature prop1, CssPaddingFeature prop2)
        {
            int inCount = rep.Count;

            rep.Check("Left", CssLength.IsEq(prop1.Left, prop2.Left));
            rep.Check("Top", CssLength.IsEq(prop1.Top, prop2.Top));
            rep.Check("Right", CssLength.IsEq(prop1.Right, prop2.Right));
            rep.Check("Bottom", CssLength.IsEq(prop1.Bottom, prop2.Bottom));
            return(inCount == rep.Count);
        }
Example #3
0
 public static bool dbugIsEq(dbugPropCheckReport rep, CssPaddingFeature prop1, CssPaddingFeature prop2)
 {
     int inCount = rep.Count;
     rep.Check("Left", CssLength.IsEq(prop1.Left, prop2.Left));
     rep.Check("Top", CssLength.IsEq(prop1.Top, prop2.Top));
     rep.Check("Right", CssLength.IsEq(prop1.Right, prop2.Right));
     rep.Check("Bottom", CssLength.IsEq(prop1.Bottom, prop2.Bottom));
     return inCount == rep.Count;
 }
Example #4
0
 private CssPaddingFeature(object newOwner, CssPaddingFeature inheritFrom)
     : base(newOwner)
 {
     this.Left = inheritFrom.Left;
     this.Left = inheritFrom.Left;
     this.Right = inheritFrom.Right;
     this.Bottom = inheritFrom.Bottom;
 }