aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-04-20 21:48:32 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-04-20 21:48:32 +0300
commit26ede873b194b0df70979b6f1b62e0c91ca19341 (patch)
tree5b473cf20793ef1c89325fa8e04183843aefac7e /Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml
parent09eabd45ecf65d6f900b9d53428e7576bdc4d825 (diff)
downloadTango-26ede873b194b0df70979b6f1b62e0c91ca19341.tar.gz
Tango-26ede873b194b0df70979b6f1b62e0c91ca19341.zip
Working on PPC performance...
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml
new file mode 100644
index 000000000..7cd72cc40
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchVirtualizedContentControl.xaml
@@ -0,0 +1,15 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="clr-namespace:Tango.Touch.Controls">
+
+ <Style TargetType="{x:Type local:TouchVirtualizedContentControl}">
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type local:TouchVirtualizedContentControl}">
+ <ContentPresenter x:Name="PART_innerBorder" Visibility="Hidden" Content="{TemplateBinding Content}"></ContentPresenter>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+
+</ResourceDictionary> \ No newline at end of file