Skip to content

Commit

Permalink
feat: add export view (#3)
Browse files Browse the repository at this point in the history
* feat: add export views

* fix: fix Binding property name

* build: change version of Presentation

* chore: update packages
  • Loading branch information
sandre58 authored May 21, 2024
1 parent 1d1b645 commit a77440c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/MyNet.Wpf.Presentation/MyNet.Wpf.Presentation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>A comprehensive collection of controls, graphical elements, and views designed for accelerating WPF application development.</Description>
<PackageTags>MyNet;UI;Xaml;Presentation;Wpf</PackageTags>
<VersionPrefix>2.1.0</VersionPrefix>
<VersionPrefix>2.2.1</VersionPrefix>
</PropertyGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions src/MyNet.Wpf.Presentation/Views/Export/ExportView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<my:ContentDialog.Footer>
<my:SimpleStackPanel HorizontalAlignment="Right" Orientation="Horizontal">
<ToggleButton Style="{StaticResource MyNet.Styles.ToggleButton.Switch}" Content="{my:Resource SaveConfiguration}" IsChecked="{Binding SaveConfiguration}" />
<ToggleButton Style="{StaticResource MyNet.Styles.ToggleButton.Switch}" Content="{my:Resource SaveConfiguration}" IsChecked="{Binding SaveConfigurationOnValidate}" />
<Button Style="{StaticResource MyNet.Styles.Button.Reset}" HorizontalAlignment="Right" Command="{Binding ResetCommand}" />
<Button Style="{StaticResource MyNet.Styles.Button.Cancel}" HorizontalAlignment="Right" Command="{Binding CancelCommand}" />
<Button Style="{StaticResource MyNet.Styles.Button.Validate}" HorizontalAlignment="Right" Command="{Binding ExportAndCloseCommand}" />
Expand Down Expand Up @@ -104,7 +104,6 @@
</my:SimpleStackPanel>
</Grid>
<ListView Grid.Row="4"
dd:DragDrop.DropHandler="{Binding DropHandler}"
dd:DragDrop.IsDragSource="True"
dd:DragDrop.IsDropTarget="True"
dd:DragDrop.UseDefaultDragAdorner="True"
Expand Down Expand Up @@ -133,7 +132,7 @@
<GridViewColumn my:GridViewColumnAssist.Width="*" Header="{my:Resource ColumnHeader}">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBlock x:Name="text" Text="{Binding Item.DisplayName.Value}" />
<TextBlock x:Name="text" Text="{Binding Item.Value}" />
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding IsSelected}" Value="False">
<Setter TargetName="text" Property="Opacity" Value="{StaticResource MyNet.Opacity.Secondary}" />
Expand Down
2 changes: 1 addition & 1 deletion src/MyNet.Wpf/MyNet.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="MaterialDesignThemes" Version="5.0.1-ci633" />
<PackageReference Include="MyNet.Humanizer" Version="1.0.0" />
<PackageReference Include="MyNet.Observable" Version="1.2.0" />
<PackageReference Include="MyNet.UI" Version="3.0.0" />
<PackageReference Include="MyNet.UI" Version="3.1.0" />
<PackageReference Include="MyNet.Xaml.Html" Version="1.0.0" />
<PackageReference Include="MyNet.Xaml.Merger.MSBuild" Version="2.0.1">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit a77440c

Please sign in to comment.