共用方式為


CoreWebView2ContextMenuItem.Icon Property

Definition

Gets the Icon for the CoreWebView2ContextMenuItem in PNG, Bitmap or SVG formats in the form of an IStream.

public System.IO.Stream Icon { get; }
member this.Icon : System.IO.Stream
Public ReadOnly Property Icon As Stream

Property Value

Remarks

Stream will be rewound to the start of the image data before being read.

Applies to