Beispiel #1
0
        /// <summary>
        /// Sets the display internally.
        /// </summary>
        /// <param name="display">The new display this view will be displayed in.</param>
        /// <param name="notifyDisplay">if set to <c>true</c> the display will be notified so that it can adapt to the change.</param>
        internal virtual void SetDisplayInternal(Display display, bool notifyDisplay)
        {
            this.display = display;

            if (this.display != null)
            {
                if (notifyDisplay)
                {
                    this.display.SetViewInternal(this, false);
                }
            }
        }
Beispiel #2
0
 /// <summary>
 /// Clears the display internal.
 /// </summary>
 internal virtual void ClearDisplayInternal()
 {
     this.display = null;
 }