aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/FileDialog.template
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-12-10 18:48:30 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-12-10 18:48:30 +0100
commit3c6887e62dcce8d3e1c9693eaf580932521b4014 (patch)
tree5cf08a7589dce289d8dca6d60e328b32935a63a5 /Templates/FileDialog.template
parentfd3cf7597b2c3084c41993fe2043a484466c4fa9 (diff)
netcore support
Diffstat (limited to 'Templates/FileDialog.template')
-rw-r--r--Templates/FileDialog.template64
1 files changed, 0 insertions, 64 deletions
diff --git a/Templates/FileDialog.template b/Templates/FileDialog.template
deleted file mode 100644
index 42b5ec0c..00000000
--- a/Templates/FileDialog.template
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<Border BorderWidth="1" Foreground="White" CornerRadius="{./CornerRadius}"
- Background="{./Background}"
- MouseEnter="./onBorderMouseEnter"
- MouseLeave="./onBorderMouseLeave">
- <VerticalStack Spacing="0">
- <HorizontalStack Background="{./TitleBarBackground}"
- Name="hs" Margin="2" Spacing="0" Height="Fit">
- <GraphicObject Width="5"/>
- <Image Margin="1" Width="12" Height="12" Path="{./Icon}"/>
- <Label Width="Stretched" Foreground="{./TitleBarForeground}" Margin="1" TextAlignment="Center" Text="{./Caption}" />
- <Border CornerRadius="0" BorderWidth="1" Foreground="Transparent" Height="12" Width="12"
- MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
- <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Images.Icons.exit2.svg"
- MouseClick="./butQuitPress"/>
- </Border>
- <GraphicObject Width="5"/>
- </HorizontalStack>
- <Container Name="Content" MinimumSize="50,50" Background="Jet">
- <VerticalStack Margin="1">
- <HorizontalStack Height="Fit">
- <Button Fit="true" Caption="Up" MouseClick="./goUpDirClick">
- <Image Margin="2" Width="14" Height="14"
- Path="#Crow.Icons.level-up.svg"/>
- </Button>
- <TextBox Style="TxtInFileDialog" Text="{²./CurrentDirectory}"/>
- </HorizontalStack>
- <DirectoryView ShowHidden="{²../cbShowHidden.IsChecked}" FileMask="{²../txtFileMask.Text}" ShowFiles="{²../cbShowFiles.IsChecked}" Name="fv" CurrentDirectory="{./CurrentDirectory}" SelectedItemChanged="./onFVSelectedItemChanged"
- Width="100%" Margin="0" MouseDoubleClick="./onFileSelect">
- <Template>
- <ListBox ItemTemplate="#Crow.Templates.FileItems.template" Name="fileView" Data="{./FileSystemEntries}"
- SelectedItemChanged="./onSelectedItemChanged">
- <Template>
- <HorizontalStack>
- <Scroller Name="scroller1">
- <VerticalStack Height="Fit" VerticalAlignment="Top"
- Name="ItemsContainer" Margin="0" Spacing="1"/>
- </Scroller>
- <ScrollBar Name="scrollbar1" Orientation="Vertical"
- Value="{²../scroller1.ScrollY}" Maximum="{../scroller1.MaxScrollY}"
- CursorSize="{../scroller1.ChildHeightRatio}"
- LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30"
- Width="14" />
- </HorizontalStack>
- </Template>
- </ListBox>
- </Template>
- </DirectoryView>
- <HorizontalStack Height="Fit">
- <TextBox Style="TxtInFileDialog" Text="{²./SelectedFile}"/>
- <TextBox Style="TxtInFileDialog" Width="50" Name="txtFileMask" Text="{²./SearchPattern}"/>
- </HorizontalStack>
- <HorizontalStack Margin="5" Fit="true" HorizontalAlignment="Right">
- <CheckBox Style="CheckBoxAlt" Name="cbShowFiles" Caption="Show Files" IsChecked="{²./ShowFiles}"/>
- <CheckBox Style="CheckBoxAlt" Name="cbShowHidden" Caption="Show Hidden" IsChecked="{²./ShowHidden}"/>
- </HorizontalStack>
- <HorizontalStack Fit="true" HorizontalAlignment="Right">
- <Button Caption="Ok" MouseClick="./onFileSelect"/>
- <Button Caption="Cancel" MouseClick="./onCancel"/>
- </HorizontalStack>
- </VerticalStack>
- </Container>
- </VerticalStack>
-</Border>