ArcGIS Pro 2.7 API Reference Guide
PreviewImage Property

ArcGIS.Desktop.Mapping Namespace > StyleItem Class : PreviewImage Property
Gets the preview image for the style item.
Syntax
public ImageSource PreviewImage {get;}
Public ReadOnly Property PreviewImage As ImageSource
Remarks
The size of the preview image is determined by the PatchHeight and PatchWidth properties of the style item.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StyleItem Class
StyleItem Members