/// <summary> /// Initializes a new instance of the <see cref="XPropertyPagePanel"/> class. /// </summary> /// <param name="parentPropertyPage">The parent property page to which this is bound.</param> public XPropertyPagePanel(XPropertyPage parentPropertyPage) { this.parentPropertyPage = parentPropertyPage; this.InitializeComponent(); this.Font = XHelperMethods.GetDialogFont(); this.ForeColor = XHelperMethods.GetVsColor(XHelperMethods.Vs2010Color.VSCOLOR_BUTTONTEXT); }