Xaml.Advanced
0.0.1
dotnet add package Xaml.Advanced --version 0.0.1
NuGet\Install-Package Xaml.Advanced -Version 0.0.1
<PackageReference Include="Xaml.Advanced" Version="0.0.1" />
<PackageVersion Include="Xaml.Advanced" Version="0.0.1" />
<PackageReference Include="Xaml.Advanced" />
paket add Xaml.Advanced --version 0.0.1
#r "nuget: Xaml.Advanced, 0.0.1"
#:package Xaml.Advanced@0.0.1
#addin nuget:?package=Xaml.Advanced&version=0.0.1
#tool nuget:?package=Xaml.Advanced&version=0.0.1
Xaml.Advanced
Xaml.Advanced is not a large library of custom controls for XAML.
Version 0.0.1
Contains two elements TextField, PasswordField.
1. TextField
For the most part, it does not differ from the standard xaml TextBox element, it also supports binding for most of its properties. Its main difference is the presence of the properties cornerRadius, BorderBrushFocused and PlaceHolder.
- CornerRadius - property responsible for rounding corners.
- PlaceHolder - property responsible for what text will be displayed while the Text property is empty.
- BorderBrushFocused - property responsible for what color BorderBrush will be when the element has focus.
2. PasswordField
For the most part, it does not differ from the standard xaml of the PasswordBox element, it also supports binding for most of its properties (including the Password property). Its main difference is the presence of the properties cornerRadius, PlaceHolder, BorderBrushFocused and IsButtonEnable, as well as the ability to change the password display mode when the property is enabled.
The first mode, standard for PasswordBox when all characters are replaced with "●". The second is when the password is fully visible.
- CornerRadius - property responsible for rounding corners.
- PlaceHolder - property responsible for what text will be displayed while the Text property is empty.
- BorderBrushFocused - property responsible for what color BorderBrush will be when the element has focus.
- IsButtonEnable - property responsible for whether the user will have access to the button to change the password display mode.
Installation
After creating the project on the version .NET Framework 4.7.2 and higher. There are two installation options:
- Use Visual Studio.
- Manual installation.
Use Visual Studio.
In the upper panel, select 'Project > Management of NuGet packages...', then select the page 'Overview' and in the field 'Search (Ctrl + L)' enter Xaml.Advanced. Click on 'Xaml.Advanced author:Marlo_9'. Next, install the selected NuGet.
Manual installation.
After downloading the file __Xaml.Advanced.dll __. Open the project 'Solution Explorer > [Project Name]' click the PCM on 'Links' and select 'Add Link...'. Next, on the left, select the 'Overview' page, click the ' button from belowReview...' in the window that appears, select the previously installed file __Xaml.Advanced.dll __ and click 'Add'
Usage
After the installation is complete, in the window or element where you are going to use the elements of this library, you need to add the following.
Window
<Window ...
xmlns:xaml="clr-namespace:Xaml.Advanced;assembly=Xaml.Advanced">
<Grid>
<xaml:TextField/>
<xaml:PasswordField/>
</Grid>
</Window>
UserControl
<UserControl ...
xmlns:xaml="clr-namespace:Xaml.Advanced;assembly=Xaml.Advanced">
<Grid>
<xaml:TextField/>
<xaml:PasswordField/>
</Grid>
</UserControl>
'xaml' can be replaced with any other convenient word.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- No dependencies.
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 |
|---|
Summary of changes made in this release of the package.