Пример #1
0
        /// <summary>
        /// If true, debug lines are shown for all elements
        /// </summary>
        /// <param name="debugAll">If set to <c>true</c> debug all.</param>
        public void SetDebugAll(bool debugAll)
        {
            if (this.debugAll == debugAll)
            {
                return;
            }

            this.debugAll = debugAll;
            if (debugAll)
            {
                Debug = true;
            }
            else
            {
                root.SetDebug(false, true);
            }
        }