Open.Core.Css.IsVisible C# (CSharp) Method

IsVisible() public static method

Determines whether the element is visible (has any display value other than 'None').
public static IsVisible ( jQueryObject element ) : bool
element jQueryObject The element to display.
return bool
        public static bool IsVisible(jQueryObject element)
        {
            return Script.IsNullOrUndefined(element) ? false : element.GetCSS(Display).ToLowerCase() != None;
        }