Add CheckComboBox
This commit is contained in:
@ -14,15 +14,14 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Extended.Wpf.Toolkit" Version="4.5.0" />
|
||||
<PackageReference Include="ini-parser" Version="2.5.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="6.0.16" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1722.45" />
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1774.30" />
|
||||
<PackageReference Include="PdfSharp" Version="1.50.5147" />
|
||||
<PackageReference Include="PuppeteerSharp" Version="9.1.0" />
|
||||
<PackageReference Include="PuppeteerSharp" Version="10.0.0" />
|
||||
<PackageReference Include="RazorLight" Version="2.3.1" />
|
||||
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
|
||||
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
|
||||
|
@ -44,5 +44,7 @@
|
||||
Margin="50,200,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
<Button x:Name="Button4" Content="PDF Erzeugen" Click="Button4_Click" Tag="Print"
|
||||
Margin="50,240,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
<Button x:Name="TestWindowButton" Content="Test Fenster" Click="TestWindowButton_Click"
|
||||
Margin="50,280,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -33,5 +33,10 @@ namespace Elwig.Windows {
|
||||
doc.Show();
|
||||
});
|
||||
}
|
||||
|
||||
private void TestWindowButton_Click(object sender, RoutedEventArgs evt) {
|
||||
var w = new TestWindow();
|
||||
w.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
16
Elwig/Windows/TestWindow.xaml
Normal file
16
Elwig/Windows/TestWindow.xaml
Normal file
@ -0,0 +1,16 @@
|
||||
<Window x:Class="Elwig.Windows.TestWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Elwig.Windows"
|
||||
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
||||
Title="Test Fenster - Elwig" MinHeight="400" MinWidth="325" Height="450" Width="800" ResizeMode="CanResize">
|
||||
<Grid>
|
||||
<xctk:CheckComboBox x:Name="_combo" Width="200"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
SelectedValue="{Binding SelectedValue}"
|
||||
SelectedItemsOverride="{Binding SelectedItems}"/>
|
||||
</Grid>
|
||||
</Window>
|
10
Elwig/Windows/TestWindow.xaml.cs
Normal file
10
Elwig/Windows/TestWindow.xaml.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace Elwig.Windows {
|
||||
public partial class TestWindow : Window {
|
||||
public TestWindow() {
|
||||
InitializeComponent();
|
||||
_combo.ItemsSource = new string[] { "Klasse A", "Klasse B", "Klasse C", "Klasse D", "Klasse E", "Klasse F" };
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user