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