mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add model for media.
This commit is contained in:
@@ -103,7 +103,13 @@
|
||||
<TextBlock Text="{Binding Name}" />
|
||||
</StackPanel>
|
||||
</TreeDataTemplate>
|
||||
<TreeDataTemplate DataType="models:DeviceModel">
|
||||
<TreeDataTemplate DataType="models:DeviceModel" ItemsSource="{Binding Media}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Width="24" Height="24" Source="{Binding Icon}" />
|
||||
<TextBlock Text="{Binding Name}" />
|
||||
</StackPanel>
|
||||
</TreeDataTemplate>
|
||||
<TreeDataTemplate DataType="models:MediaModel">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Width="24" Height="24" Source="{Binding Icon}" />
|
||||
<TextBlock Text="{Binding Name}" />
|
||||
|
||||
Reference in New Issue
Block a user