MindFusion.Charting for JavaScript Programmer's Guide
Unit.value 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

The unit value.

Namespace: MindFusion.Common
File: Unit.js

## Syntax

JavaScript Copy Code
get value() {}

### Property Value

Type: Number
Number. The value.

## Example

The following code checks the value of the minWidth of a Window and increases it, if necessary.

JavaScript Copy Code
if(window.minWidth.value < 30 ) { window.minWidth = ui.Unit.percent(50); }

## See Also

Unit Members
Unit Class
MindFusion.Common Namespace