Reperesents an image source from a Stream in the RadRichTextEditor.
Definition
Namespace:Telerik.Maui.Controls.RichTextEditor
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class RichTextStreamImageSource : RichTextImageSource
Inheritance: objectRichTextImageSourceRichTextStreamImageSource
Inherited Members
Constructors
Initializes a new instance of the RichTextStreamImageSource class.
C#
public RichTextStreamImageSource(Func<CancellationToken, Task<Stream>> stream, RichTextImageType type)
Specifies a delegate returning a Stream for the image.
typeRichTextImageTypeSpecifies the format type of the image.
Properties
Gets the delegate returning a Stream for the image.
C#
public Func<CancellationToken, Task<Stream>> Stream { get; }
Gets the format type of the image.
C#
public RichTextImageType Type { get; }
Methods
ToImageSource()
ImageSource
Converts the current RichTextStreamImageSource to an ImageSource.
C#
public override ImageSource ToImageSource()
ImageSource
The converted ImageSource.
Overrides: