rename attachedprop
RENAME
WalletWasabi.Fluent/Validation/TextBoxValidation.cs
WalletWasabi.Fluent/Validation/CheckMarkStatus.cs
+using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
namespace WalletWasabi.Fluent.Validation
{
- public class TextBoxValidation : AvaloniaObject
+ public class CheckMarkStatus
{
public static readonly AttachedProperty<bool> IsEnabledProperty =
- AvaloniaProperty.RegisterAttached<IAvaloniaObject, bool>("IsEnabled", typeof(TextBoxValidation),
- defaultBindingMode: BindingMode.TwoWay);
+ AvaloniaProperty.RegisterAttached<CheckMarkStatus, IAvaloniaObject, bool>("IsEnabled");
public static bool GetIsEnabled(IAvaloniaObject obj)
{
- return (bool) obj.GetValue(IsEnabledProperty);
+ return obj.GetValue(IsEnabledProperty);
}
public static void SetIsEnabled(IAvaloniaObject obj, bool value)

MODIFY
WalletWasabi.Fluent/Views/AddWallet/Create/ConfirmRecoveryWordsView.axaml
WalletWasabi.Fluent/Views/AddWallet/Create/ConfirmRecoveryWordsView.axaml
<DockPanel HorizontalAlignment="Left">
<!-- <PathIcon Classes="checkMark" Margin="15 42 0 0" Opacity="{Binding IsConfirmed, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}" VerticalAlignment="Top" DockPanel.Dock="Right" /> -->
<Label Content="{Binding Index, StringFormat=Recovery word {0}}" DockPanel.Dock="Top" />
- <TextBox Watermark="Type the word here..." Classes="hasCheckMarkBoolean" validation:TextBoxValidation.IsEnabled="{Binding IsConfirmed}" Text="{Binding Input}" IsEnabled="{Binding !IsConfirmed}" DockPanel.Dock="Top" Width="350">
+ <TextBox Watermark="Type the word here..." Classes="hasCheckMarkBoolean" validation:CheckMarkStatus.IsEnabled="{Binding IsConfirmed}" Text="{Binding Input}" IsEnabled="{Binding !IsConfirmed}" DockPanel.Dock="Top" Width="350">
<i:Interaction.Behaviors>
<behaviors:FocusNextItemBehavior IsFocused="{Binding !IsConfirmed}" />
</i:Interaction.Behaviors>

rename attachedprop