ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / Legend Class / CanApplyStyle Method
The style item to check whether its styling can be applied

In This Topic
    CanApplyStyle Method (Legend)
    In This Topic
    Gets whether the StyleItem can be applied
    Syntax
    public override bool CanApplyStyle( 
       StyleItem styleItem
    )
    Public Overrides NotOverridable Function CanApplyStyle( _
       ByVal styleItem As StyleItem _
    ) As Boolean

    Parameters

    styleItem
    The style item to check whether its styling can be applied

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also