diff --git a/Nuget README.md b/Nuget README.md new file mode 100644 index 0000000..9180ab3 --- /dev/null +++ b/Nuget README.md @@ -0,0 +1,42 @@ +[![Math Converter: A XAML Converter that does it all.](https://raw.githubusercontent.com/hexinnovation/MathConverter/main/ReadmeAssets/Banner.svg)](https://github.com/hexinnovation/MathConverter) + +What is MathConverter? +---------------------- + +`MathConverter` allows you to do Math in XAML. + +`MathConverter` is a powerful `Binding` converter that allows you to specify how to perform conversions directly in XAML, without needing to define a new `IValueConverter` in C# for every single conversion. + +Getting Started: +---------------- + +It's as easy as 1-2-3. + +**1)** Install the Nuget package. + +**2)** Add a `MathConverter` resource. + +```xaml + + + +``` + +The `math` namespace is defined as follows*: + +```xaml +xmlns:math="http://hexinnovation.com/math" +``` + +**3)** Do Math. Now, you can use `MathConverter` on any `Binding`. Specify a `ConverterParameter` to specify the rules of the conversion. + +```xaml + + + + + + +``` + +See [the GitHub repository](https://github.com/hexinnovation/MathConverter) for documentation and examples. diff --git a/src/MathConverter.sln b/src/MathConverter.sln index efb171c..a5c13b6 100644 --- a/src/MathConverter.sln +++ b/src/MathConverter.sln @@ -8,6 +8,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MathConverter.Demo.WPF", "D EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Readme", "Readme", "{7F4CC393-A1F5-4591-90E9-F299D83549D9}" ProjectSection(SolutionItems) = preProject + ..\Nuget README.md = ..\Nuget README.md ..\README.md = ..\README.md EndProjectSection EndProject diff --git a/src/Projects/Common/App.props b/src/Projects/Common/App.props index b585128..1d60280 100644 --- a/src/Projects/Common/App.props +++ b/src/Projects/Common/App.props @@ -16,6 +16,7 @@ smalllogo.png GitHub $(PackageTags) Converter Math Arbitrary Expressions XAML ConverterParameter IValueConverter IMultiValueConverter + README.md true MIT true @@ -30,6 +31,7 @@ +