/
SergeyReHub
/
WPF_Project_TeraTeams
Обзор
Документация
Войти
/
SergeyReHub
/
WPF_Project_TeraTeams
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CustomControls/BindablePasswordBoxNotSecure.xaml
32 строки
2 KB
SergeyReHub
Code_commit
08 дек 2024, 11:43
08 дек 2024, 11:43
33f488f
Код
Авторство
О чём код?
<UserControl x:Class="CursovayaRybakov.CustomControls.BindablePasswordBoxNotSecure" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:CursovayaRybakov.CustomControls" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> <PasswordBox x:Name="PasswordReg" materialDesign:HintAssist.Hint="Введите пароль" BorderThickness="0" materialDesign:PasswordBoxAssist.Password="{Binding Password2, Mode=TwoWay}" materialDesign:TextFieldAssist.HasClearButton="True" IsEnabled="{Binding ElementName=RevealPasswordFloatingEnabled, Path=IsChecked}" Style="{StaticResource MaterialDesignFloatingHintRevealPasswordBox}" Padding="0 10 0 0" materialDesign:TextFieldAssist.UnderlineBrush="Black" materialDesign:HintAssist.Foreground="Gray" Foreground="#191919" > <PasswordBox.Resources > <Style TargetType="materialDesign:PackIcon" BasedOn="{StaticResource {x:Type materialDesign:PackIcon}}" > <Setter Property="Width" Value="30" /> <Setter Property="Height" Value="20" /> <Setter Property="Foreground" Value="#191919"/> </Style> </PasswordBox.Resources> </PasswordBox> </UserControl>