Integrate unified control
MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
</Panel>
</Border>
- <Border x:Name="SearchDropDownDismissArea" Background="Transparent" Grid.RowSpan="2" Grid.ColumnSpan="3" IsVisible="False">
- <i:Interaction.Behaviors>
- <ic:RoutedEventTriggerBehavior RoutedEvent="{x:Static InputElement.PointerPressedEvent}">
- <ia:ChangePropertyAction TargetObject="SearchBarDropdown" PropertyName="IsVisible" Value="False" />
- <ia:ChangePropertyAction TargetObject="SearchDropDownDismissArea" PropertyName="IsVisible" Value="False" />
- </ic:RoutedEventTriggerBehavior>
- </i:Interaction.Behaviors>
- </Border>
- <searchBar:SearchBarTextPart x:Name="SearchBar" VerticalAlignment="Center" DataContext="{Binding SearchBar}" Grid.Column="1"
- HorizontalAlignment="Center" Width="280">
- <i:Interaction.Behaviors>
- <ic:RoutedEventTriggerBehavior RoutedEvent="{x:Static InputElement.PointerPressedEvent}" RoutingStrategies="Tunnel">
- <ia:ChangePropertyAction TargetObject="SearchBarDropdown" PropertyName="IsVisible" Value="True" />
- <ia:ChangePropertyAction TargetObject="SearchDropDownDismissArea" PropertyName="IsVisible" Value="True" />
- </ic:RoutedEventTriggerBehavior>
- </i:Interaction.Behaviors>
- </searchBar:SearchBarTextPart>
- <searchBar:SearchBarDropdown x:Name="SearchBarDropdown" Width="500" MaxHeight="500" VerticalAlignment="Top" IsVisible="False" Grid.Row="1"
- Grid.Column="1" DataContext="{Binding SearchBar}">
+ <searchBar:SearchBar DataContext="{Binding SearchBar}" Grid.RowSpan="3" Grid.ColumnSpan="3"></searchBar:SearchBar>
- </searchBar:SearchBarDropdown>
</Grid>
</Panel>
<ExperimentalAcrylicBorder DockPanel.Dock="Left" IsHitTestVisible="False"

Integrate unified control