public PaletteBorderEdgeRedirect(IPaletteBorder inherit, NeedPaintHandler needPaint) : base(null, needPaint) { // Remember inheritance _inherit = inherit; // Default properties _borderWidth = -1; // Create the helper object that passes background // requests from the base clas and converts them into // border requests on ourself. _translate = new BackToBorder(this); SetInherit(_translate); }