Dock
This commit is contained in:
parent
b1d3ec73c9
commit
693d12b61c
35 changed files with 389 additions and 269 deletions
33
app/InkForge.Desktop/Views/WorkspacesView.axaml
Normal file
33
app/InkForge.Desktop/Views/WorkspacesView.axaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
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:reactiveui="http://reactiveui.net"
|
||||
xmlns:local="using:InkForge.Desktop.Views"
|
||||
xmlns:inkforge="app:InkForge"
|
||||
xmlns:vm="using:InkForge.Desktop.ViewModels"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="InkForge.Desktop.Views.WorkspacesView"
|
||||
x:DataType="vm:WorkspacesViewModel"
|
||||
Classes.HasWorkspace="{CompiledBinding Workspace}">
|
||||
|
||||
<UserControl.Styles>
|
||||
<Style Selector="local|WorkspacesView">
|
||||
<Style Selector="^:not(.HasWorkspace)">
|
||||
<Setter Property="Content">
|
||||
<Template>
|
||||
<TextBlock>
|
||||
No workspace selected.
|
||||
</TextBlock>
|
||||
</Template>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style Selector="^.HasWorkspace">
|
||||
<Setter Property="Content"
|
||||
Value="{CompiledBinding Workspace}" />
|
||||
</Style>
|
||||
</Style>
|
||||
</UserControl.Styles>
|
||||
</UserControl>
|
||||
Loading…
Add table
Add a link
Reference in a new issue