RtlUranium 1.0.0
dotnet add package RtlUranium --version 1.0.0
NuGet\Install-Package RtlUranium -Version 1.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="RtlUranium" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RtlUranium" Version="1.0.0" />
<PackageReference Include="RtlUranium" />
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 RtlUranium --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RtlUranium, 1.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 RtlUranium@1.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=RtlUranium&version=1.0.0
#tool nuget:?package=RtlUranium&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RtlUranium 🐝
RTL (Right-to-Left) support for UraniumUI Material Controls in .NET MAUI.
Fixes Title animation, label alignment, border stroke gap, and icon positioning for RTL languages like Persian, Arabic, Hebrew, and Urdu.
Installation
dotnet add package RtlUranium
Or via NuGet Package Manager:
Install-Package RtlUranium
Usage
XAML Namespace
xmlns:rtl="clr-namespace:RtlUranium.Controls;assembly=RtlUranium"
Basic Usage
<rtl:RtlTextField Title="شماره موبایل"
Keyboard="Numeric"
FlowDirection="RightToLeft"
Text="{Binding PhoneNumber}" />
<rtl:RtlTextField Title="رمز عبور"
IsPassword="True"
FlowDirection="RightToLeft"
Text="{Binding Password}" />
Force RTL Mode
<rtl:RtlTextField Title="نام کاربری"
ForceRtl="True"
Text="{Binding Username}" />
With Validation
<rtl:RtlTextField Title="ایمیل"
FlowDirection="RightToLeft"
Text="{Binding Email}">
<validation:RequiredValidation />
<validation:RegexValidation Pattern="^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$" />
</rtl:RtlTextField>
What's Fixed?
| Issue | LTR (Original) | RTL (RtlUranium) |
|---|---|---|
| Title AnchorX | 0 (left) | 1 (right) |
| Title TranslationX | Positive | Negative (calculated) |
| Title HorizontalOptions | Start | End |
| Title float animation | Moves right | Moves left |
| Icon position | Left side | Right side |
| Border gap | Left-top | Right-top |
Supported Languages
- 🇮🇷 Persian (فارسی)
- 🇸🇦 Arabic (العربية)
- 🇮🇱 Hebrew (עברית)
- 🇵🇰 Urdu (اردو)
- Any RTL language
Requirements
- .NET 10.0
- .NET MAUI
- UraniumUI.Material 2.x
License
MIT
📋 نحوه استفاده در پروژه Candoot
xmlns:rtl="clr-namespace:RtlUranium.Controls;assembly=RtlUranium"
<Style TargetType="rtl:RtlTextField">
<Setter Property="TextColor"
Value="{AppThemeBinding Light={StaticResource PrimaryText},
Dark={StaticResource PrimaryDarkText}}" />
<Setter Property="BorderColor"
Value="{AppThemeBinding Light=#E8DCC8, Dark=#3A3020}" />
<Setter Property="AccentColor"
Value="{AppThemeBinding Light={StaticResource Primary},
Dark={StaticResource PrimaryDark}}" />
<Setter Property="InputBackgroundColor"
Value="{AppThemeBinding Light=#FFFCF5, Dark=#2A2415}" />
<Setter Property="BackgroundColor" Value="Transparent" />
<Setter Property="FontFamily" Value="DefaultFont"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FlowDirection" Value="RightToLeft"/>
<Setter Property="ForceRtl" Value="True"/>
<Setter Property="TitleColor"
Value="{AppThemeBinding Light={StaticResource Primary},
Dark={StaticResource PrimaryDark}}" />
<Setter Property="AllowClear" Value="True"/>
</Style>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.41)
- UraniumUI.Material (>= 2.14.0)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.41)
- UraniumUI.Material (>= 2.14.0)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.41)
- UraniumUI.Material (>= 2.14.0)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.41)
- UraniumUI.Material (>= 2.14.0)
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 |
|---|---|---|
| 1.0.0 | 34 | 2/20/2026 |