mirror of
https://github.com/ckaczor/Common.Wpf.git
synced 2026-02-11 02:22:35 -05:00
Add generic category window to WPF library
This commit is contained in:
36
Windows/CategoryWindow.xaml
Normal file
36
Windows/CategoryWindow.xaml
Normal file
@@ -0,0 +1,36 @@
|
||||
<Window x:Class="Common.Wpf.Windows.CategoryWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="[Title]"
|
||||
Height="320"
|
||||
Width="566"
|
||||
ResizeMode="CanResize"
|
||||
WindowStartupLocation="CenterScreen">
|
||||
<Grid>
|
||||
<ListBox HorizontalAlignment="Left"
|
||||
Name="CategoryList"
|
||||
Width="126"
|
||||
SelectionChanged="HandleSelectedCategoryChanged"
|
||||
Margin="12,12,0,41" />
|
||||
<ContentControl Margin="144,12,12,41"
|
||||
Name="CategoryContent"
|
||||
IsTabStop="False" />
|
||||
<Button Content="[OK]"
|
||||
Height="23"
|
||||
HorizontalAlignment="Right"
|
||||
Margin="0,0,93,12"
|
||||
Name="OkayButton"
|
||||
VerticalAlignment="Bottom"
|
||||
Width="75"
|
||||
IsDefault="True"
|
||||
Click="HandleOkayButtonClick" />
|
||||
<Button Content="[Cancel]"
|
||||
Margin="0,0,12,12"
|
||||
Name="CancelButton"
|
||||
Height="23"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Right"
|
||||
Width="75"
|
||||
IsCancel="True" />
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user