MindFusion.Charting for JavaScript Programmer's Guide
Control.visible Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Gets or sets the visibility of this control.

Namespace: MindFusion.Common
File: Control.js

## Syntax

JavaScript Copy Code
get visible() {}

### Property Value

Boolean. True if the control is visible, otherwise false.

## Example

The following code opens a Window instance if it is not already opened e.g. visible.

JavaScript Copy Code
var window = host.windows.where(function (window) { return window.data == args.item }).first(); if (window) { if (!window.visible) window.open(); if (window.windowState != ui.WindowState.Normal) window.restore(); host.bringToFront(window); }

## See Also

Control Members
Control Class
MindFusion.Common Namespace