Hi,
We use to have styling on our tiles but it seems to have disappeared after going from 10.1 to 10.2. Any ideas on what might have happened?
XAML:
<UserControl x:Class="Core.DashboardControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:igTiles="http://infragistics.com/Tiles" xmlns:igDock="http://infragistics.com/DockManager" xmlns:igWindows="http://infragistics.com/Windows" xmlns:ig="http://schemas.infragistics.com/xaml" xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" >
<UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="TilesOffice2k7Blue_Brushes.xaml"/> </ResourceDictionary.MergedDictionaries>
<Style TargetType="{x:Type ig:XamTile}"> <Setter Property="Background" Value="{DynamicResource {x:Static igTiles:TileBrushKeys.TileContentBackgroundFillKey}}"/> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igTiles:TileBrushKeys.TileBorderBrushFillKey}}"/> <Setter Property="BorderThickness" Value="1,1,1,1"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ig:XamTile}"> <AdornerDecorator> <igWindows:CardPanel Margin="0"> <Border x:Name="ContentBorder" Background="{DynamicResource {x:Static igTiles:TileBrushKeys.TileContentBackgroundFillKey}}" BorderBrush="{DynamicResource {x:Static igTiles:TileBrushKeys.TileContentBackgroundFillKey}}" BorderThickness="1" Margin="0" > <DockPanel Margin="1"> <igPrim:TileHeaderPresenter x:Name="TileHeader" AutomationProperties.AutomationId="TileHeader" DockPanel.Dock="Top" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" Tile="{Binding RelativeSource={x:Static RelativeSource.TemplatedParent}}" Visibility="Visible" /> <!--ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"--> <!-- Content area--> <ContentPresenter Visibility="{TemplateBinding ContentVisibility}" /> </DockPanel> </Border> <Rectangle x:Name="Overlay"/> </igWindows:CardPanel> </AdornerDecorator> <ControlTemplate.Triggers> <!--<Trigger Property="IsSwapTarget" Value="True"> <Setter TargetName="Overlay" Property="Fill" Value="{DynamicResource {x:Static igTiles:TileBrushKeys.TileSwapTargetBgBrushFillKey}}"/> </Trigger>--> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary> </UserControl.Resources> <Grid Margin="1,1,1,1"> <igDock:XamDockManager x:Name="dockingControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Theme="IGTheme" FlyoutAnimation="Fade"> <igDock:XamDockManager.Panes> <igDock:SplitPane x:Name="legendPane" igDock:XamDockManager.InitialLocation="DockedBottom" Width="Auto" Height="150" ScrollViewer.VerticalScrollBarVisibility="Visible"> <igDock:ContentPane Header="Legend" Name="legendContentPane" AllowClose="False"> </igDock:ContentPane> </igDock:SplitPane> </igDock:XamDockManager.Panes> <igDock:DockManagerPanel> <ig:XamTileManager Name="xamTiles" BorderBrush="Black"> <ig:XamTile x:Name="firstTile" Header="Tile 1" Content="Content Area" IsMaximized="True" /> </ig:XamTileManager> </igDock:DockManagerPanel> </igDock:XamDockManager> </Grid></UserControl>
Hello Joseph,
I have been looking into your issue and I was wondering whether you have in mind that you update from 11.1 to 11.2. Looking through your code I have noticed that you are using our XamTileManger and trying to set a Style for XamTileControl(ig:XamTile). I can suggest looking through the following forum blog in our community where it is explained that XamTileManager replaces XamTileView and XamTilesControl in NetAdvantage 11.2 :
http://blogs.infragistics.com/blogs/jason_beres/archive/2011/11/10/important-product-changes-and-control-retirements-in-2011-2.aspx
If you need any further assistance on this matter, feel free to ask.
After some research the functionality that you are looking for has been determined to be a new product idea. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is PI12030063.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Hello,
I am just checking if you require any further assistance on the matter.