Install the control package into an Avalonia application:
dotnet add package HexView
The current project targets Avalonia 11.3.12, so keep the host app on a compatible Avalonia line.
Use the control namespace in XAML:
xmlns:hex="clr-namespace:HexView.Avalonia.Controls;assembly=HexView"
HexView is not a drop-in file loader by itself. You must supply:
LineReaderHexFormatterFor editable scenarios you normally also supply:
ByteWriteActionEditedOffsetsProviderThe repository already includes sample hosts:
samples/HexView.Base: shared views and interaction logicsamples/HexView.Desktop: desktop app entry pointsamples/HexView.Console: console-flavored sample hostThe documentation site uses Lunet, mirroring the TreeDataGrid repository pattern.
From repository root:
dotnet tool restore
./build-docs.sh
./serve-docs.sh
PowerShell:
./build-docs.ps1
./serve-docs.ps1