|
17 | 17 | </Grid.RowDefinitions>
|
18 | 18 | <hc:TabControl Grid.Row="1" IsAnimationEnabled="True" IsDraggable="True" IsTabFillEnabled="True" TabItemWidth="20">
|
19 | 19 | <hc:TabItem Header="{materialDesign:PackIcon imageFrame}" ToolTip="Scenes" ScrollViewer.VerticalScrollBarVisibility="Visible">
|
20 |
| - <hc:CoverView Background="DarkGray" ItemWidth="100" ItemHeight="100" ItemContentHeight="20" |
21 |
| - ScrollViewer.VerticalScrollBarVisibility="Visible" ItemsSource="{Binding Scenes}"> |
22 |
| - <hc:CoverView.ItemHeaderTemplate> |
23 |
| - <DataTemplate> |
24 |
| - <svgc:SvgBitmap UriSource="{Binding ImgPath}"/> |
25 |
| - </DataTemplate> |
26 |
| - </hc:CoverView.ItemHeaderTemplate> |
27 |
| - <hc:CoverView.ItemTemplate> |
28 |
| - <DataTemplate> |
29 |
| - <WrapPanel Background="Green"> |
30 |
| - <TextBlock HorizontalAlignment="Stretch" Text="{Binding Name}"/> |
31 |
| - <Button Margin="2" Style="{StaticResource ButtonPrimary}" Command="{Binding ReplaceSceneCommand}">Replace Scene</Button> |
32 |
| - </WrapPanel> |
33 |
| - </DataTemplate> |
34 |
| - </hc:CoverView.ItemTemplate> |
35 |
| - </hc:CoverView> |
| 20 | + <TextBlock Text="Under
construction" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"/> |
36 | 21 | </hc:TabItem>
|
37 | 22 | <hc:TabItem IsSelected="True" Header="{materialDesign:PackIcon AccountGroup}" ToolTip="Graphics">
|
38 | 23 | <Grid>
|
|
56 | 41 | <RowDefinition Height="*"/>
|
57 | 42 | <RowDefinition Height="auto"/>
|
58 | 43 | </Grid.RowDefinitions>
|
59 |
| - <ListBox ScrollViewer.VerticalScrollBarVisibility="Visible" ItemsSource="{Binding Graphics}" SelectedItem="{Binding SelectedScene}"> |
60 |
| - <ListBox.ItemsPanel> |
61 |
| - <ItemsPanelTemplate> |
62 |
| - <WrapPanel/> |
63 |
| - </ItemsPanelTemplate> |
64 |
| - </ListBox.ItemsPanel> |
65 |
| - <ListBox.ItemTemplate> |
66 |
| - <DataTemplate> |
67 |
| - <StackPanel ToolTip="{Binding Name}" Margin="5" Orientation="Vertical"> |
68 |
| - <Image Height="115" Width="115"> |
69 |
| - <Image.Source> |
70 |
| - <DrawingImage Drawing="{Binding ImgDrawingGroup}"/> |
71 |
| - </Image.Source> |
72 |
| - </Image> |
73 |
| - <Button Margin="0 10 0 0" Style="{StaticResource ButtonPrimary}" Command="{Binding AddGraphicCommand}">Add</Button> |
74 |
| - </StackPanel> |
75 |
| - </DataTemplate> |
76 |
| - </ListBox.ItemTemplate> |
77 |
| - </ListBox> |
| 44 | + <ListBox ScrollViewer.VerticalScrollBarVisibility="Visible" ItemsSource="{Binding Graphics}" SelectedItem="{Binding SelectedGraphic}"> |
| 45 | + <ListBox.ItemsPanel> |
| 46 | + <ItemsPanelTemplate> |
| 47 | + <WrapPanel/> |
| 48 | + </ItemsPanelTemplate> |
| 49 | + </ListBox.ItemsPanel> |
| 50 | + <ListBox.ItemTemplate> |
| 51 | + <DataTemplate> |
| 52 | + <StackPanel ToolTip="{Binding Name}" Margin="5" Orientation="Vertical"> |
| 53 | + <Image Height="115" Width="115"> |
| 54 | + <Image.Source> |
| 55 | + <DrawingImage Drawing="{Binding ImgDrawingGroup}"/> |
| 56 | + </Image.Source> |
| 57 | + </Image> |
| 58 | + <Button Margin="0 10 0 0" Style="{StaticResource ButtonPrimary}" Command="{Binding AddGraphicCommand}">Add</Button> |
| 59 | + </StackPanel> |
| 60 | + </DataTemplate> |
| 61 | + </ListBox.ItemTemplate> |
| 62 | + </ListBox> |
78 | 63 | <Button Grid.Row="1" Command="{Binding LoadMoreGraphicsCommand}">Load More..</Button>
|
79 | 64 | </Grid>
|
80 | 65 | </ScrollViewer>
|
81 | 66 |
|
82 | 67 | </Grid>
|
83 | 68 | </hc:TabItem>
|
84 | 69 | <hc:TabItem Header="{materialDesign:PackIcon shape}" ToolTip="Shapes">
|
85 |
| - <WrapPanel Background="#FF3F4EE8"/> |
| 70 | + <ListBox ScrollViewer.VerticalScrollBarVisibility="Visible" ItemsSource="{Binding Shapes}" SelectedItem="{Binding SelectedShape}"> |
| 71 | + <ListBox.ItemsPanel> |
| 72 | + <ItemsPanelTemplate> |
| 73 | + <WrapPanel/> |
| 74 | + </ItemsPanelTemplate> |
| 75 | + </ListBox.ItemsPanel> |
| 76 | + <ListBox.ItemTemplate> |
| 77 | + <DataTemplate> |
| 78 | + <StackPanel ToolTip="{Binding Name}" Margin="5" Orientation="Vertical"> |
| 79 | + <Image Height="115" Width="115"> |
| 80 | + <Image.Source> |
| 81 | + <DrawingImage Drawing="{Binding ImgDrawingGroup}"/> |
| 82 | + </Image.Source> |
| 83 | + </Image> |
| 84 | + <Button Margin="0 10 0 0" Style="{StaticResource ButtonPrimary}" Command="{Binding AddGraphicCommand}">Add</Button> |
| 85 | + </StackPanel> |
| 86 | + </DataTemplate> |
| 87 | + </ListBox.ItemTemplate> |
| 88 | + </ListBox> |
86 | 89 | </hc:TabItem>
|
87 | 90 | <hc:TabItem Header="{materialDesign:PackIcon FormatLetterCase}" ToolTip="Text">
|
88 | 91 | <Grid>
|
|
123 | 126 | </Grid>
|
124 | 127 | </hc:TabItem>
|
125 | 128 | <hc:TabItem Header="{materialDesign:PackIcon music}" ToolTip="Audio">
|
126 |
| - <WrapPanel Background="#FFB23FE8"/> |
| 129 | + <TextBlock Text="Under
construction" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"/> |
127 | 130 | </hc:TabItem>
|
128 | 131 | <hc:TabItem Header="{materialDesign:PackIcon CloudUpload}">
|
129 |
| - <WrapPanel Background="#FF3FE8E8"/> |
| 132 | + <TextBlock Text="Under
construction" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"/> |
130 | 133 | </hc:TabItem>
|
131 | 134 | </hc:TabControl>
|
132 | 135 | </Grid>
|
|
0 commit comments