public override void SetPosition(IFrame parent, double xOff, double yOff, double width, double height) { base.SetPosition(parent, xOff, yOff, width, height); this.innerPage.SetPosition( this.Frame, BorderSize, BorderSize + ExtraTopSize, width - (BorderSize * 2), height - (BorderSize * 2 + ExtraTopSize)); this.Frame.SetFrameLevel(parent.GetFrameLevel() + 1); }