Telerik Forums
UI for WPF Forum
4 answers
155 views
Hi guys,

I have a strange problem, I'm using the telerik wpf docking controls version 2012.3.1203.40 with VS2012 when my touchscreen is connected to my pc by USB (touchscreen: iiyama prolite T2250MTS) the RadDockingAutomationPeer throw an nullreference exception on loading.
If the touchscreen is not connected everything works just fine.

I tried to create a testproject for you, but the testproject throws an ArgumentNullException in the RadTabControlAutomationPeer, in this project I'm not using the RadTabControl.
And again if the touchscreen is not connected everything works fine.

The workaround is easy, just disconnect the touchscreen :-). For now this is my workaround, but it is no solution

Can you check it out?

How do I upload my test project?

David.
david
Top achievements
Rank 1
 answered on 18 Jan 2013
4 answers
435 views

telerik RadDocking vs. Prism problems

 

The telerik RadDocking vs. Prism problems are a “show stopper”.  I have invested over fifty hours and cannot get Prism ViewInjection (regionManager.RequestNavigate) to work with telerik RadPanes.

 

Injected telerik RadPane views appear when they are first injected, but the Prism ConfirmNavigationRequest methods are only ever called on the first Injected View.  The same methods on the other ones never fire, and no existing view ever becomes the top view when navigating back.  The top view is ALWAYS the last view injected.  I tried getting a reference from the view model to the view to force the view to the top layer (Bad developer - I know!), but I cannot get a handle to the telerik RadPane views from my view models because they are registered without a Name as a result of using MEF and Prism RequestNavigate.

 

I expected telerik to give me productivity gains, but right now telerik has been a huge drain on my productivity.  In a few more hours I am going to tell my client I cannot get the product built using telerik RadDocking.

We are using VS2010 SP1, .NET 4, WPF, telerik Apr 19, 2011 Q1 2011 SP1 (version 2011.1.0419), Prism 4.

 

Sincerely, Joe

 

ShellView.xaml:

<telerik:RadDocking Padding="0">

  <!-- NavigationRegion -->

  <telerik:RadSplitContainer InitialPosition="DockedLeft">

    <telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static inf:RegionNames.NavigationRegion}"

    IsManipulationEnabled="False"/>

  </telerik:RadSplitContainer>

  <!-- ActionsPaneRegion -->

  <telerik:RadSplitContainer InitialPosition="DockedRight">

    <telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static inf:RegionNames.ActionsPaneRegion}"/>

  </telerik:RadSplitContainer>

  <!-- WorkAreaRegion -->

  <telerik:RadSplitContainer InitialPosition="DockedTop" telerik:DockingPanel.InitialSize="556,717">

    <telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static inf:RegionNames.WorkAreaRegion}" 

    IsManipulationEnabled="False"/>

  </telerik:RadSplitContainer>

</telerik:RadDocking>

 

NavigationViewModel.cs:

workAreaRegion.Context = selectedTreeViewItem;
UriQuery query = new UriQuery();
query.Add("Action""Edit Level");
regionManager.RequestNavigate
(
  RegionNames.WorkAreaRegion,
  new Uri(ViewNames.MarketPropertiesView + query.ToString(), UriKind.Relative),
  a => { }
);

 

WorkAreaViewModel.cs:

#region ConfirmNavigationRequest
 
public void ConfirmNavigationRequest(Microsoft.Practices.Prism.Regions.NavigationContext navigationContext, 
  System.Action<bool> continuationCallback)
{
  // Use this interface if you want to prevent the user from navigating 
  // away from a view before the view is completed. 
  continuationCallback(true);
}
 
public bool IsNavigationTarget(Microsoft.Practices.Prism.Regions.NavigationContext navigationContext)
{
  // A value of true indicates that this View/ViewModel is the one to handle this navigation request. 
  return true;
}
 
public void OnNavigatedFrom(Microsoft.Practices.Prism.Regions.NavigationContext navigationContext)
{
  // Use this event for logic BEFORE navigation leaves this View/ViewModel 
  // For example, record which UI control has focus so that when the view is navigated back to,  
  // focus can be restored to the UI control that previously had focus. 
  return;
}
 
public void OnNavigatedTo(Microsoft.Practices.Prism.Regions.NavigationContext navigationContext)
{
  // Use this event to initialize/refresh this View/ViewModel. 
  // Use this method to initiate loading of data and to restore focus to the  
  // UI Control that had focus when the object was navigated away from. 
 
  if (isFirstTime == true)
    isFirstTime = false;
 
  // Get passed NavigationContext URI parameters. 
  if (navigationContext != null)
    Action = navigationContext.Parameters["Action"];
 
  return;
}
 
#endregion ConfirmNavigationRequest

 

George
Telerik team
 answered on 18 Jan 2013
2 answers
233 views
Hi,

I have a quesiton about the dictionary used in Telerik spellchecker, is it compatible or shared with MS WPF spellcheck
feature? My problem is that part of my application will use MS WPF spellcheck and part will use Telerik's, so we hope
that the dictionaries can be shared through the application. If the answer is yes, can you give a little details for the
implementation?

Thanks.

Henry
Henry
Top achievements
Rank 1
 answered on 17 Jan 2013
23 answers
1.1K+ views

Hi,

I have a WPF application. I am using Telerik controls v4.0.30319.

I am running into memory leaks using the RadGridView. The first scenario is straight forward, I am binding to a ViewModel’s Observable Collection but when I update the Collection it does not release the memory for the old objects. The second scenario I have created DataTemplate with Textbox’s in the rows and the RadGridView will not release the textbox’s.

