Skip to main content
All docs
V26.1
  • HtmlSource.FromStream(Func<CancellationToken, Task<Stream>>) Method

    Loads HTML markup from the specified Stream delegate.

    Namespace: DevExpress.Maui.HtmlEditor

    Assembly: DevExpress.Maui.HtmlEditor.dll

    NuGet Package: DevExpress.Maui.HtmlEditor

    Declaration

    public static HtmlSource FromStream(
        Func<CancellationToken, Task<Stream>> stream
    )

    Parameters

    Name Type Description
    stream Func<CancellationToken, Task<Stream>>

    The stream that contains HTML markup to display.

    Returns

    Type Description
    HtmlSource

    A source that you can pass to the HtmlEdit.TextSource property.

    See Also