Domore.Async.TextReading.Windows 11.0.0

dotnet add package Domore.Async.TextReading.Windows --version 11.0.0
                    
NuGet\Install-Package Domore.Async.TextReading.Windows -Version 11.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Domore.Async.TextReading.Windows" Version="11.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Domore.Async.TextReading.Windows" Version="11.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Domore.Async.TextReading.Windows" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Domore.Async.TextReading.Windows --version 11.0.0
                    
#r "nuget: Domore.Async.TextReading.Windows, 11.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Domore.Async.TextReading.Windows@11.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Domore.Async.TextReading.Windows&version=11.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Domore.Async.TextReading.Windows&version=11.0.0
                    
Install as a Cake Tool

Domore.Async.TextReading.Windows

Domore.Async.TextReading.Windows provides a WPF control for displaying text as it is decoded by Domore.Async.TextReading. The control is read-only, reports the detected encoding and load status, and cancels an in-progress decode when its source changes.

Use the WPF control

Reference the Domore.Async.TextReading.Windows project or package, then declare the domore XAML namespace:

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:domore="http://schemas.domore.local/winfx/2026/xaml/presentation">
  <domore:TextReader
      TextReaderSource="logs\app.log"
      TextReaderSourceLengthMax="52428800"
      TextWrapping="NoWrap"
      VerticalScrollBarVisibility="Auto"/>
</Window>

TextReaderSource accepts an IStreamText, a file path, a FileInfo, or a local file Uri. Relative string paths are resolved against the application directory. For unsupported values, non-file URIs, and invalid paths, null is returned as the source, so nothing is decoded. File metadata is read off the UI thread; missing file paths are retained so Reload() can retry them later.

TextReaderSourceLengthMax limits the source size in bytes; null means no limit. Set TextReaderOptions to customize encoding detection, or leave it null to use the decoder's defaults. TextReaderEnabled controls whether decoding runs.

The read-only status properties TextReaderLoading, TextReaderSuccess, and TextReaderEncoding report progress and the result. TextReaderSourceChanged, TextReaderLoadingChanged, TextReaderSuccessChanged, and TextReaderEncodingChanged are available as routed events.

Supported frameworks

.NET 6, .NET 8, and .NET 10 on Windows.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.0 83 10/5/2026
10.6.4 100 9/28/2026
10.6.3 89 9/28/2026
10.6.2 91 9/27/2026
10.6.1 82 9/27/2026
10.6.0 101 9/27/2026
10.5.0 94 9/26/2026