This question is locked. New answers and comments are not allowed.
<ControlTemplate x:Key="GridViewGroupPanelTemplate" TargetType="Telerik_Windows_Controls_GridView:GridViewGroupPanel"> <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="Grouping"> <VisualState x:Name="NoGroups"/> <VisualState x:Name="HasGroups"> <Storyboard> <ObjectAnimationUsingKeyFrames Storyboard.TargetName="panelText" Storyboard.TargetProperty="Visibility"> <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Collapsed"/> </ObjectAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Storyboard.TargetName="panelTextGrouped" Storyboard.TargetProperty="Visibility"> <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Visible"/> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Border Background="{TemplateBinding Background}" BorderBrush="{StaticResource GridView_GroupPanelInnerBorder}" BorderThickness="1"> <StackPanel Orientation="Horizontal"> <TextBlock x:Name="panelText" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" IsHitTestVisible="False" FontSize="9.5" telerik:LocalizationManager.ResourceKey="GridViewGroupPanelText" Text="Drag a column header and drop it here to group by that column 123"/> <TextBlock x:Name="panelTextGrouped" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" IsHitTestVisible="False" Visibility="Collapsed" telerik:LocalizationManager.ResourceKey="GridViewGroupPanelTopTextGrouped"/> <ItemsPresenter VerticalAlignment="Center"/> </StackPanel> </Border> </Border> </ControlTemplate> <ItemsPanelTemplate x:Key="GridViewGroupPanelItemsPanelTemplate"> <StackPanel VerticalAlignment="Stretch" Orientation="Horizontal"/> </ItemsPanelTemplate> <LinearGradientBrush x:Key="GridView_GroupPanelBackground" EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFDFDFDF" Offset="1"/> <GradientStop Color="#FFBABABA"/> </LinearGradientBrush> <SolidColorBrush x:Key="GridView_GroupPanelOuterBorder" Color="#FF848484"/> <Style x:Key="GridViewGroupPanelStyle1" TargetType="Telerik_Windows_Controls_GridView:GridViewGroupPanel"> <Setter Property="Template" Value="{StaticResource GridViewGroupPanelTemplate}"/> <Setter Property="ItemsPanel" Value="{StaticResource GridViewGroupPanelItemsPanelTemplate}"/> <Setter Property="MinHeight" Value="32"/> <Setter Property="Margin" Value="0"/> <Setter Property="Padding" Value="10,0,3,0"/> <Setter Property="Background" Value="{StaticResource GridView_GroupPanelBackground}"/> <Setter Property="BorderBrush" Value="{StaticResource GridView_GroupPanelOuterBorder}"/> <Setter Property="BorderThickness" Value="0,0,0,1"/> <Setter Property="VerticalContentAlignment" Value="Center"/> <Setter Property="HorizontalContentAlignment" Value="Left"/> </Style> </navigation:Page.Resources> I would like to do something like: this.panelText = "bla bla" is this possible?
Someone has any idea?
When I type in this.paneltext in my cs file then it doesn't recognize it?