ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupDateTimePicker.ActualVisible C# (CSharp) Méthode

ActualVisible() private méthode

private ActualVisible ( Control c ) : bool
c System.Windows.Forms.Control
Résultat bool
        private bool ActualVisible(Control c)
        {
            if (c != null)
            {
                // Start with the visible state of the group element
                bool visible = _ribbonDateTimePicker.Visible;

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

                return visible;
            }

            return false;
        }