Skip to content

Commit

Permalink
Update GalleryPage.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Sep 5, 2023
1 parent d8078d5 commit c198a49
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions dev/Views/GalleryPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<Page x:Class="ArtWork.Views.GalleryPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:community="using:CommunityToolkit.WinUI.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:i="using:Microsoft.Xaml.Interactivity"
xmlns:ic="using:Microsoft.Xaml.Interactions.Core"
xmlns:labs="using:CommunityToolkit.Labs.WinUI"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:settings="using:ArtWork.Common"
xmlns:tables="using:ArtWork.Database.Tables"
Expand All @@ -32,18 +32,18 @@
<TextBlock VerticalAlignment="Center"
Style="{ThemeResource BaseTextBlockStyle}"
Text="Search In" />
<labs:Segmented SelectionMode="Multiple">
<labs:SegmentedItem Content="Title"
IsSelected="{x:Bind ViewModel.IsTitleSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<labs:SegmentedItem Content="Gallery"
IsSelected="{x:Bind ViewModel.IsGallerySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<labs:SegmentedItem Content="Sig"
IsSelected="{x:Bind ViewModel.IsSigSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<labs:SegmentedItem Content="Country"
IsSelected="{x:Bind ViewModel.IsCountrySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<labs:SegmentedItem Content="City"
IsSelected="{x:Bind ViewModel.IsCitySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</labs:Segmented>
<community:Segmented SelectionMode="Multiple">
<community:SegmentedItem Content="Title"
IsSelected="{x:Bind ViewModel.IsTitleSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<community:SegmentedItem Content="Gallery"
IsSelected="{x:Bind ViewModel.IsGallerySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<community:SegmentedItem Content="Sig"
IsSelected="{x:Bind ViewModel.IsSigSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<community:SegmentedItem Content="Country"
IsSelected="{x:Bind ViewModel.IsCountrySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<community:SegmentedItem Content="City"
IsSelected="{x:Bind ViewModel.IsCitySelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
</community:Segmented>

<ToggleSwitch x:Name="TgShowNudes"
IsOn="{x:Bind settings:ArtWorkHelper.Settings.IsShowNudes, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Expand Down

0 comments on commit c198a49

Please sign in to comment.