<myViews:BaseUserControl xmlns:myViews="clr-namespace:EnconWPF.Views"

                         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

                         x:Class="EnconWPF.Views.ScreenBdetl"

                         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:i="http://schemas.microsoft.com/expression/2010/interactivity"

                         xmlns:my="clr-namespace:EnconWPF"

                         xmlns:myViewModel="clr-namespace:EnconWPF.ViewModels"

                         mc:Ignorable="d"

                         d:DesignWidth="950">

    <myViews:BaseUserControl.Resources>

        <Style TargetType="my:CoreTextBox"

               BasedOn="{StaticResource {telerik:ThemeResourceKey ThemeType=telerik:Windows7Theme, ElementType=TextBox}}" />

        <my:NullableStringConverter x:Key="NullableStringConverter" />

        <my:BwzConverter x:Key="BwzConverter" />

        <my:PhoneNumberConverter x:Key="PhoneNumberConverter" />

    </myViews:BaseUserControl.Resources>

    <Grid x:Name="LayoutRoot"

          Style="{StaticResource GradientBlueGridStyle}">

 

        <Grid>

            <Grid.RowDefinitions>

                <RowDefinition Height="85" />

                <RowDefinition Height="0" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="26" />

                <RowDefinition Height="30*" />

            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>

                <ColumnDefinition Width="20" />

                <ColumnDefinition Width="30" />

                <ColumnDefinition Width="*" />

                <ColumnDefinition Width="30" />

                <ColumnDefinition Width="20" />

            </Grid.ColumnDefinitions>

            <my:Toolbar  x:Name="toolBar"

                         Height="85"

                         Grid.Row="0"

                         Grid.Column="0"

                         Grid.ColumnSpan="5" />

            <TextBlock Text="{Binding ApplicationStrings.BROKER, Source={StaticResource ResourceWrapper}}"

                       Grid.Row="3"

                       Grid.Column="2"

                       Margin="10,0,0,0" />

            <my:CoreTextBox Grid.Row="3"

                            Grid.Column="2"

                            Margin="120,0,0,0"

                            Width="54"

                            Text="{Binding  Account.ACCOUNTNUMBER, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True, Converter={StaticResource BwzConverter}}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            MaxLength="6"

                            TabIndex="1" />

            <my:CoreTextBox Grid.Row="3"

                            Grid.Column="2"

                            Margin="185,0,0,0"

                            Width="270"

                            Text="{Binding Account.CONDENSEDNAMEACT, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            MaxLength="30"

                            TabIndex="2" />

            <TextBlock Text="{Binding ApplicationStrings.BROKER_NUM, Source={StaticResource ResourceWrapper}}"

                       Grid.Row="5"

                       Grid.Column="2"

                       Margin="10,0,0,0" />

            <my:CoreTextBox  Grid.Row="5"

                             Grid.Column="2"

                             Margin="120,0,0,0"

                             MaxLength="30"

                             Width="270"

                             Text="{Binding Account.ACCOUNTNAME, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                             IsReadOnly="True" Display="ModifyAdd"

                             IsTabStop="{Binding Path=IsControlTabStop}"

                             TabIndex="4" />

            <TextBlock Text="{Binding ApplicationStrings.ADDRESS, Source={StaticResource ResourceWrapper}}"

                       Grid.Row="6"

                       Grid.Column="2"

                       Margin="10,0,0,0" />

            <my:CoreTextBox Grid.Row="6"

                            Grid.Column="2"

                            Margin="120,0,0,0"

                            MaxLength="30"

                            Width="270"

                            Text="{Binding Account.ADDRESS1, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            TabIndex="6" />

            <TextBlock Text=""

                       Grid.Row="7"

                       Grid.Column="2"

                       Margin="170,0,0,0" />

            <my:CoreTextBox Grid.Row="7"

                            Grid.Column="2"

                            Margin="120,0,0,0"

                            Width="270"

                            Height="24"

                            Text="{Binding Account.ADDRESS2, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            MaxLength="30"

                            TabIndex="7" />

            <TextBlock Text=""

                       Grid.Row="8"

                       Grid.Column="2"

                       Margin="170,0,0,0" />

            <my:CoreTextBox  Grid.Row="8"

                             Grid.Column="2"

                             Margin="120,0,0,0"

                             Width="270"

                             Text="{Binding Account.ADDRESS3, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                             IsReadOnly="True" Display="ModifyAdd"

                             IsTabStop="{Binding Path=IsControlTabStop}"

                             MaxLength="30"

                             TabIndex="8" />

            <TextBlock Text=""

                       Grid.Row="9"

                       Grid.Column="2"

                       Margin="170,0,0,0" />

            <my:CoreTextBox   Grid.Row="9"

                              Grid.Column="2"

                              Margin="120,0,0,0"

                              Width="270"

                              Text="{Binding Account.ADDRESS4, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                              IsReadOnly="True" Display="ModifyAdd"

                              IsTabStop="{Binding Path=IsControlTabStop}"

                              MaxLength="30"

                              TabIndex="9" />

            <TextBlock  Text="{Binding ApplicationStrings.PROVINCE, Source={StaticResource ResourceWrapper}}"

                        Grid.Row="10"

                        Grid.Column="2"

                        Margin="10,0,0,0" />

            <my:CoreTextBox   Grid.Row="10"

                              Grid.Column="2"

                              Margin="120,0,0,0"

                              MaxLength="2"

                              Width="26"

                              Text="{Binding Ml.ML_CODE_MAST, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                              IsEnabled="{Binding Path=IsControlEnabled}"

                              IsReadOnly="True"

                              Display="InquireModifyAdd"

                              IsTabStop="False"

                              TabIndex="10" />

            <TextBlock  Text=""

                        Grid.Row="10"

                        Grid.Column="2"

                        Margin="200,0,0,0"

                        Visibility="{Binding Path=IsHideInFind}" />

            <my:CoreTextBox Grid.Row="10"

                            Grid.Column="2"

                            Margin="180,0,0,0"

                            Width="180"

                            Text="{Binding Ml.ML_NAME_MAST, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                            IsEnabled="{Binding Path=IsControlEnabled}"

                            IsReadOnly="True"

                            Display="InquireModifyAdd"

                            IsTabStop="False"

                            MaxLength="20"

                            Visibility="{Binding Path=IsHideInFind}"

                            TabIndex="11" />

            <TextBlock  Text="{Binding ApplicationStrings.POSTAL, Source={StaticResource ResourceWrapper}}"

                        Grid.Row="10"

                        Grid.Column="2"

                        Margin="500,0,0,0" />

            <my:CoreTextBox   Grid.Row="10"

                              Grid.Column="2"

                              Margin="580,0,0,0"

                              MaxLength="10"

                              Width="90"

                              Text="{Binding Account.ZIPCODE, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                              IsReadOnly="True" Display="ModifyAdd"

                              IsTabStop="{Binding Path=IsControlTabStop}"

                              TabIndex="12" />

            <TextBlock  Text="{Binding ApplicationStrings.PHONE, Source={StaticResource ResourceWrapper}}"

                        Grid.Row="5"

                        Grid.Column="2"

                        Margin="500,0,0,0" />

            <my:CoreTextBox Grid.Row="5"

                            Grid.Column="2"

                            Margin="580,0,0,0"

                            Width="100"

                            Height="24"

                            HorizontalAlignment="Left"

                            FontSize="11"

                            Text="{Binding Account.PHONENUM, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True, Converter={StaticResource PhoneNumberConverter}}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            MaxLength="12"

                            TabIndex="5" />

            <TextBlock  Text="{Binding ApplicationStrings.ACTDEAD, Source={StaticResource ResourceWrapper}}"

                        Grid.Row="3"

                        Grid.Column="2"

                        Margin="500,0,0,0" />

            <my:CoreTextBox Grid.Row="3"

                            Grid.Column="2"

                            Margin="580,0,0,0"

                            MaxLength="2"

                            Width="26"

                            Height="24"

                            HorizontalAlignment="Left"

                            FontSize="11"

                            Text="{Binding Account.ACTIVEDEAD, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                            IsReadOnly="True" Display="ModifyAdd"

                            IsTabStop="{Binding Path=IsControlTabStop}"

                            TabIndex="3" />

            <Border Width="Auto"

                    Height="25"

                    Grid.Row="12"

                    Grid.Column="1"

                    Grid.ColumnSpan="3"

                    CornerRadius="5,5,0,0"

                    Visibility="{Binding Path=IsHideInFind}"

                    Background="#FF112A5D" />

            <Button  Height="20"

                     x:Name="Append"

                     Width="20"

                     HorizontalAlignment="Left"

                     Grid.Column="1"

                     Margin="5,0,0,0"

                     Grid.Row="12"

                     ToolTipService.ToolTip="{Binding Source={StaticResource ResourceWrapper}, Path=ApplicationStrings.APPENDBUTTON}"

                     Style="{StaticResource AppendButtonStyle}"

                     Visibility="{Binding IsAppendVisible}"

                     Command="{Binding AppendCommand}">

            </Button>

            <Border Width="Auto"

                    Height="Auto"

                    CornerRadius="3"

                    Grid.Row="13"

                    Grid.Column="1"

                    Grid.ColumnSpan="3"

                    Grid.RowSpan="10"

                    HorizontalAlignment="Left"

                    Visibility="{Binding Path=IsHideInFind}">

 

            </Border>

            <telerik:RadGridView x:Name="SCREEN_BDETL_DetailList"

                                 Grid.Row="13"

                                 Grid.Column="1"

                                 Grid.ColumnSpan="3"

                                 Grid.RowSpan="12"

                                 Height="255"

                                 ItemsSource="{Binding BrokerCollection}"

                                 Visibility="{Binding Path=IsHideInFind}"

                                 ShowGroupPanel="True"

                                 IsEnabled="{Binding Path= IsControlEnabled}"

                                 Width="Auto"

                                 telerik:StyleManager.Theme="Windows7"

                                 VerticalAlignment="Top"

                                 AutoGenerateColumns="False"

                                 CanUserFreezeColumns="False"

                                 IsFilteringAllowed="True"

                                 IsReadOnly="True"

                                 RowIndicatorVisibility="Collapsed"

                                 FontFamily="Arial"

                                 IsTabStop="False"

                                 ScrollViewer.VerticalScrollBarVisibility="Auto"

                                 ScrollViewer.HorizontalScrollBarVisibility="Auto">

                <telerik:RadGridView.Resources>

                    <DataTemplate x:Key="EditButtonColumnResource">

                        <Button x:Name="EditRowCommand"

                                Style="{StaticResource GridImageButton}"

                                Command="{Binding DataContext.EditDetailCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"

                                CommandParameter="{Binding RelativeSource={RelativeSource Self}}">

                            <Button.Content>

                                <Image Source="/EnconWPF;component/Images/Toolbar/Edit.png"

                                       Width="13"

                                       Height="13"

                                       Stretch="Uniform"

                                       ToolTipService.ToolTip="{Binding Source={StaticResource ResourceWrapper}, Path=ApplicationStrings.EditButton}" />

                            </Button.Content>

                        </Button>

                    </DataTemplate>

                    <DataTemplate x:Key="DeptResourceColumn">

                        <my:CoreComboBox IsEditable="True"

                                         SelectedValue="{Binding Dept, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, Converter={StaticResource NullableStringConverter}}"

                                         IsReadOnly="True"

                                         Display="Inquire"

                                         Width="60"

                                         TabIndex="15"

                                         Values=",SRD,AE,COIN,DO,MAIN,ACCT" />

                    </DataTemplate>

                    <DataTemplate x:Key="FaxResourceColumn">

                        <my:CoreTextBox Text="{Binding Fax, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True, Converter={StaticResource PhoneNumberConverter}}"

                                        MaxLength="16"

                                        Width="124"

                                        TabIndex="16"

                                        Display="Inquire" />

                    </DataTemplate>

                    <DataTemplate x:Key="EmailResourceColumn">

                        <my:CoreTextBox Text="{Binding Email, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                        MaxLength="80"

                                        Width="530"

                                        TabIndex="17"

                                        Display="Inquire" />

                    </DataTemplate>

                    <DataTemplate x:Key="TierResourceColumn">

                        <my:CoreTextBox Text="{Binding Tier, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                        Width="50"

                                        TabIndex="18"

                                        Display="Inquire" />

                    </DataTemplate>

                    <DataTemplate x:Key="CancelColumnResource">

                        <Button x:Name="CancelRowCommand"

                                Style="{StaticResource GridImageButton}"

                                IsEnabled="{Binding IsAltered, Mode=TwoWay}"

                                Command="{Binding DataContext.CancelDetailCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"

                                CommandParameter="{Binding RelativeSource={RelativeSource Self}}">

                            <Button.Content>

                                <Image Source="/EnconWPF;component/Images/Toolbar/Undo.png"

                                       Width="13"

                                       Height="13"

                                       Stretch="Uniform"

                                       ToolTipService.ToolTip="{Binding Source={StaticResource ResourceWrapper}, Path=ApplicationStrings.CancelDetailButton}" />

                            </Button.Content>

 

                        </Button>

                    </DataTemplate>

                    <DataTemplate x:Key="DeleteColoumnResource"

                                  x:Name="DeleteColoumnResource">

                        <Button x:Name="DeleteRowCommand"

                                Style="{StaticResource GridImageButton}"

                                Command="{Binding DataContext.DeleteDetailCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"

                                CommandParameter="{Binding RelativeSource={RelativeSource Self}}">

                            <Button.Content>

                                <Image Source="/EnconWPF;component/Images/Toolbar/Delete.png"

                                       Width="13"

                                       Height="13"

                                       Stretch="Uniform"

                                       ToolTipService.ToolTip="{Binding Source={StaticResource ResourceWrapper}, Path=ApplicationStrings.DeleteDetailButton}" />

                            </Button.Content>

 

                        </Button>

                    </DataTemplate>

                </telerik:RadGridView.Resources>

 

 

                <telerik:RadGridView.Columns>

                    <telerik:GridViewColumn Width="30"

                                            CellTemplate="{StaticResource EditButtonColumnResource}">

                    </telerik:GridViewColumn>

                    <telerik:GridViewDataColumn Width="70"

                                                DataMemberBinding="{Binding Dept, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                                IsSortable="True"

                                                CellTemplate="{StaticResource DeptResourceColumn}">

                        <telerik:GridViewDataColumn.Header>

                            <StackPanel>

                                <TextBlock Text="{Binding ApplicationStrings.DEPT, Source={StaticResource ResourceWrapper}}"

                                           Style="{StaticResource GridHeaderStyle}" />

                            </StackPanel>

                        </telerik:GridViewDataColumn.Header>

                    </telerik:GridViewDataColumn>

                    <telerik:GridViewDataColumn Width="134"

                                                DataMemberBinding="{Binding Fax, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                                IsSortable="True"

                                                CellTemplate="{StaticResource FaxResourceColumn}">

                        <telerik:GridViewDataColumn.Header>

                            <StackPanel>

                                <TextBlock Text="{Binding ApplicationStrings.FAXNUMBER, Source={StaticResource ResourceWrapper}}"

                                           Style="{StaticResource GridHeaderStyle}" />

                            </StackPanel>

                        </telerik:GridViewDataColumn.Header>

                    </telerik:GridViewDataColumn>

                    <telerik:GridViewDataColumn Width="520"

                                                DataMemberBinding="{Binding Email, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                                IsSortable="True"

                                                CellTemplate="{StaticResource EmailResourceColumn}">

                        <telerik:GridViewDataColumn.Header>

                            <StackPanel>

                                <TextBlock Text="{Binding ApplicationStrings.CONTACTEMAIL, Source={StaticResource ResourceWrapper}}"

                                           Style="{StaticResource GridHeaderStyle}" />

                            </StackPanel>

                        </telerik:GridViewDataColumn.Header>

                    </telerik:GridViewDataColumn>

                    <telerik:GridViewDataColumn Width="60"

                                                DataMemberBinding="{Binding Tier, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=True}"

                                                IsSortable="True"

                                                CellTemplate="{StaticResource TierResourceColumn}">

                        <telerik:GridViewDataColumn.Header>

                            <StackPanel>

                                <TextBlock Text="{Binding ApplicationStrings.TIER, Source={StaticResource ResourceWrapper}}"

                                           Style="{StaticResource GridHeaderStyle}" />

                            </StackPanel>

                        </telerik:GridViewDataColumn.Header>

                    </telerik:GridViewDataColumn>

                    <telerik:GridViewColumn Width="30"

                                            CellTemplate="{StaticResource CancelColumnResource}">

                    </telerik:GridViewColumn>

                    <telerik:GridViewColumn Width="30"

                                            CellTemplate="{StaticResource DeleteColoumnResource}">

                    </telerik:GridViewColumn>

                </telerik:RadGridView.Columns>

            </telerik:RadGridView>

        </Grid>

    </Grid>

</myViews:BaseUserControl>

 

 

Any help would be much appreciated; our company has used Telerik controls for all of our Silverlight projects and would like to continue using them for WPF once I have this figured out.

 

Pat

Mark
Top achievements
Rank 1
 answered on 17 Jan 2013
5 answers
218 views
I'm switching theme in runtime, as described here:
http://www.telerik.com/help/wpf/styling-apperance-themes-runtime.html

