ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTrayButton Class / Layout Property

In This Topic
    Layout Property (LayoutTrayButton)
    In This Topic
    Gets the underlying Layout of the associated LayoutView.
    Syntax
    protected Layout Layout {get;}
    Protected ReadOnly Property Layout As Layout

    Property Value

    The associated Layout
    Remarks

    Only non-null if this ArcGIS.Desktop.Mapping.TrayButton has been added to a LayoutView's Tray.

    This may initially be null, as the view is being constructed. Override the TrayButton.OnViewChanged method to be told when the view is made available.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also