ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTrayButton Class / LayoutView Property

In This Topic
    LayoutView Property (LayoutTrayButton)
    In This Topic
    Gets the associated view as a LayoutView.
    Syntax
    protected LayoutView LayoutView {get;}
    Protected ReadOnly Property LayoutView As LayoutView

    Property Value

    The associated LayoutView
    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