using System; using System.Collections; using System.Windows.Forms; using System.Drawing; using System.ComponentModel; using FastReport.Utils; namespace FastReport { partial class PageBase { #region Properties /// /// This property is not relevant to this class. /// [Browsable(false)] public new Restrictions Restrictions { get { return base.Restrictions; } set { base.Restrictions = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public override AnchorStyles Anchor { get { return base.Anchor; } set { base.Anchor = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public override DockStyle Dock { get { return base.Dock; } set { base.Dock = value; } } /// /// Gets the snap size for this page. /// [Browsable(false)] public virtual SizeF SnapSize { get { return new SizeF(0, 0); } } #endregion #region Public Methods /// /// Gets a page designer for this page type. /// /// The page designer. public abstract Type GetPageDesignerType(); /// /// This method is called by the designer when you create a new page. /// /// /// You may create the default page layout (add default bands, set default page size, etc). /// public virtual void SetDefaults() { Config.DesignerSettings.OnPageAdded(this, EventArgs.Empty); } #endregion } }