## View.Floating

### Description

Returns a Boolean value indicating whether the view is floating (true) or embedded inside another one (false).

### C# Syntax

    // get accessor
    Boolean rtn = View.Floating;

### Examples

#### JScript Example

    /*
            This example demonstrates how to find out whether the views
            are embedded or floating.
    */
    var layout = Desktop.ActiveLayout;
    layout.CreateView( "Explorer", "X" ).State = siMinimized;
    layout.CreateView( "Explorer", "Y" ).State = siMinimized;
    layout.CreateView( "Explorer", "Z" ).State = siMinimized;
    for ( var i=0; i<layout.Views.Count; i++ ) {
            var v = layout.Views(i);
            Application.LogMessage( v.Name + " is floating: " + v.Floating );
    }
    // Expected result:
    //INFO : Script Editor is floating: true
    //INFO : X is floating: true
    //INFO : Y is floating: true
    //INFO : Z is floating: true
    //INFO : animation is floating: false
    //INFO : constraint is floating: false
    //INFO : context is floating: false
    //INFO : custom is floating: false
    //INFO : edit is floating: false
    //INFO : hairpanel is floating: false
    //INFO : keying_panel is floating: false
    //INFO : kp_toolbar is floating: false
    //INFO : layer is floating: false
    //INFO : layer_control is floating: false
    //INFO : layers_toolbar is floating: false
    //INFO : palette is floating: false
    //INFO : playback is floating: false
    //INFO : script_cmdline is floating: false
    //INFO : selection is floating: false
    //INFO : snap is floating: false
    //INFO : timeline is floating: false
    //INFO : timerange is floating: false
    //INFO : toolbar is floating: false
    //INFO : transformation is floating: false
    //INFO : vm is floating: false
    //INFO : weightpanel is floating: false