All controls pick up the theme changes, except my RadPanelBar. The reason seems to be this line in my XAML:

<telerik:RadPanelBar ItemContainerStyle="{StaticResource PanelBarItemFirstLevelStyle}" ...

<Style x:Key="PanelBarItemFirstLevelStyle" TargetType="telerik:RadPanelBarItem" BasedOn="{StaticResource RadPanelBarItemStyle}">
   <Setter Property="ItemContainerStyle" Value="{StaticResource PanelBarItemSecondLevelStyle}" />
</Style>

<Style x:Key="PanelBarItemSecondLevelStyle" TargetType="telerik:RadPanelBarItem" BasedOn="{StaticResource RadPanelBarItemStyle}"> ...


From what I can see, these styles are based on the currently loaded telerik styles. So why don't they pick up the theme change?
Tina Stancheva
Telerik team
 answered on 17 Jan 2013
2 answers
118 views
Hi

On the WPF Controls Examples application when I check the TreeListView examples and check the code I can see two files: Example.xaml and Exampl.cs. The Example.cs do the following 

            DataContext = new MyDataContext();

but the MyDataContext is not displayed. I know I can open the source code that you provide but it would be good to see this class directly in the application.

Cheers
Laurent Kempé
Laurent Kempé
Top achievements
Rank 2
 answered on 17 Jan 2013
2 answers
134 views
Hi,
I am hiding/unhiding the columns of the grid dynamically. When i unhide the columns and a horizontal scrollbar appears, i am not able to resize the columns of the grid. Currently I am using 2011.1.315.40 version of Telerik Gridview.
Please help.
Kirti
Top achievements
Rank 1
 answered on 17 Jan 2013
4 answers
443 views
Hello,
I've seen there is a Visual Style Builder for WinForms.

Is there a version for WPF so I can modify an existing theme?

Or should I be using another tool?

Thanks
Craig
Craig
Top achievements
Rank 1
 answered on 17 Jan 2013
2 answers
331 views
Hi,

I have a gridview placed in my usercontrol, and added a RadContextMenu to the grid via XAML. The context menu will be shown fine when I right click onto a row. But I need to open the contextmenu in any area of the grid.
For example I need to copy and paste some data into the grid, and the grid is empty.
How to solve my problem?

Regards,

Ralf
Ralf
Top achievements
Rank 1
 answered on 17 Jan 2013
1 answer
220 views
Hello,

As shown in the screenshot I have a navigation tree view in the left pane and the Telerik tree list view on the right pane. All the data in the Radtreelistview has been loaded, however the loading image persists. I cannot access the grid or edit items in it and I can find no way to get out of this mode.

Here is the xaml code for the RadTreeListView shown in the screenshot.

