MewExtendedToolkit.Html
1.2.4
dotnet add package MewExtendedToolkit.Html --version 1.2.4
NuGet\Install-Package MewExtendedToolkit.Html -Version 1.2.4
<PackageReference Include="MewExtendedToolkit.Html" Version="1.2.4" />
<PackageVersion Include="MewExtendedToolkit.Html" Version="1.2.4" />
<PackageReference Include="MewExtendedToolkit.Html" />
paket add MewExtendedToolkit.Html --version 1.2.4
#r "nuget: MewExtendedToolkit.Html, 1.2.4"
#:package MewExtendedToolkit.Html@1.2.4
#addin nuget:?package=MewExtendedToolkit.Html&version=1.2.4
#tool nuget:?package=MewExtendedToolkit.Html&version=1.2.4
MewExtendedToolkit
MewExtendedToolkit is a .NET library with custom controls for the aprillz/MewUI framework. It includes controls to show html and rtf documents.
| Description | Value |
|---|---|
| License | The MIT License (MIT) |
| Documentation | http://jeremyansel.github.io/MewExtendedToolkit |
| Source code | https://github.com/JeremyAnsel/MewExtendedToolkit |
| Nuget | https://www.nuget.org/packages/MewExtendedToolkit |
| Nuget | https://www.nuget.org/packages/MewExtendedToolkit.Html |
| Build | https://ci.appveyor.com/project/JeremyAnsel/mewextendedtoolkit/branch/main |
Controls
MewExtendedToolkit includes these controls:
- AboutBox
- InputBox
- TransformBox
- Wizard
MewExtendedToolkit.Html includes these controls:
- HtmlLabel
- HtmlPanel
MewExtendedToolkit Controls
Here are the MewExtendedToolkit controls.
AboutBox
To show an AboutBox:
new AboutBox()
.Details("This tool uses these components:\n- MewUI by Aprillz: https://github.com/aprillz/MewUI")
.ShowDialog()
InputBox
To show an InputBox:
InputBox.ShowPrompt("Title", "Message", "placeholder text")
TransformBox
To create a TransformBox:
new TransformBox()
.Scale(1, -1)
.Translate(100, 50)
.RotationDegrees(15)
.Child(new TextBlock().FontSize(48).Text("Hello, World!"))
Wizard
To create a Wizard:
new Wizard()
.Add(new WizardPage("Welcome Page Title", "Welcome Page Description"))
.Add(new WizardPage("Page 1 Title", "Page 1 Description"))
.Add(new WizardPage("Page 2 Title", "Page 2 Description"))
.Add(new WizardPage("Finish Page Title", "Finish Page Description").CanFinish())
MewExtendedToolkit.Html Controls
MewExtendedToolkit.Html controls are based on the ArthurHub/HTML-Renderer framework. Support for RTF documents is added via the JeremyAnsel/SharpRtfConvert library.
Here are the MewExtendedToolkit.Html controls.
HtmlLabel
To show a HtmlLabel:
new HtmlLabel()
.Text("<html><body><div style=\"color: green; font-size: 48px;\">Hello, <b>World</b><i>!</i></div></body></html>")
HtmlPanel
To show a HtmlPanel:
new HtmlPanel()
.Text("<html><body><div style=\"font-size: 48px;\">Line 1</div><br /><div style=\"font-size: 48px;\">Line 2</div></body></html>")
The HtmlPanel control supports RTF documents.
new HtmlPanel().LoadRtfText(text);
new HtmlPanel().LoadRtfFile(fileName);
new HtmlPanel().LoadRtfFile(stream);
Sample
This repository contains a Sample application to show and test the different controls.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Aprillz.MewUI.Core (>= 0.21.1)
- HtmlRenderer.Core (>= 1.6.1)
- SharpRtfConvert (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.