internal void Attach(ElementStyle node, CssBorder border, string side) { this.border = border; this.side = side; base.Attach(node); }
internal virtual void Attach(ElementStyle node) { this.node = node; foreach (var action in actions) { action.Act(this); } }
internal override void Attach(ElementStyle node) { base.Attach(node); if (Left != null) Left.Attach(node, this, "left"); if (Top != null) Top.Attach(node, this, "top"); if (Right != null) Right.Attach(node, this, "right"); if (Bottom != null) Bottom.Attach(node, this, "bottom"); }
internal override void Attach(ElementStyle node) { base.Attach(node); // if (margin != null) // margin.Attach(node); if (padding != null) padding.Attach(node); if (border != null) border.Attach(node); if (boxShadow != null) boxShadow.Attach(node); if (font != null) font.Attach(node); if (borderRadius != null) borderRadius.Attach(node); }