<!-- // (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. --> <!-- // WARNING: // // This XAML was automatically generated by merging the individual default // styles. Changes to this file may cause incorrect behavior and will be lost // if the XAML is regenerated. --> <ResourceDictionary xmlns:datavis="clr-namespace:System.Windows.Controls.DataVisualization" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" xmlns:layoutToolkit="clr-namespace:System.Windows.Controls" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <!-- datavis:TreeMap --> <Style TargetType="datavis:TreeMap"> <Setter Property="IsTabStop" Value="false" /> <Setter Property="MinWidth" Value="20" /> <Setter Property="MinHeight" Value="20" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="datavis:TreeMap"> <Border Padding="{TemplateBinding Padding}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Cursor="{TemplateBinding Cursor}" Opacity="{TemplateBinding Opacity}" OpacityMask="{TemplateBinding OpacityMask}"> <Canvas x:Name="Container" /> </Border> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="ItemDefinition"> <Setter.Value> <datavis:TreeMapItemDefinition ValueBinding="{Binding}"> <datavis:TreeMapItemDefinition.ItemTemplate> <DataTemplate> <Border BorderBrush="Black" Background="Transparent" BorderThickness="1" ToolTipService.ToolTip="{Binding}"> <ContentControl Content="{Binding}" HorizontalAlignment="Center" VerticalAlignment="Center" /> </Border> </DataTemplate> </datavis:TreeMapItemDefinition.ItemTemplate> </datavis:TreeMapItemDefinition> </Setter.Value> </Setter> </Style> </ResourceDictionary>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)