DevExpress.Maui.XamlTools
1.1.0
Prefix Reserved
dotnet tool install --global DevExpress.Maui.XamlTools --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local DevExpress.Maui.XamlTools --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DevExpress.Maui.XamlTools&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DevExpress.Maui.XamlTools --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
Starting from v24.1, DevExpress .NET MAUI Controls support the common xaml namespace: xmlns:dx="http://schemas.devexpress.com/maui"
.
This dotnet tool can update all XAML files in your application. This tool replaces multiple xaml clr-namespaces with a new common namespace.
Original XAML:
<ContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Demo.Views.CustomersPage"
xmlns:dx="clr-namespace:DevExpress.Maui.Core;assembly=DevExpress.Maui.Core"
xmlns:dxe="clr-namespace:DevExpress.Maui.Editors;assembly=DevExpress.Maui.Editors"
xmlns:dxc="clr-namespace:DevExpress.Maui.Controls;assembly=DevExpress.Maui.Controls"
xmlns:dxcv="clr-namespace:DevExpress.Maui.CollectionView;assembly=DevExpress.Maui.CollectionView"
xmlns:dxp="clr-namespace:DevExpress.Maui.Pdf;assembly=DevExpress.Maui.Pdf"
xmlns:dxh="clr-namespace:DevExpress.Maui.HtmlEditor;assembly=DevExpress.Maui.HtmlEditor" ...>
<Grid>
<dx:DXStackLayout />
<dxc:DXToolbar />
<dxe:TextEdit />
<dxcv:DXCollectionView />
<dxp:PdfViewer />
<dxh:HtmlEdit />
</Grid>
</ContentPage>
Patched XAML:
<ContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:dx="http://schemas.devexpress.com/maui"
x:Class="Demo.Views.CustomersPage" ...>
<Grid>
<dx:DXStackLayout />
<dx:DXToolbar />
<dx:TextEdit />
<dx:DXCollectionView />
<dx:PdfViewer />
<dx:HtmlEdit />
</Grid>
</ContentPage>
How to Use
- Install:
dotnet tool install DevExpress.Maui.XamlTools --global
- Set working directory to your application's path
- Run:
dx-maui-xamltools -r
- Uninstall:
dotnet tool uninstall DevExpress.Maui.XamlTools --global
Usage:
Usage: dx-maui-xamltools [options] <Path>
Arguments:
Path The path to a file or folder
Default value is: Current Working Directory.
Options:
-?|-h|--help Show help information.
-r|--recursive Recursive
Default value is: False.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.1.0 | 809 | 6/6/2024 |