<telerik:RadTreeListView x:Name="TreeListView" DataLoadMode="Asynchronous"
            RowHeight="23" ScrollViewer.CanContentScroll="False"
            AutoGenerateColumns="False" AutoLoadHierarchy="True"                                 
            AutoExpandGroups="True" AutoExpandItems="True"
            CanUserDeleteRows="False" CanUserFreezeColumns="False" CanUserInsertRows="False"
            CanUserReorderColumns="False" CanUserResizeColumns="True" CanUserSortColumns="False"
            RowIndicatorVisibility="Collapsed" IsFilteringAllowed="False"
            ShowColumnFooters="False"
            GridLinesVisibility="None" x:FieldModifier="private" AutomationProperties.AutomationId="Telerik Account Grid" PreviewKeyDown="OnPreviewKeyDown">
        <telerik:RadTreeListView.Resources>
            <tradeConstConverters:AllocationModeToBackgroundColorConverter x:Key="AllocationModeToBackgroundColorConverter" />
            <tradeConstConverters:StringToPercentageConverter x:Key="StringToPercentageConverter"/>
            <tradeConstConverters:DecimalMaxConverter x:Key="DecimalMaxConverter"/>
            <tradeConstConverters:MarketValueFormatter x:Key="MarketValueFormatter"/>
            <tradeConstConverters:NodeToIsReadOnlyConverter x:Key="NodeToIsReadOnlyConverter"/>
            <tradeConstConverters:PercentOfProductMkValueReadOnlyConverter x:Key="PercentOfProductMkValueReadOnlyConverter"/>
            <converters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
            <ContextMenu x:Key="CellContextMenu" Width="Auto" HorizontalContentAlignment="Left">
                <MenuItem HorizontalContentAlignment="Left" HorizontalAlignment="Left" Padding="0" Background="WhiteSmoke" InputGestureText="">
                    <MenuItem.Icon>
                        <Path Style="{DynamicResource AddImage}" Width="15" Height="15"/>
                    </MenuItem.Icon>
                    <MenuItem.Header>
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Height="{Binding RelativeSource={RelativeSource AncestorType=MenuItem}, Path=Height}">
                            <TextBlock VerticalAlignment="Center" Text="Calculation"/>
                            <TextBlock VerticalAlignment="Center" Text="Name:" Margin="5,0"/>
                            <TextBox VerticalAlignment="Center" Background="White" Width="150" Margin="5,0" PreviewKeyDown="OnAddCalculationClick"/>
                            <Button VerticalAlignment="Center" Margin="5,0" IsDefault="True" Width="100" Height="23" Content="Add" Click="OnAddCalculationClick"/>
                        </StackPanel>
                    </MenuItem.Header>
                </MenuItem>
            </ContextMenu>
 
            <Style TargetType="{x:Type TextBox}">
                <Setter Property="behaviors:TextBoxAttachedProperties.IsSelectAllOnFocusEnabled" Value="True"/>
            </Style>
             
            <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource {x:Type TextBox}}" x:Key="MergedContextMenuStyle">
                <Setter Property="ContextMenu">
                    <Setter.Value>
                        <ContextMenu>
                                <MenuItem Header="Copy" Command="ApplicationCommands.Copy"/>
                                <MenuItem Header="Cut" Command="ApplicationCommands.Cut"/>
                                <MenuItem Header="Paste" Command="ApplicationCommands.Paste"/>
                                <Separator/>
                                <MenuItem HorizontalContentAlignment="Left" HorizontalAlignment="Left" Padding="0" Background="WhiteSmoke" InputGestureText="">
                                    <MenuItem.Icon>
                                        <Path Style="{DynamicResource AddImage}" Width="15" Height="15"/>
                                    </MenuItem.Icon>
                                    <MenuItem.Header>
                                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="Auto">
                                            <TextBlock VerticalAlignment="Center" Text="Calculation"/>
                                            <TextBlock VerticalAlignment="Center" Text="Name:" Margin="5,0"/>
                                            <TextBox VerticalAlignment="Center" Background="White" Width="100" Margin="5,0"/>
                                        <Button Content="OK" IsDefault="True">
                                            <Button.Style>
                                                <Style TargetType="{x:Type Button}">
                                                    <EventSetter Event="Click" Handler="OnAddCalculationClick"/>
                                                </Style>
                                            </Button.Style>
                                        </Button>
                                        </StackPanel>
                                    </MenuItem.Header>
                                </MenuItem>
                        </ContextMenu>
                    </Setter.Value>
                </Setter>               
            </Style>
             
            <Style TargetType="{x:Type telerik:TreeListViewRow}">
                <Setter Property="IsTabStop" Value="False"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type telerik:TreeListViewRow}">
                            <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                                <VisualStateManager.VisualStateGroups>
                                    <VisualStateGroup x:Name="FocusStates">
                                        <VisualState x:Name="Unfocused"/>
                                        <VisualState x:Name="Focused">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="NavigatorIndicator">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="SelectionStates">
                                        <VisualState x:Name="Unselected"/>
                                        <VisualState x:Name="SelectedUnfocused">
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="CommonStates">
                                        <VisualState x:Name="Normal"/>
                                        <VisualState x:Name="MouseOver">
                                        </VisualState>
                                        <VisualState x:Name="Selected">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Background_Selected">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="NavigatorIndicatorBackground">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                <GradientStop Color="White" Offset="0"/>
                                                                <GradientStop Color="#FFE4E4E4" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="ValueStates">
                                        <VisualState x:Name="RowValid"/>
                                        <VisualState x:Name="RowInvalid">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Background_Invalid">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ErrorIndicator">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                </VisualStateManager.VisualStateGroups>
                                <telerik:SelectiveScrollingGrid x:Name="grid" Background="Transparent">
                                    <telerik:SelectiveScrollingGrid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="*"/>
                                    </telerik:SelectiveScrollingGrid.ColumnDefinitions>
                                    <telerik:SelectiveScrollingGrid.RowDefinitions>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="Auto"/>
                                    </telerik:SelectiveScrollingGrid.RowDefinitions>
                                    <Grid x:Name="PART_SelectiveScrollingElements" Grid.Column="2">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto"/>
                                            <ColumnDefinition Width="*"/>
                                        </Grid.ColumnDefinitions>
                                        <Border x:Name="SelectionBackground" Background="{TemplateBinding Background}" Grid.Column="1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Margin}" Padding="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                        <Border x:Name="Background_Over" BorderThickness="1" Grid.Column="1" CornerRadius="1" Margin="1,1,1,2" Visibility="Collapsed">
                                            <Border BorderBrush="White" BorderThickness="1">                                               
                                                <Border.Style>
                                                    <Style TargetType="Border">
                                                        <Setter Property="BorderBrush" Value="#FFFFC92B"/>
                                                        <Setter Property="Background">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                    <GradientStop Color="#FFFCE79F" Offset="1"/>
                                                                    <GradientStop Color="#FFFDD3A8"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>                                                       
                                                    </Style>
                                                </Border.Style>
                                            </Border>
                                        </Border>
                                        <Border x:Name="Background_Selected" BorderThickness="1" Grid.Column="1" CornerRadius="1" Margin="1,1,1,2" Visibility="Collapsed">
                                            <Border BorderBrush="White" BorderThickness="1">                                               
                                                <Border.Style>                                                   
                                                    <Style TargetType="Border">
                                                        <Setter Property="BorderBrush" Value="#FFFFC92B"/>
                                                        <Setter Property="Background">                                                           
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                    <GradientStop Color="#FFFCE79F" Offset="1"/>
                                                                    <GradientStop Color="#FFFDD3A8"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>                                                       
                                                    </Style>
                                                </Border.Style>
                                            </Border>
                                        </Border>
                                        <Border x:Name="Background_Invalid" BorderBrush="#FFCE7D7D" BorderThickness="1" Grid.Column="1" CornerRadius="1" Margin="1,1,1,2" Visibility="Collapsed">
                                            <Border BorderThickness="1">
                                                <Border.BorderBrush>
                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                        <GradientStop Color="#FFEBF4FD"/>
                                                        <GradientStop Color="#FFDBEAFD" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Border.BorderBrush>
                                                <Border.Background>
                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                        <GradientStop Color="#FFFCDCDC"/>
                                                        <GradientStop Color="#FFFCC1C1" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </Border.Background>
                                            </Border>
                                        </Border>
                                    </Grid>
                                    <telerik:GridViewToggleButton x:Name="PART_ExpandButton" Grid.ColumnSpan="2" Grid.Column="1" HorizontalAlignment="Left" HorizontalContentAlignment="Center" IsTabStop="False" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" PresentationMode="Arrow" Width="20">
                                        <telerik:StyleManager.Theme>
                                            <telerik:Office_BlackTheme/>
                                        </telerik:StyleManager.Theme>
                                        <telerik:GridViewToggleButton.Template>
                                            <ControlTemplate TargetType="{x:Type telerik:GridViewToggleButton}">
                                                <Border Background="Transparent" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                                    <VisualStateManager.VisualStateGroups>
                                                        <VisualStateGroup x:Name="CommonStates">
                                                            <VisualState x:Name="Normal"/>
                                                            <VisualState x:Name="MouseOver"/>
                                                            <VisualState x:Name="Disabled"/>
                                                        </VisualStateGroup>
                                                        <VisualStateGroup x:Name="CheckStates">
                                                            <VisualState x:Name="Checked">
                                                                <Storyboard>
                                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="plus">
                                                                        <DiscreteDoubleKeyFrame KeyTime="0" Value="0"/>
                                                                    </DoubleAnimationUsingKeyFrames>
                                                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="minus">
                                                                        <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                                                                    </DoubleAnimationUsingKeyFrames>
                                                                </Storyboard>
                                                            </VisualState>
                                                            <VisualState x:Name="Unchecked"/>
                                                        </VisualStateGroup>
                                                        <VisualStateGroup x:Name="FocusStates">
                                                            <VisualState x:Name="Focused"/>
                                                            <VisualState x:Name="Unfocused"/>
                                                        </VisualStateGroup>
                                                    </VisualStateManager.VisualStateGroups>
                                                    <Border Height="9" Width="9">
                                                        <Grid>
                                                            <Path x:Name="plus" Data="M0.5,0.5L6.5,3.5 0.5,6.5z" Fill="White" Height="9" Margin="{TemplateBinding Padding}" Stretch="Fill" Stroke="#FF9D9D9D" StrokeThickness="{TemplateBinding BorderThickness}" Width="6"/>
                                                            <Path x:Name="minus" Data="M6.5,0.5L6.5,6.5 0.5,6.5z" Fill="#FF595959" Height="7" Margin="{TemplateBinding Padding}" Opacity="0" Stretch="Fill" Stroke="Black" StrokeThickness="{TemplateBinding BorderThickness}" Width="7"/>
                                                        </Grid>
                                                    </Border>
                                                </Border>
                                            </ControlTemplate>
                                        </telerik:GridViewToggleButton.Template>
                                    </telerik:GridViewToggleButton>
                                    <telerik:DataCellsPresenter x:Name="PART_DataCellsPresenter" Grid.ColumnSpan="2" Grid.Column="1" IsTabStop="False">
                                        <telerik:DataCellsPresenter.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <telerik:TreeListCellsPanel IsItemsHost="True"/>
                                            </ItemsPanelTemplate>
                                        </telerik:DataCellsPresenter.ItemsPanel>
                                        <telerik:StyleManager.Theme>
                                            <telerik:Office_BlackTheme/>
                                        </telerik:StyleManager.Theme>
                                    </telerik:DataCellsPresenter>
                                    <Border x:Name="PART_RowBorder" BorderBrush="{TemplateBinding HorizontalGridLinesBrush}" Grid.ColumnSpan="3" Grid.Column="1" Grid.RowSpan="4" VerticalAlignment="Bottom">
                                        <Border.BorderThickness>
                                            <Binding ConverterParameter="Bottom" Path="HorizontalGridLinesWidth" RelativeSource="{RelativeSource TemplatedParent}">
                                                <Binding.Converter>
                                                    <telerik:GridLineWidthToThicknessConverter/>
                                                </Binding.Converter>
                                            </Binding>
                                        </Border.BorderThickness>
                                    </Border>
                                    <telerik:DetailsPresenter x:Name="PART_DetailsPresenter" Grid.ColumnSpan="2" Grid.Column="2" DetailsProvider="{TemplateBinding DetailsProvider}" IsTabStop="False" Grid.Row="1" Visibility="Collapsed">
                                        <telerik:StyleManager.Theme>
                                            <telerik:Office_BlackTheme/>
                                        </telerik:StyleManager.Theme>
                                    </telerik:DetailsPresenter>
                                    <Border x:Name="PART_IndicatorPresenter" BorderBrush="#FF848484" BorderThickness="0,0,1,1" Grid.Column="0" Grid.RowSpan="3" telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" Visibility="{TemplateBinding RowIndicatorVisibility}" VerticalAlignment="Stretch" Width="25">
                                        <Border x:Name="NavigatorIndicatorBackground" BorderBrush="White" BorderThickness="1" Background="#FFE4E4E4">
                                            <Grid>
                                                <Grid x:Name="NavigatorIndicator" HorizontalAlignment="Center" Height="11" Visibility="Collapsed" VerticalAlignment="Center" Width="11">
                                                    <Path Data="F1M32.0234,6.66669L24.2923,0.0248413 28.3697,0.0248413 32,3.14362 36.1492,6.70819 32,10.2728 28.4664,13.3085 24.2923,13.3085 32.0234,6.66669z" Fill="#FF848484" HorizontalAlignment="Center" Height="8" Margin="0" Stretch="Fill" VerticalAlignment="Center" Width="8"/>
                                                </Grid>
                                                <Grid x:Name="EditIndicator" HorizontalAlignment="Center" Height="10" Visibility="Collapsed" VerticalAlignment="Center" Width="16">
                                                    <Path Data="M14,9L15,9 15,10 14,10z M1,9L2,9 2,10 1,10z M15,8L16,8 16,9 15,9z M0,8L1,8 1,9 0,9z M15,1L16,1 16,2 15,2z M0,1L1,1 1,2 0,2z M14,0L15,0 15,1 14,1z M1,0L2,0 2,1 1,1z" Fill="#7F848484" Stretch="Fill"/>
                                                    <Path Data="M0.99999994,6.9999995L2,6.9999995 3,6.9999995 4,6.9999995 5,6.9999995 6,6.9999995 7,6.9999995 8,6.9999995 9,6.9999995 10,6.9999995 11,6.9999995 12,6.9999995 13,6.9999995 13,7.9999995 12,7.9999995 11,7.9999995 10,7.9999995 9,7.9999995 8,7.9999995 7,7.9999995 6,7.9999995 5,7.9999995 4,7.9999995 3,7.9999995 2,7.9999995 0.99999994,7.9999995z M13,0.99999994L14,0.99999994 14,1.9999999 14,2.9999995 14,3.9999995 14,4.9999995 14,5.9999995 14,6.9999995 13,6.9999995 13,5.9999995 13,4.9999995 13,3.9999995 13,2.9999995 13,1.9999999z M0,0.99999994L0.99999994,0.99999994 0.99999994,1.9999999 0.99999994,2.9999995 0.99999994,3.9999995 0.99999994,4.9999995 0.99999994,5.9999995 0.99999994,6.9999995 0,6.9999995 0,5.9999995 0,4.9999995 0,3.9999995 0,2.9999995 0,1.9999999z M11,0L12,0 13,0 13,0.99999994 12,0.99999994 11,0.99999994 10,0.99999994 9,0.99999994 8,0.99999994 7,0.99999994 6,0.99999994 5,0.99999994 4,0.99999994 3,0.99999994 2,0.99999994 0.99999994,0.99999994 0.99999994,2.3841858E-07 2,2.3841858E-07 3,2.3841858E-07 4,2.3841858E-07 5,2.3841858E-07 6,2.3841858E-07 7,2.3841858E-07 8,2.3841858E-07 9,2.3841858E-07 10,2.3841858E-07z" Fill="#FFCBCBCB" Margin="1" Stretch="Fill"/>
                                                    <Path Data="M2,9L3,9 4,9 5,9 6,9 7,9 8,9 9,9 10,9 11,9 12,9 13,9 14,9 14,10 13,10 12,10 11,10 10,10 9,10 8,10 7,10 6,10 5,10 4,10 3,10 2,10z M14,8L15,8 15,9 14,9z M1,8L2,8 2,9 1,9z M15,2L16,2 16,3 16,4 16,5 16,6 16,7 16,8 15,8 15,7 15,6 15,5 15,4 15,3z M3,2L4,2 5,2 6,2 6,3 5,3 5,4 5,5 5,6 5,7 6,7 6,8 5,8 4,8 3,8 3,7 4,7 4,6 4,5 4,4 4,3 3,3z M0,2L1,2 1,3 1,4 1,5 1,6 1,7 1,8 0,8 0,7 0,6 0,5 0,4 0,3z M14,1L15,1 15,2 14,2z M1,1L2,1 2,2 1,2z M2,0L3,0 4,0 5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 13,0 14,0 14,1 13,1 12,1 11,1 10,1 9,1 8,1 7,1 6,1 5,1 4,1 3,1 2,1z" Fill="#FF848484" Stretch="Fill"/>
                                                    <Path Data="M4,0L5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 12,1 12,2 12,3 12,4 12,5.0000001 12,6 11,6 10,6 9,6 8,6 7,6 6,6 5,6 4,6 4,5.0000001 3,5.0000001 3,4 3,3 3,2 3,1 4,1z M0,0L1,0 1,1 2,1 2,2 2,3 2,4 2,5.0000001 1,5.0000001 1,6 0,6 0,5.0000001 0,4 0,3 0,2 0,1z" Fill="White" Margin="2" Stretch="Fill"/>
                                                </Grid>
                                                <Grid x:Name="ErrorIndicator" HorizontalAlignment="Center" Height="16" Visibility="Collapsed" VerticalAlignment="Center" Width="16">
                                                    <Path Data="M3,12.999999L4,12.999999 5,12.999999 6,12.999999 7,12.999999 8,12.999999 9,12.999999 10,12.999999 11,12.999999 11,13.999999 10,13.999999 9,13.999999 8,13.999999 7,13.999999 6,13.999999 5,13.999999 4,13.999999 3,13.999999z M11,11.999999L12,11.999999 12,12.999999 11,12.999999z M2.0000001,11.999999L3,11.999999 3,12.999999 2.0000001,12.999999z M12,10.999999L13,10.999999 13,11.999999 12,11.999999z M1,10.999999L2.0000001,10.999999 2.0000001,11.999999 1,11.999999z M13,2.9999992L14,2.9999992 14,3.9999992 14,4.9999992 14,5.9999992 14,6.9999992 14,7.9999992 14,8.9999992 14,9.9999992 14,10.999999 13,10.999999 13,9.9999992 13,8.9999992 13,7.9999992 13,6.9999992 13,5.9999992 13,4.9999992 13,3.9999992z M0,2.9999992L1,2.9999992 1,3.9999992 1,4.9999992 1,5.9999992 1,6.9999992 1,7.9999992 1,8.9999992 1,9.9999992 1,10.999999 0,10.999999 0,9.9999992 0,8.9999992 0,7.9999992 0,6.9999992 0,5.9999992 0,4.9999992 0,3.9999992z M12,1.9999999L13,1.9999999 13,2.9999992 12,2.9999992z M1,1.9999999L2.0000001,1.9999999 2.0000001,2.9999992 1,2.9999992z M11,0.99999994L12,0.99999994 12,1.9999999 11,1.9999999z M2.0000001,0.99999994L2.9999998,0.99999994 2.9999998,1.9999999 2.0000001,1.9999999z M2.9999998,0L3.9999998,0 5,0 6,0 7,0 8,0 9,0 10,0 11,0 11,0.99999994 10,0.99999994 9,0.99999994 8,0.99999994 7,0.99999994 6,0.99999994 5,0.99999994 3.9999998,0.99999994 2.9999998,0.99999994z" Margin="1" Stretch="Fill">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                <GradientStop Color="#FFFC9999" Offset="0"/>
                                                                <GradientStop Color="#FFC26666" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                    <Path Data="M1.4901161E-07,8L1.0000001,8 2.0000002,8 2.0000002,9 2.0000002,10 1.0000003,10 1.0000003,9 1.0000001,10 1.4901161E-07,10 1.4901161E-07,9z M1.4901161E-07,0L1.0000001,0 2.0000002,0 2.0000002,1 2.0000002,2 2.0000002,3 2.0000002,4.0000001 2.0000002,5 2.0000002,5.9999999 2.0000002,7 1.0000001,7 1.4901161E-07,7 1.4901161E-07,5.9999999 1.4901161E-07,5 1.4901161E-07,4.0000001 1.4901161E-07,3 1.4901161E-07,2 0,1z" Fill="White" Margin="7,3" Stretch="Fill"/>
                                                    <Path Data="M4,15L5,15 6,15 7,15 8,15 9,15 10,15 11,15 12,15 12,16 11,16 10,16 9,16 8,16 7,16 6,16 5,16 4,16z M12,14L13,14 13,15 12,15z M3,14L4,14 4,15 3,15z M13,13L14,13 14,14 13,14z M2,13L3,13 3,14 2,14z M14,12L15,12 15,13 14,13z M1,12L2,12 2,13 1,13z M7,11L7,12 7,13 8,13 9,13 9,12 9,11 8,11z M15,4L16,4 16,5 16,6 16,7 16,8 16,9 16,10 16,11 16,12 15,12 15,11 15,10 15,9 15,8 15,7 15,6 15,5z M0,4L1,4 1,5 1,6 1,7 1,8 1,9 1,10 1,11 1,12 0,12 0,11 0,10 0,9 0,8 0,7 0,6 0,5z M14,3L15,3 15,4 14,4z M7,3L7,4 7,5 7,6 7,7 7,8 7,9 7,10 8,10 9,10 9,9 9,8 9,7 9,6 9,5 9,4 9,3 8,3z M1,3L2,3 2,4 1,4z M13,2L14,2 14,3 13,3z M4,2L5,2 6,2 7,2 8,2 9,2 10,2 11,2 12,2 12,3 13,3 13,4 14,4 14,5 14,6 14,7 14,8 14,9 14,10 14,11 14,12 13,12 13,13 12,13 12,14 11,14 10,14 9,14 8,14 7,14 6,14 5,14 4,14 4,13 3,13 3,12 2,12 2,11 2,10 2,9 2,8 2,7 2,6 2,5 2,4 3,4 3,3 4,3z M2,2L3,2 3,3 2,3z M12,1L13,1 13,2 12,2z M3,1L4,1 4,2 3,2z M4,0L5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 12,1 11,1 10,1 9,1 8,1 7,1 6,1 5,1 4,1z" Stretch="Fill">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                <GradientStop Color="Red" Offset="0"/>
                                                                <GradientStop Color="#FF990000" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                </Grid>
                                                <Border x:Name="PART_RowResizer" Background="Transparent" Cursor="SizeNS" Height="2" VerticalAlignment="Bottom"/>
                                            </Grid>
                                        </Border>
                                    </Border>
                                </telerik:SelectiveScrollingGrid>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
                <Setter Property="BorderThickness" Value="0"/>
                <Setter Property="FontWeight" Value="Normal"/>
                <Setter Property="VerticalContentAlignment" Value="Stretch"/>
                <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                <Setter Property="Padding" Value="0"/>
                <Setter Property="AllowDrop" Value="True"/>
                <Setter Property="SnapsToDevicePixels" Value="True"/>
 
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsAssetClassLevel}" Value="True" >
                        <Setter Property="FontWeight" Value="Bold"/>
                        <Setter Property="Background" Value="Transparent"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsProductLevel}" Value="True" >
                        <Setter Property="FontWeight" Value="Normal"/>
                        <Setter Property="Background" Value="Transparent"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True" >
                        <Setter Property="FontWeight" Value="Normal"/>
                        <Setter Property="Background" Value="Transparent"/>
                        <Setter Property="Foreground" Value="DimGray"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsAccountSummaryLevel}" Value="True">
                        <Setter Property="Background" Value="Transparent"/>                       
                        <Setter Property="BorderBrush" Value="Black"/>                  
                        <Setter Property="BorderThickness" Value="1,1,1,1"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsCalculationLevel}" Value="True">
                        <Setter Property="Background" Value="Transparent"/>    
                        <Setter Property="BorderBrush" Value="Black"/>
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsBenchmarkLevel}" Value="True">
                        <Setter Property="Background" Value="Transparent"/>
                        <Setter Property="BorderBrush" Value="Black"/>
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="GridCellStyle">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type telerik:GridViewCell}">
                            <Grid>
                                <VisualStateManager.VisualStateGroups>
                                    <VisualStateGroup x:Name="SelectionStates">
                                        <VisualState x:Name="Unselected"/>
                                        <VisualState x:Name="Selected">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Selected">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="CommonStates">
                                        <VisualState x:Name="Normal"/>
                                        <VisualState x:Name="Current">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Current">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                        <VisualState x:Name="MouseOver">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Over">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="EditingStates">
                                        <VisualState x:Name="Edited">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="PART_ContentPresenter">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Thickness>0</Thickness>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="PART_ContentPresenter">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <VerticalAlignment>Stretch</VerticalAlignment>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="PART_CellBorder">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <SolidColorBrush Color="White" presentationOptions:Freeze="true"/>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                        <VisualState x:Name="Display"/>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="DisabledStates">
                                        <VisualState x:Name="Enabled"/>
                                        <VisualState x:Name="Disabled">
                                            <Storyboard>
                                                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_CellBorder">
                                                    <DiscreteDoubleKeyFrame KeyTime="0" Value="0.4"/>
                                                </DoubleAnimationUsingKeyFrames>
                                                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_ContentPresenter">
                                                    <DiscreteDoubleKeyFrame KeyTime="0" Value="0.7"/>
                                                </DoubleAnimationUsingKeyFrames>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Disabled">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                    <VisualStateGroup x:Name="ValueStates">
                                        <VisualState x:Name="CellValid"/>
                                        <VisualState x:Name="CellInvalid">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Invalid">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                        <VisualState x:Name="InvalidUnfocused">
                                            <Storyboard>
                                                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Background_Invalid_Unfocused">
                                                    <DiscreteObjectKeyFrame KeyTime="0">
                                                        <DiscreteObjectKeyFrame.Value>
                                                            <Visibility>Visible</Visibility>
                                                        </DiscreteObjectKeyFrame.Value>
                                                    </DiscreteObjectKeyFrame>
                                                </ObjectAnimationUsingKeyFrames>
                                            </Storyboard>
                                        </VisualState>
                                    </VisualStateGroup>
                                </VisualStateManager.VisualStateGroups>
                                <!--<Border x:Name="PART_CellBorder" BorderBrush="{TemplateBinding VerticalGridLinesBrush}" Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}">
                                    <Border.BorderThickness>
                                        <Binding ConverterParameter="Right" Path="VerticalGridLinesWidth" RelativeSource="{RelativeSource TemplatedParent}">
                                            <Binding.Converter>
                                                <telerik:GridLineWidthToThicknessConverter/>
                                            </Binding.Converter>
                                        </Binding>
                                    </Border.BorderThickness>
                                </Border>-->
                                <Border x:Name="PART_CellBorder" BorderBrush="LightBlue" BorderThickness="{Binding BorderThickness, RelativeSource={RelativeSource TemplatedParent}}" Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}">                                                                       
                                </Border>
                                <Border x:Name="Background_Over" BorderBrush="#FFFFC92B" BorderThickness="1" Grid.ColumnSpan="2" Grid.Column="2" CornerRadius="1" Margin="1,1,2,2" Visibility="Collapsed">
                                    <Border BorderBrush="White" BorderThickness="1">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FFFFFBA3" Offset="1"/>
                                                <GradientStop Color="#FFFFFBDA" Offset="0"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                    </Border>
                                </Border>
                                <Border x:Name="Background_Selected" BorderBrush="#FFFFC92B" BorderThickness="0.5" Grid.ColumnSpan="2" Grid.Column="2" CornerRadius="1" Margin="1,1,2,2" Visibility="Collapsed">
                                    <Border BorderBrush="White" BorderThickness="1">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FFFCE79F" Offset="1"/>
                                                <GradientStop Color="#FFFDD3A8"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                    </Border>
                                </Border>
                                <Border x:Name="Background_Current" BorderBrush="#FF848484" BorderThickness="1" Grid.ColumnSpan="2" Grid.Column="2" CornerRadius="1" Margin="1,1,2,2" Visibility="Collapsed"/>
                                <Border x:Name="Background_Invalid" BorderBrush="#FFDB000C" BorderThickness="1" Background="White" Grid.ColumnSpan="2" Grid.Column="2" CornerRadius="1" Margin="1,1,2,2" Visibility="Collapsed">
                                    <Border.ToolTip>
                                        <ToolTip x:Name="validationTooltip" Content="{TemplateBinding Errors}" Placement="Right">
                                            <ToolTip.Template>
                                                <ControlTemplate TargetType="{x:Type ToolTip}">
                                                    <Grid x:Name="Root" Margin="5,0" Opacity="0" RenderTransformOrigin="0,0">
                                                        <Grid.RenderTransform>
                                                            <TranslateTransform X="-25"/>
                                                        </Grid.RenderTransform>
                                                        <VisualStateManager.VisualStateGroups>
                                                            <VisualStateGroup x:Name="OpenStates">
                                                                <VisualStateGroup.Transitions>
                                                                    <VisualTransition From="{x:Null}" GeneratedDuration="0" GeneratedEasingFunction="{x:Null}" Storyboard="{x:Null}" To="{x:Null}"/>
                                                                    <VisualTransition From="{x:Null}" GeneratedDuration="0:0:0.2" GeneratedEasingFunction="{x:Null}" To="Open">
                                                                        <Storyboard>
                                                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" Storyboard.TargetName="xform">
                                                                                <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
                                                                            </DoubleAnimationUsingKeyFrames>
                                                                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root">
                                                                                <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
                                                                            </DoubleAnimationUsingKeyFrames>
                                                                        </Storyboard>
                                                                    </VisualTransition>
                                                                </VisualStateGroup.Transitions>
                                                                <VisualState x:Name="Closed">
                                                                    <Storyboard>
                                                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root">
                                                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                                                        </DoubleAnimationUsingKeyFrames>
                                                                    </Storyboard>
                                                                </VisualState>
                                                                <VisualState x:Name="Open">
                                                                    <Storyboard>
                                                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="X" Storyboard.TargetName="xform">
                                                                            <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                                                                        </DoubleAnimationUsingKeyFrames>
                                                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Root">
                                                                            <SplineDoubleKeyFrame KeyTime="0" Value="1"/>
                                                                        </DoubleAnimationUsingKeyFrames>
                                                                    </Storyboard>
                                                                </VisualState>
                                                            </VisualStateGroup>
                                                        </VisualStateManager.VisualStateGroups>
                                                        <Border Background="#052A2E31" CornerRadius="5" Margin="4,4,-4,-4"/>
                                                        <Border Background="#152A2E31" CornerRadius="4" Margin="3,3,-3,-3"/>
                                                        <Border Background="#252A2E31" CornerRadius="3" Margin="2,2,-2,-2"/>
                                                        <Border Background="#352A2E31" CornerRadius="2" Margin="1,1,-1,-1"/>
                                                        <Border Background="#FFDC000C" CornerRadius="2"/>
                                                        <Border CornerRadius="2">
                                                            <ItemsControl>
                                                                <ItemsControl.ItemsPanel>
                                                                    <ItemsPanelTemplate>
                                                                        <StackPanel IsItemsHost="True"/>
                                                                    </ItemsPanelTemplate>
                                                                </ItemsControl.ItemsPanel>
                                                                <ItemsControl.ItemTemplate>
                                                                    <DataTemplate>
                                                                        <TextBlock Foreground="White" MaxWidth="250" Margin="8,4" TextWrapping="Wrap" Text="{Binding}"/>
                                                                    </DataTemplate>
                                                                </ItemsControl.ItemTemplate>
                                                            </ItemsControl>
                                                        </Border>
                                                    </Grid>
                                                </ControlTemplate>
                                            </ToolTip.Template>
                                        </ToolTip>
                                    </Border.ToolTip>
                                    <Grid Background="Transparent" HorizontalAlignment="Right" Height="12" Margin="1,-4,-4,0" VerticalAlignment="Top" Width="12">
                                        <Path Data="M1,0L6,0A2,2,90,0,1,8,2L8,7z" Fill="#FFDB000C" Margin="1,3,0,0"/>
                                        <Path Data="M0,0L2,0 8,6 8,8" Fill="White" Margin="1,3,0,0"/>
                                    </Grid>
                                </Border>
                                <Border x:Name="Background_Invalid_Unfocused" BorderBrush="#FFCE7D7D" BorderThickness="1" Grid.ColumnSpan="2" Grid.Column="2" CornerRadius="1" Margin="1,1,1,2" Opacity="1" Visibility="Collapsed">
                                    <Border BorderThickness="1">
                                        <Border.BorderBrush>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FFEBF4FD"/>
                                                <GradientStop Color="#FFDBEAFD" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.BorderBrush>
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FFFCDCDC"/>
                                                <GradientStop Color="#FFFCC1C1" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                    </Border>
                                </Border>
                                <Border x:Name="Background_Disabled" BorderBrush="#FFF8F8F8" BorderThickness="1" Background="#FFE0E0E0" Grid.ColumnSpan="2" Grid.Column="2" Margin="0,0,1,1" Visibility="Collapsed"/>
                                <ContentPresenter x:Name="PART_ContentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                <behaviors:UIElementAttachedProperties.ItemBoolean>False</behaviors:UIElementAttachedProperties.ItemBoolean>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
                <Setter Property="Padding" Value="5,0,3,0"/>
                <Setter Property="BorderBrush" Value="#FFCBCBCB"/>
                <Setter Property="BorderThickness" Value="0,0,1,0"/>
                <Setter Property="VerticalContentAlignment" Value="Center"/>
                <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                <Setter Property="Background" Value="Transparent"/>
                <Setter Property="SnapsToDevicePixels" Value="True"/>
                <Setter Property="FocusVisualStyle">
                    <Setter.Value>
                        <Style>
                            <Setter Property="Control.Template">
                                <Setter.Value>
                                    <ControlTemplate>
                                        <Border BorderBrush="#FF848484" BorderThickness="1" CornerRadius="1" Margin="1,1,2,2"/>
                                    </ControlTemplate>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </Setter.Value>
                </Setter>
                <Setter Property="ContextMenu" Value="{StaticResource CellContextMenu}"/>
                <Style.Triggers>
                    <Trigger Property="behaviors:UIElementAttachedProperties.ItemBoolean"   Value="True">
                        <Setter Property="BorderBrush" Value="{StaticResource SelectedBackgroundBrush}"/>
                        <Setter Property="Background" Value="{StaticResource SelectedBackgroundBrush}"/>
                        <Setter Property="BorderThickness" Value="3"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
 
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}" x:Key="WhatIfCellStyle">
                <Setter Property="HorizontalContentAlignment" Value="Right"/>                                                           
                <Setter Property="Background" >
                    <Setter.Value>
                        <MultiBinding Converter="{StaticResource AllocationModeToBackgroundColorConverter}">
                            <MultiBinding.Bindings>
                                <Binding/>
                                <Binding RelativeSource="{RelativeSource Self}"/>
                            </MultiBinding.Bindings>
                        </MultiBinding>
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderThickness" Value="0.5"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsProductLevel}" Value="False">
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True">
                        <Setter Property="BorderThickness" Value="0"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsAccountSummaryLevel}" Value="True">
                        <Setter Property="BorderThickness" Value="0"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
 
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}" x:Key="ProductExposureCellStyle">
                <Setter Property="HorizontalContentAlignment" Value="Right"/>               
                <Setter Property="Background" Value="Transparent"/>
                <Setter Property="BorderThickness" Value="0.5"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsAssetClassLevel}" Value="True">
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True">
                        <Setter Property="BorderThickness" Value="0"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsAccountSummaryLevel}" Value="True">                       
                        <Setter Property="BorderThickness" Value="0"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsCalculationLevel}" Value="True">
                        <Setter Property="BorderBrush" Value="DimGray"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsBenchmarkLevel}" Value="True">
                        <Setter Property="BorderBrush" Value="DimGray"/>
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}" x:Key="WhatIfPlugCellStyle">
                <Setter Property="HorizontalAlignment" Value="Center"/>               
                <Setter Property="Background" >
                    <Setter.Value>
                        <MultiBinding Converter="{StaticResource AllocationModeToBackgroundColorConverter}">
                            <MultiBinding.Bindings>
                                <Binding/>
                                <Binding RelativeSource="{RelativeSource Self}"/>
                            </MultiBinding.Bindings>
                        </MultiBinding>
                    </Setter.Value>
                </Setter>
                <Setter Property="ContextMenu" Value="{x:Null}"/>
                <Setter Property="BorderThickness" Value="0.5"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsProductLevel}" Value="False">
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>                   
                </Style.Triggers>
                 
            </Style>
 
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}" x:Key="WhatIfFullLiqCellStyle">
                <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                <Setter Property="Background" >
                    <Setter.Value>
                        <MultiBinding Converter="{StaticResource AllocationModeToBackgroundColorConverter}">
                            <MultiBinding.Bindings>
                                <Binding/>
                                <Binding RelativeSource="{RelativeSource Self}"/>
                            </MultiBinding.Bindings>
                        </MultiBinding>
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderThickness" Value="0.5"/>
                <Setter Property="ContextMenu" Value="{x:Null}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsProductLevel}" Value="False">
                        <Setter Property="BorderThickness" Value="0"/>
                    </DataTrigger>                   
                </Style.Triggers>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}"  x:Key="ReadOnlyNumericCellStyle" >
                <Setter Property="HorizontalContentAlignment" Value="Right"/>
                <Setter Property="BorderBrush" Value="Transparent"/>
                <Setter Property="BorderThickness" Value="0"/>
                <Setter Property="ContextMenu" Value="{StaticResource CellContextMenu}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True">
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsAccountSummaryLevel}" Value="True">
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource ReadOnlyNumericCellStyle}" x:Key="ReadOnlyStringCellStyle" >
                <Setter Property="HorizontalContentAlignment" Value="Left"/>  
                <Setter Property="ContextMenu" Value="{x:Null}"/>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewCell}" BasedOn="{StaticResource GridCellStyle}" x:Key="BenchmarkOUCellStyle">
                <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                <Setter Property="BorderBrush" Value="Transparent"/>
                <Setter Property="BorderThickness" Value="0"/>
                <Setter Property="ContextMenu" Value="{StaticResource CellContextMenu}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsAssetClassLevel}" Value="True">
                        <Setter Property="Background" Value="#22808080"/>
                    </DataTrigger
                    <DataTrigger Binding="{Binding IsAssetClassLevel}" Value="False">
                        <Setter Property="ContextMenu" Value="{x:Null}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
 
            <Style TargetType="{x:Type telerik:CommonColumnHeader}" x:Key="ColumnGroupHeaderStyle">
                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                <Setter Property="Background" Value="#FF315B95"/>
                <Setter Property="BorderBrush" Value="White"/>
                <Setter Property="BorderThickness" Value="1"/>
                <Setter Property="Foreground" Value="White"/>
            </Style>
             
            <Style TargetType="{x:Type telerik:GridViewHeaderCell}" x:Key="ColumnHeaderStyle">
                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                <Setter Property="Background" Value="#FF315B95"/>
                <Setter Property="BorderBrush" Value="White"/>
                <Setter Property="BorderThickness" Value="1"/>
                <Setter Property="TextBlock.TextWrapping" Value="Wrap"/>
                <Setter Property="Foreground" Value="White"/>
            </Style>
             
            <DataTemplate x:Key="BenchmarkWeightAssetClassTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.BenchmarkAssetClassWeight, Mode=OneWay, StringFormat={}{0:P1}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.BenchmarkAssetClassWeight, Mode=OneWay, StringFormat={}{0:P10}}"></TextBlock>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
             
            <views:AccountGridTemplateSelector x:Key="BenchmarkWeightCellTemplateSelector" AssetClassLevelViewModelTemplate="{StaticResource BenchmarkWeightAssetClassTemplate}" ProductHoldingLevelViewModelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="BenchmarkOUAssetClassTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.BenchmarkAssetClassCurrentOU, Mode=OneWay, StringFormat={}{0:P1}}" HorizontalAlignment="Stretch" TextAlignment="Right">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.BenchmarkAssetClassCurrentOU, Mode=OneWay, StringFormat={}{0:P10}}"></TextBlock>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="BenchmarkOUCellTemplateSelector" AssetClassLevelViewModelTemplate="{StaticResource BenchmarkOUAssetClassTemplate}" ProductHoldingLevelViewModelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="DeltaPercentOfAccountMarketValueAssetClassLevelVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}" Visibility="{Binding AssetClassLevelViewModel.HasAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>                               
                        <TextBlock Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P}}"/>                               
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="DeltaPercentOfAccountMarketValueProductHoldingLevelVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock x:Name="DeltaPercentOfAccountMarketValueProductLevelTextBlock" Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}" Visibility="{Binding ProductHoldingLevelViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P}}"/>                               
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="DeltaPercentOfAccountMarketValueLookThroughProductVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock x:Name="DeltaPercentOfAccountMarketValueLookThroughProductTextBlock" Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}" Visibility="{Binding LookThroughProductViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaPercentOfAccountMarketValue, StringFormat={}{0:P}}"/>                               
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="DeltaPercentOfAccountMarketValueCellTemplate" AssetClassLevelViewModelTemplate="{StaticResource DeltaPercentOfAccountMarketValueAssetClassLevelVmTemplate}" ProductHoldingLevelViewModelTemplate="{StaticResource DeltaPercentOfAccountMarketValueProductHoldingLevelVmTemplate}" LookThroughProductViewModelTemplate="{StaticResource DeltaPercentOfAccountMarketValueLookThroughProductVmTemplate}"/>
 
            <DataTemplate x:Key="PercentOfProductProductHoldingLevelVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock x:Name="PercentOfProductProductLevelTextBlock" Text="{Binding Node.DeltaPercentOfProductMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}"  Visibility="{Binding ProductHoldingLevelViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaPercentOfProductMarketValue, StringFormat={}{0:P}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="PercentOfProductLookThroughProductVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock x:Name="PercentOfProductLookThroughProductTextBlock" Text="{Binding Node.DeltaPercentOfProductMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}"  Visibility="{Binding LookThroughProductViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaPercentOfProductMarketValue, StringFormat={}{0:P}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
 
            <views:AccountGridTemplateSelector x:Key="DeltaPercentOfProductMarketValueCellTemplate" AssetClassLevelViewModelTemplate="{x:Null}" ProductHoldingLevelViewModelTemplate="{StaticResource PercentOfProductProductHoldingLevelVmTemplate}"
                                                            LookThroughProductViewModelTemplate="{StaticResource PercentOfProductLookThroughProductVmTemplate}"/>
 
            <DataTemplate x:Key="DeltaMarketValueAssetClassLevelVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.DeltaMarketValue, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}" Visibility="{Binding AssetClassLevelViewModel.HasAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaMarketValue, StringFormat={}{0:C}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="DeltaMarketValueProductHoldingLevelVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.DeltaMarketValue, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}" Visibility="{Binding ProductHoldingLevelViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaMarketValue, StringFormat={}{0:C}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="DeltaMarketValueLookThroughProductVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.DeltaMarketValue, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}" Visibility="{Binding LookThroughProductViewModel.IsAllocation, Converter={StaticResource BoolToVisibilityConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaMarketValue, StringFormat={}{0:C}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <DataTemplate x:Key="DeltaMarketValueAccountSummaryVmTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.DeltaMarketValue, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.DeltaMarketValue, StringFormat={}{0:C}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="DeltaMarketValueCellTemplate" AssetClassLevelViewModelTemplate="{StaticResource DeltaMarketValueAssetClassLevelVmTemplate}"
                                                            ProductHoldingLevelViewModelTemplate="{StaticResource DeltaMarketValueProductHoldingLevelVmTemplate}"
                                                            LookThroughProductViewModelTemplate="{StaticResource DeltaMarketValueLookThroughProductVmTemplate}"
                                                            AccountSummaryLevelTemplate ="{StaticResource DeltaMarketValueAccountSummaryVmTemplate}"/>
 
            <DataTemplate x:Key="BenchmarkWhatIfAssetClassTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.BenchmarkAssetClassWhatIfOU, Mode=OneWay, StringFormat={}{0:P1}}" HorizontalAlignment="Stretch" TextAlignment="Right">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding Node.BenchmarkAssetClassWhatIfOU, Mode=OneWay, StringFormat={}{0:P10}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="BenchmarkWhatIfCellTemplateSelector" AssetClassLevelViewModelTemplate="{StaticResource BenchmarkWhatIfAssetClassTemplate}" ProductHoldingLevelViewModelTemplate="{x:Null}" LookThroughProductViewModelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="TargetPercentOfAccountMarketValueStandardTemplate" DataType="viewModels:NodeViewModel" >
                <TextBlock Text="{Binding Node.TargetPercentOfAccountMarketValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}">
                            <TextBlock.ToolTip>
                                <TextBlock Text="{Binding Node.TargetPercentOfAccountMarketValue, StringFormat={}{0:P10}}"/>
                            </TextBlock.ToolTip>
                        </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="TargetPercentOfAccountMarketValueTemplateSelector" StandardTemplate="{StaticResource TargetPercentOfAccountMarketValueStandardTemplate}" BenchmarkLevelTemplate="{x:Null}" CalculationLevelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="TargetMarketValueOfProductStandardTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.TargetMarketValueOfProduct, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}">
                            <TextBlock.ToolTip>
                                <TextBlock Text="{Binding Node.TargetMarketValueOfProduct, StringFormat={}{0:C}}" />
                            </TextBlock.ToolTip>
                        </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="TargetMarketValueOfProductTemplateSelector" StandardTemplate="{StaticResource TargetMarketValueOfProductStandardTemplate}" BenchmarkLevelTemplate="{x:Null}" CalculationLevelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="MarketValueStandardTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding Node.MarketValue, Converter={StaticResource MarketValueFormatter}, StringFormat={}{0:N0}}">
                            <TextBlock.ToolTip>
                                <TextBlock Text="{Binding Node.MarketValue, Mode=OneWay, StringFormat={}{0:C}}" />
                            </TextBlock.ToolTip>
                        </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="MarketValueTemplateSelector" StandardTemplate="{StaticResource MarketValueStandardTemplate}" BenchmarkLevelTemplate="{x:Null}" CalculationLevelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="PercentOfAccountMarketValueStandardTemplate" DataType="viewModels:NodeViewModel" >
                <TextBlock Text="{Binding Node.PercentOfAccountMarketValue, Mode=OneWay, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}">
                            <TextBlock.ToolTip>
                                <TextBlock Text="{Binding Node.PercentOfAccountMarketValue, Mode=OneWay, StringFormat={}{0:P10}}"/>
                            </TextBlock.ToolTip>
                        </TextBlock>
            </DataTemplate>
            <views:AccountGridTemplateSelector x:Key="PercentOfAccountMarketValueTemplateSelector" StandardTemplate="{StaticResource PercentOfAccountMarketValueStandardTemplate}" BenchmarkLevelTemplate="{x:Null}" CalculationLevelTemplate="{x:Null}"/>
 
            <DataTemplate x:Key="PlugStandardTemplate" DataType="viewModels:NodeViewModel" >
                <CheckBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsChecked="{Binding Node.Plug, UpdateSourceTrigger=PropertyChanged}">
                    <CheckBox.Style>
                        <Style TargetType="{x:Type CheckBox}">
                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
                            <Setter Property="Background" Value="#F4F4F4"/>
                            <Setter Property="BorderBrush" Value="#8E8F8F"/>
                            <Setter Property="BorderThickness" Value="1"/>
                            <Setter Property="Visibility" Value="Collapsed"/>
                            <Setter Property="FocusVisualStyle">
                                <Setter.Value>
                                    <Style>
                                        <Setter Property="Control.Template">
                                            <Setter.Value>
                                                <ControlTemplate>
                                                    <Rectangle Margin="1" SnapsToDevicePixels="True"
                                                            Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"
                                                            StrokeThickness="1" StrokeDashArray="1 2"/>
                                                </ControlTemplate>
                                            </Setter.Value>
                                        </Setter>
                                    </Style>
                                </Setter.Value>
                            </Setter>
                            <Setter Property="Template">
                                <Setter.Value>
                                    <ControlTemplate TargetType="{x:Type CheckBox}">
                                        <BulletDecorator Background="Transparent" SnapsToDevicePixels="true">
                                            <BulletDecorator.Bullet>
                                                <themes:BulletChrome BorderBrush="{TemplateBinding BorderBrush}"
                                                    Background="{TemplateBinding Background}"
                                                    IsChecked="{TemplateBinding IsChecked}"
                                                    RenderMouseOver="{TemplateBinding IsMouseOver}"
                                                    RenderPressed="{TemplateBinding IsPressed}" IsRound="True"/>
                                            </BulletDecorator.Bullet>
                                            <ContentPresenter
                                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                                Margin="{TemplateBinding Padding}" RecognizesAccessKey="True"
                                                SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                        </BulletDecorator>
                                        <ControlTemplate.Triggers>
                                            <Trigger Property="HasContent" Value="true">
                                                <!--<Setter Property="FocusVisualStyle" Value="{StaticResource CheckRadioFocusVisual}"/>-->
                                                <Setter Property="Padding" Value="4,0,0,0"/>
                                            </Trigger>
                                            <Trigger Property="IsEnabled" Value="false">
                                                <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                                            </Trigger>
                                        </ControlTemplate.Triggers>
                                    </ControlTemplate>
                                </Setter.Value>
                            </Setter>
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding IsProductLevel}" Value="True">
                                    <Setter Property="Visibility" Value="Visible"/>
                                </DataTrigger>                               
                                <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True">
                                    <Setter Property="Visibility" Value="Visible"/>
                                    <Setter Property="IsEnabled" Value="False"/>
                                </DataTrigger>                               
                            </Style.Triggers>
                        </Style>
                    </CheckBox.Style>
                </CheckBox>
            </DataTemplate>
 
 
            <DataTemplate x:Key="BenchmarkLevelTemplate" DataType="viewModels:NodeViewModel">
                <TextBlock Text="{Binding BenchmarkLevelViewModel.PlugColumnValue, StringFormat={}{0:P1}, Converter={StaticResource DecimalMaxConverter}}">
                    <TextBlock.ToolTip>
                        <TextBlock Text="{Binding BenchmarkLevelViewModel.PlugColumnValue, StringFormat={}{0:P10}}"/>
                    </TextBlock.ToolTip>
                </TextBlock>
            </DataTemplate>
 
            <views:AccountGridTemplateSelector x:Key="PlugTemplateSelector" StandardTemplate="{StaticResource PlugStandardTemplate}" BenchmarkLevelTemplate="{StaticResource BenchmarkLevelTemplate}" CalculationLevelTemplate="{x:Null}"/>
 
 
        </telerik:RadTreeListView.Resources>
        <telerik:RadTreeListView.HeaderRowStyle>
            <Style TargetType="{x:Type telerik:GridViewHeaderRow}">
                <Setter Property="Panel.Background" Value="White"/>
            </Style>
        </telerik:RadTreeListView.HeaderRowStyle>
        <telerik:RadTreeListView.Columns>
            <telerik:GridViewDataColumn Header="Name" AutomationProperties.AutomationId="Name Column" DataMemberBinding="{Binding Node.Name, Mode=OneWay}"
                                        IsReadOnly="True" DisplayIndex="0" Width="245" HeaderCellStyle="{StaticResource ColumnHeaderStyle}"
                                        CellStyle="{StaticResource ReadOnlyStringCellStyle}"
                                        ColumnGroupName="Name" TabStopMode="Skip"/>
                 
            <telerik:GridViewDataColumn Header="% Tot" AutomationProperties.AutomationId="PercentOfAccountMarketValue Column" Width="60"
                                        IsReadOnly="True" DisplayIndex="1"
                                        CellStyle="{StaticResource ReadOnlyNumericCellStyle}" CellTemplateSelector="{StaticResource PercentOfAccountMarketValueTemplateSelector}"                                                      
                                        ColumnGroupName="CurrentAllocation" TabStopMode="Skip">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="PercentTotal" ColumnType="Grid" ColumnSubType="Current"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="% Of Total"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                 
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Header="MV" AutomationProperties.AutomationId="MarketValue" Width="70"
                                        IsReadOnly="True" DisplayIndex="2" CellStyle="{StaticResource ReadOnlyNumericCellStyle}" CellTemplateSelector="{StaticResource MarketValueTemplateSelector}"
                                        ColumnGroupName="CurrentAllocation" TabStopMode="Skip">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="MarketValue" ColumnType="Grid" ColumnSubType="Current"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="MV $(in 000s)"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                
            </telerik:GridViewDataColumn>
            <telerik:GridViewMaskedTextBoxColumn Header="Wgt" AutomationProperties.AutomationId="BenchmarkAssetClassWeight Column" CellTemplateSelector="{StaticResource BenchmarkWeightCellTemplateSelector}"
                                        Width="60"
                                        IsReadOnly="True" DisplayIndex="3" CellStyle="{StaticResource ReadOnlyNumericCellStyle}"
                                        ColumnGroupName="Benchmark" TabStopMode="Skip" Footer="{x:Null}">
                <telerik:GridViewMaskedTextBoxColumn.Tag>
                    <views:ColumnTag Column="BenchmarkWeight" ColumnType="Grid" ColumnSubType="Current"/>
                </telerik:GridViewMaskedTextBoxColumn.Tag>
                <telerik:GridViewMaskedTextBoxColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="Weight"/>
                    </Style>
                </telerik:GridViewMaskedTextBoxColumn.HeaderCellStyle>
            </telerik:GridViewMaskedTextBoxColumn>
            <telerik:GridViewMaskedTextBoxColumn Header="O/U" AutomationProperties.AutomationId="BenchmarkAssetClassCurrentOU Column" CellTemplateSelector="{StaticResource BenchmarkOUCellTemplateSelector}"
                                        Width="60"
                                        IsReadOnly="True" DisplayIndex="4" CellStyle="{StaticResource BenchmarkOUCellStyle}"
                                        ColumnGroupName="Benchmark" TabStopMode="Skip" Footer="{x:Null}">
                <telerik:GridViewMaskedTextBoxColumn.Tag>
                    <views:ColumnTag Column="BenchmarkWeightOverUnder" ColumnType="Grid" ColumnSubType="Current"/>
                </telerik:GridViewMaskedTextBoxColumn.Tag>
                <telerik:GridViewMaskedTextBoxColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="Over/Under"/>
                    </Style>
                </telerik:GridViewMaskedTextBoxColumn.HeaderCellStyle>
            </telerik:GridViewMaskedTextBoxColumn>
                         
            <!--What-If Column Names are used in the AllocationModeToBackgroundConverter-->
            <telerik:GridViewDataColumn Name="DeltaPercentOfAccountMarketValue" Header="% Tot" AutomationProperties.AutomationId="DeltaPercentOfAccountMarketValue Column" CellTemplateSelector="{StaticResource DeltaPercentOfAccountMarketValueCellTemplate}"                                         
                                        Width="60"
                                        CellStyle="{StaticResource WhatIfCellStyle}"
                                        EditTriggers="CellClick,TextInput" TabStopMode="StopInEditMode"
                                        IsReadOnlyBinding="{Binding Converter={StaticResource NodeToIsReadOnlyConverter}}" DisplayIndex="5"                                           
                                        ColumnGroupName="WhatIfChange" Footer="{x:Null}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="DeltaPercentTotal" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="% Of Total"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                <telerik:GridViewDataColumn.CellEditTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <TextBox BorderBrush="Transparent" BorderThickness="1" Text="{Binding Node.DeltaPercentOfAccountMarketValue, Converter={StaticResource StringToPercentageConverter}, StringFormat={}{0:N2}}"  Background="Transparent"/>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellEditTemplate>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Name="DeltaPercentOfProductMarketValue" Header="% Hldg" AutomationProperties.AutomationId="DeltaPercentOfProductMarketValue Column"                                            
                                        Width="60"
                                        CellStyle="{StaticResource WhatIfCellStyle}"
                                        EditTriggers="CellClick,TextInput" TabStopMode="StopInEditMode"
                                        DisplayIndex="6"
                                        IsReadOnlyBinding="{Binding Converter={StaticResource PercentOfProductMkValueReadOnlyConverter}}"                                           
                                        ColumnGroupName="WhatIfChange" Footer="{x:Null}"
                                        CellTemplateSelector="{StaticResource DeltaPercentOfProductMarketValueCellTemplate}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="DeltaPercentHolding" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="% Of Holding"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                <telerik:GridViewDataColumn.CellEditTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <TextBox Style="{StaticResource MergedContextMenuStyle}" BorderBrush="Transparent" BorderThickness="1" Text="{Binding Node.DeltaPercentOfProductMarketValue, Converter={StaticResource StringToPercentageConverter}, StringFormat={}{0:N2}}"  Background="Transparent"/>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellEditTemplate>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Name="DeltaMarketValue" Header="MV" AutomationProperties.AutomationId="DeltaMarketValue Column" CellTemplateSelector="{StaticResource DeltaMarketValueCellTemplate}"                                         
                                        Width="70"
                                        CellStyle="{StaticResource WhatIfCellStyle}"
                                        EditTriggers="CellClick,TextInput" TabStopMode="StopInEditMode"
                                        IsReadOnlyBinding="{Binding Converter={StaticResource NodeToIsReadOnlyConverter}}" DisplayIndex="7"
                                        ColumnGroupName="WhatIfChange" Footer="{x:Null}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="DeltaPercentMarketValue" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="MV $(in 000s)"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                <telerik:GridViewDataColumn.CellEditTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <TextBox Style="{StaticResource MergedContextMenuStyle}" BorderBrush="Transparent" BorderThickness="1" Text="{Binding Node.DeltaMarketValue, Converter={StaticResource MarketValueFormatter}}"  Background="Transparent"/>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellEditTemplate>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Name="TargetPercentOfAccountMarketValue" Header="% Tot" AutomationProperties.AutomationId="TargetPercentOfAccountMarketValue Column"                                            
                                        Width="60"
                                        CellStyle="{StaticResource WhatIfCellStyle}" CellTemplateSelector="{StaticResource TargetPercentOfAccountMarketValueTemplateSelector}"                                        
                                        DisplayIndex="8" EditTriggers="CellClick,TextInput" TabStopMode="StopInEditMode"
                                        IsReadOnlyBinding="{Binding Converter={StaticResource NodeToIsReadOnlyConverter}}"
                                        ColumnGroupName="WhatIfAllocation">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="PercentTotal" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="% Of Total"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>               
                <telerik:GridViewDataColumn.CellEditTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <TextBox Style="{StaticResource MergedContextMenuStyle}" BorderBrush="Transparent" BorderThickness="1" Text="{Binding Node.TargetPercentOfAccountMarketValue, Converter={StaticResource StringToPercentageConverter}, StringFormat={}{0:N2}}"  Background="Transparent"/>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellEditTemplate>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Name="TargetMarketValueOfProduct" Header="MV" AutomationProperties.AutomationId="TargetMarketValueOfProduct Column"                                           
                                        Width="70"
                                        CellStyle="{StaticResource WhatIfCellStyle}" CellTemplateSelector="{StaticResource TargetMarketValueOfProductTemplateSelector}"
                                        EditTriggers="CellClick,TextInput" TabStopMode="StopInEditMode"
                                        IsReadOnlyBinding="{Binding Converter={StaticResource NodeToIsReadOnlyConverter}}" DisplayIndex="9"
                                        ColumnGroupName="WhatIfAllocation">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="MarketValue" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
 
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="MV $(in 000s)"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>               
                <telerik:GridViewDataColumn.CellEditTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <TextBox Style="{StaticResource MergedContextMenuStyle}" BorderBrush="Transparent" BorderThickness="1" Text="{Binding Node.TargetMarketValueOfProduct, Converter={StaticResource MarketValueFormatter}}"  Background="Transparent"/>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellEditTemplate>
                 
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Header="BM O/U" AutomationProperties.AutomationId="BM O/U Column"
                                        CellTemplateSelector="{StaticResource BenchmarkWhatIfCellTemplateSelector}"
                                        Width="60"
                                        IsReadOnly="True" DisplayIndex="10" CellStyle="{StaticResource BenchmarkOUCellStyle}"
                                        ColumnGroupName="WhatIfAllocation" TabStopMode="Skip" Footer="{x:Null}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="BenchmarkWeightOverUnder" ColumnType="Grid" ColumnSubType="WhatIf"/>
                </telerik:GridViewDataColumn.Tag>
                 
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="Account Benchmark Over/Under"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
            </telerik:GridViewDataColumn>
            <telerik:GridViewDataColumn Name="FullLiq" Header="Liq" AutomationProperties.AutomationId="Full Liq Column"                                     
                                        Width="Auto"
                                        CellStyle="{StaticResource WhatIfFullLiqCellStyle}"
                                        DisplayIndex="11" TabStopMode="StopInEditMode"                                            
                                        ColumnGroupName="Misc" Footer="{x:Null}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="Liq" ColumnType="Grid" ColumnSubType="Unknown"/>
                </telerik:GridViewDataColumn.Tag>
                <telerik:GridViewDataColumn.HeaderCellStyle>
                    <Style TargetType="telerik:GridViewHeaderCell" BasedOn="{StaticResource ColumnHeaderStyle}">
                        <Setter Property="ToolTip" Value="Liquidate"/>
                    </Style>
                </telerik:GridViewDataColumn.HeaderCellStyle>
                <telerik:GridViewDataColumn.CellTemplate>
                    <DataTemplate DataType="viewModels:NodeViewModel">
                        <CheckBox HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding Node.Liquidate, UpdateSourceTrigger=PropertyChanged}">
                            <CheckBox.Style>
                                <Style TargetType="{x:Type CheckBox}">
                                    <Setter Property="Visibility" Value="Collapsed"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding IsProductLevel}" Value="True">
                                            <Setter Property="Visibility" Value="Visible"/>
                                        </DataTrigger>                                       
                                        <DataTrigger Binding="{Binding IsLookThroughProductLevel}" Value="True">
                                            <Setter Property="Visibility" Value="Visible"/>
                                            <Setter Property="IsEnabled" Value="False"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </CheckBox.Style>
                        </CheckBox>
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellTemplate>
            </telerik:GridViewDataColumn>     
            <telerik:GridViewDataColumn Name="Plug" Header="Plug"                                               
                                        Width="Auto" HeaderCellStyle="{StaticResource ColumnHeaderStyle}"
                                        CellStyle="{StaticResource WhatIfPlugCellStyle}" CellTemplateSelector="{StaticResource PlugTemplateSelector}"
                                        DisplayIndex="12" TabStopMode="StopInEditMode"
                                        ColumnGroupName="Misc" Footer="{x:Null}">
                <telerik:GridViewDataColumn.Tag>
                    <views:ColumnTag Column="Plug" ColumnType="Grid" ColumnSubType="Unknown"/>
                </telerik:GridViewDataColumn.Tag>
            </telerik:GridViewDataColumn>
        </telerik:RadTreeListView.Columns>
 
        <telerik:RadTreeListView.ChildTableDefinitions>
            <telerik:TreeListViewTableDefinition ItemsSource="{Binding SortedChildren}"/>
        </telerik:RadTreeListView.ChildTableDefinitions>
        <telerik:RadTreeListView.ColumnGroups>
            <telerik:GridViewColumnGroup Name="Name" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}" Header=""/>
            <telerik:GridViewColumnGroup Name="CurrentAllocation" Header="Current Allocation" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}" />
            <telerik:GridViewColumnGroup Name="Benchmark" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}">
                <telerik:GridViewColumnGroup.HeaderTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="BM "/>
<!-- ReSharper disable Xaml.BindingWithContextNotResolved -->
                            <TextBlock DataContext="{Binding ElementName=TreeListView, Path=DataContext}" Text="{Binding Path=BenchmarkMaxLoadDate, StringFormat={}{0:d}}"/>
<!-- ReSharper restore Xaml.BindingWithContextNotResolved -->
                        </StackPanel>
                    </DataTemplate>
                </telerik:GridViewColumnGroup.HeaderTemplate>
            </telerik:GridViewColumnGroup>
            <telerik:GridViewColumnGroup Name="WhatIfChange" Header="What-If Change" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}" />
            <telerik:GridViewColumnGroup Name="WhatIfAllocation" Header="What-If Allocation" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}" />
            <telerik:GridViewColumnGroup Name="Misc" Header="" HeaderStyle="{StaticResource ColumnGroupHeaderStyle}" />
        </telerik:RadTreeListView.ColumnGroups>
    </telerik:RadTreeListView>

Any help would be appreciated.

Hasanain
Vlad
Telerik team
 answered on 17 Jan 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?