/// <summary> /// Initialize a new instance of the NavigatorPopupPage class. /// </summary> /// <param name="navigator">Reference to owning navigator instance.</param> /// <param name="needPaint">Delegate for notifying paint requests.</param> public NavigatorPopupPages(KryptonNavigator navigator, NeedPaintHandler needPaint) { Debug.Assert(navigator != null); Debug.Assert(needPaint != null); // Remember back reference _navigator = navigator; // Store the provided paint notification delegate NeedPaint = needPaint; // Default values _allowPopupPages = PopupPageAllow.OnlyOutlookMiniMode; _gap = DEFAULT_GAP; _border = DEFAULT_GAP; _element = DEFAULT_ELEMENT; _position = DEFAULT_POSITION; }
/// <summary> /// Initialize a new instance of the NavigatorPopupPage class. /// </summary> /// <param name="navigator">Reference to owning navigator instance.</param> /// <param name="needPaint">Delegate for notifying paint requests.</param> public NavigatorPopupPages(KryptonNavigator navigator, NeedPaintHandler needPaint) { Debug.Assert(navigator != null); Debug.Assert(needPaint != null); // Remember back reference _navigator = navigator; // Store the provided paint notification delegate NeedPaint = needPaint; // Default values _allowPopupPages = PopupPageAllow.OnlyOutlookMiniMode; _gap = _defaultGap; _border = _defaultGap; _element = _defaultElement; _position = _defaultPosition; }