aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogViewer/ui/IconCommand.itmp
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/DebugLogViewer/ui/IconCommand.itmp')
-rw-r--r--Samples/DebugLogViewer/ui/IconCommand.itmp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Samples/DebugLogViewer/ui/IconCommand.itmp b/Samples/DebugLogViewer/ui/IconCommand.itmp
new file mode 100644
index 00000000..8f648dd5
--- /dev/null
+++ b/Samples/DebugLogViewer/ui/IconCommand.itmp
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<Button Command="{}" MinimumSize="0,0" >
+ <Template>
+ <Border Style="WindowIconBorder" Width="16" Height="16" IsVisible="{./IsEnabled}">
+ <Image Path="{./Icon}" Tooltip="{./Caption}"/>
+ </Border>
+ </Template>
+</Button>
+
+