Inheritance: CssFeatureBase
Beispiel #1
0
 private CssMarginFeature(object newOwner, CssMarginFeature inheritFrom)
     : base(newOwner)
 {
     this.Left   = inheritFrom.Left;
     this.Top    = inheritFrom.Top;
     this.Right  = inheritFrom.Right;
     this.Bottom = inheritFrom.Bottom;
 }
Beispiel #2
0
        public static bool dbugIsEq(dbugPropCheckReport rep, CssMarginFeature prop1, CssMarginFeature 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);
        }
Beispiel #3
0
 public static bool dbugIsEq(dbugPropCheckReport rep, CssMarginFeature prop1, CssMarginFeature 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;
 }
Beispiel #4
0
 private CssMarginFeature(object newOwner, CssMarginFeature inheritFrom)
     : base(newOwner)
 {
     this.Left = inheritFrom.Left;
     this.Top = inheritFrom.Top;
     this.Right = inheritFrom.Right;
     this.Bottom = inheritFrom.Bottom;
 }