ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupNumericUpDown.ActualVisible C# (CSharp) Метод

ActualVisible() приватный Метод

private ActualVisible ( Control c ) : bool
c System.Windows.Forms.Control
Результат bool
        private bool ActualVisible(Control c)
        {
            if (c != null)
            {
                // Start with the visible state of the group element
                bool visible = _ribbonNumericUpDown.Visible;

                // If we have an associated designer setup...
                if (!_ribbon.InDesignHelperMode && (_ribbonNumericUpDown.NumericUpDownDesigner != null))
                {
                    // And we are not using the design helpers, then use the design specified value
                    visible = _ribbonNumericUpDown.NumericUpDownDesigner.DesignVisible;
                }

                return visible;
            }

            return false;
        }