This version of Unity is unsupported.

CustomStyleResolvedEvent.customStyle

public UIElements.ICustomStyle customStyle;

Description

Returns the custom style properties accessor for the targeted VisualElement.