add a watermark to labels to make it really obvious.
MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml
WalletWasabi.Fluent/Controls/TagsBox.axaml
MinimumPrefixLength="1"
Focusable="False"
IsTextCompletionEnabled="True"
+ Watermark="{Binding #PART_Border.TemplatedParent.Watermark}"
Items="{Binding #PART_Border.TemplatedParent.Suggestions}" />
</c:ConcatenatingWrapPanel.ConcatenatedChildren>
</c:ConcatenatingWrapPanel>
</Style>
-
</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
@@ -20,6 +20,9 @@ namespace WalletWasabi.Fluent.Controls
{
public class TagsBox : TemplatedControl
{
+ public static readonly StyledProperty<string> WatermarkProperty =
+ TextBox.WatermarkProperty.AddOwner<TagsBox>();
+
public static readonly StyledProperty<bool> RestrictInputToSuggestionsProperty =
AvaloniaProperty.Register<TagsBox, bool>(nameof(RestrictInputToSuggestions));
@@ -71,6 +74,12 @@ namespace WalletWasabi.Fluent.Controls
set => SetAndRaise(ItemsProperty, ref _items, value);
}
+ public string Watermark
+ {
+ get => GetValue(WatermarkProperty);
+ set => SetValue(WatermarkProperty, value);
+ }
+
public bool RestrictInputToSuggestions
{
get => GetValue(RestrictInputToSuggestionsProperty);

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
<DockPanel>
<Label DockPanel.Dock="Left" Content="_Labels:" Target="LabelTagBox" />
<c:TagsBox x:Name="LabelTagBox"
+ Watermark="Alice, Bob, Coinbase, Binance"
TagSeparator=","
Items="{Binding Labels}"
Suggestions="{Binding PriorLabels}"

add a watermark to labels to make it really obvious.