Telerik Forums
UI for WPF Forum
1 answer
218 views

Good morning,

 

How it's possible insert a datagrid within an autocompletebox ?

 

I've tried to make this with a DropDownTemplate, but I have a datagrid for each element of my collection (see the picture on attachment)

Dilyan Traykov
Telerik team
 answered on 17 Mar 2017
17 answers
346 views

I tried to implement the Export functionality for GridView shown in the UI for WPF example (Word, Excel, CSV export), and I get everything to work except that the "context" is incorrect. When I get into the code, the object that is passed as a parameter is the high-level parent of the GridView I would like to export. What am I doing wrong that I can't get the "context" parameter to be correct?

XAML:

    xmlns:exp="clr-namespace:GridView.Exporting"
    <UserControl.Resources>
        <exp:ExportingModel x:Key="context" />

 

    <telerik:RadButton x:Name="ExpGPData" Content="Export" Grid.Column="0" ToolTip="Export this data to an Excel format" Command="{Binding ExportCommand, Source={StaticResource context}}" CommandParameter="{Binding}"/>

 

ExportingModel.cs is same as in the example.

Stefan Nenchev
Telerik team
 answered on 17 Mar 2017
2 answers
81 views

Here is my issue:

 

Attached is a partial picture of my app.

In the left, at the bottom, I have assistants and providers in two different resource types, so I can select one of them or both when editing an appointment.

What I need is to group the appointments with assistants and providers at the same level, not one as subgroup of the other.

I added a resourcetype of user, where I listed both the previous ones, but then when the editor pops up, it also shows a combo box for users, which I don't want.

Is there a way of doing this?

 

Thanks.

Yana
Telerik team
 answered on 17 Mar 2017
1 answer
242 views

Hello

My company is currently using dlls that are old . 2013.

We want to update soon to fix some problems we are having so I downloaded the trial version to do some tests first.

Some of our code use PickerTextBox. I red that it was now obsolete.

 

With what should I replace it?

 

Thanks

 

 

Martin
Telerik team
 answered on 16 Mar 2017
10 answers
175 views

Hi,

I have Radcontrols for WPF Q1 2011 installed and I am using ScheduleView control in my application. I implemented Function key bindings (other than F2 key) on WPF window. On running the application, all Function keys work as expected but when I press F2 key followed by any other Function key, it gives me the error "Width Must be Non-Negative". The error popup is cascaded to infinite loop which as the application to crash.

I also found this is the issue with control and it has been fixed in Radcontrols for WPF Q2 2013. My application is not compatible with latest version, got lots of build errors. Please reply how can I make my application compatible with latest version? And how can I download the Radcontrols for WPF Q2 2013 version?

Durga
Top achievements
Rank 1
 answered on 16 Mar 2017
10 answers
364 views
Hello,

I am having a weird problem with the RadDocking control. You can find the example xaml code below. I am setting the datacontext of the UserControl from codebehind. And for the local:SelectedComponentsView control the DataContext binding is not being set!! But when I put the entire RadDocking object inside a Tabcontrol and TabItem, it works!!! But I don't want to use a TabControl to fix this problem. Please advice on the problem I am facing.

Regards,

<UserControl x:Class="MyProject.Engineering.Common.Controls.EnergyStateModelView"             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:telerik="http://schemas.telerik.com/2008/xaml/presentation"             xmlns:local="clr-namespace:MyProject.Engineering.Common.Controls"             xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"             mc:Ignorable="d"             d:DesignHeight="750" d:DesignWidth="1000">    <UserControl.Resources>        <SolidColorBrush x:Key="LightGrayBrush" Color="#FFEFEFF2" />        <SolidColorBrush x:Key="LightGrayBackgroundBrush" Color="#FFFFFFFF" />        <SolidColorBrush x:Key="DarkGrayBrush" Color="#FF424242" />        <SolidColorBrush x:Key="ContentForegroundBrush" Color="#FF020202" />        <SolidColorBrush x:Key="GreenBrush" Color="#FF388B41" />        <SolidColorBrush x:Key="DisableBrush" Color="#4C434647" />        <SolidColorBrush x:Key="LabelBrush" Color="#767676" />        <SolidColorBrush x:Key="ToolbarForegroundBrush" Color="#FF434647" />        <local:WidthConverter x:Key="WidthConverter"/>        <local:ItemToIndexConverter x:Key="IndexConverter"/>        <local:ResultToColorConverter x:Key="ColorConverter"/>        <local:InverseBooleanConverter x:Key="InverseBooleanConverter"/>        <controls:Windows8Colors x:Key="Windows8Colors" />        <SolidColorBrush x:Key="MarkerBrush" Color="{Binding Source={StaticResource Windows8Colors}, Path=Palette.MarkerColor}" />        <SolidColorBrush x:Key="AccentBrush" Color="{Binding Source={StaticResource Windows8Colors}, Path=Palette.AccentColor}" />        <SolidColorBrush x:Key="MainBrush" Color="{Binding Source={StaticResource Windows8Colors}, Path=Palette.MainColor}" />        <SolidColorBrush x:Key="BasicBrush" Color="{Binding Source={StaticResource Windows8Colors}, Path=Palette.BasicColor}" />    </UserControl.Resources>    <UserControl.InputBindings>        <KeyBinding Modifiers="Control" Key="N" Command="{Binding NewMenuCommand}"/>        <KeyBinding Modifiers="Control" Key="O" Command="{Binding OpenMenuCommand}"/>        <KeyBinding Modifiers="Control" Key="S" Command="{Binding SaveMenuCommand}"/>        <KeyBinding Modifiers="Control+Shift" Key="S" Command="{Binding SaveAsMenuCommand}"/>        <KeyBinding Modifiers="Control" Key="W" Command="{Binding CloseMenuCommand}"/>    </UserControl.InputBindings>    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="Auto"/>            <RowDefinition Height="*"/>        </Grid.RowDefinitions>        <StackPanel Grid.Row="0">            <telerik:RadMenu Name="mnuMain" Background="Transparent">                <telerik:RadMenuItem Header="FILE" >                    <telerik:RadMenuItem Name="NewItem" Header="_New"InputGestureText="Ctrl+N" Command="{Binding NewMenuCommand}"/>                    <telerik:RadMenuItem Name="OpenItem" Header="_Open"InputGestureText="Ctrl+O" Command="{Binding OpenMenuCommand}" CommandParameter="{Binding ElementName=EnergyStateModelView}"/>                    <telerik:RadMenuItem Name="OpenRecentItem" Header="Open Recent" ItemsSource="{Binding LastLogs}">                        <telerik:RadMenuItem.ItemTemplate>                            <DataTemplate>                                <StackPanel Orientation="Horizontal">                                    <MenuItem Header="{Binding FileName}" Command="{Binding Open}"/>                                </StackPanel>                            </DataTemplate>                        </telerik:RadMenuItem.ItemTemplate>                    </telerik:RadMenuItem>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="SaveItem" Header="_Save"InputGestureText="Ctrl+S" Command="{Binding SaveMenuCommand}"/>                    <telerik:RadMenuItem Name="SaveAsItem" Header="_Save As"InputGestureText="Ctrl+Shift+S" Command="{Binding SaveAsMenuCommand}"/>                    <telerik:RadMenuItem Name="CloseItem" Header="_Close"InputGestureText="Ctrl+W" Command="{Binding CloseMenuCommand}"/>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="ExitMenu" Header="_Exit"InputGestureText="Ctrl+Q" Command="{Binding ExitMenuCommand}"/>                </telerik:RadMenuItem>                <telerik:RadMenuItem Header="VIEW">                    <telerik:RadMenuItem Name="ComponentExplorerItem"Header="Component Explorer" IsCheckable="True" IsChecked="{Binding ElementName=tabFacility, Path=IsSelected, Mode=TwoWay}"/>                    <telerik:RadMenuItem Name="ConnectionExplorerItem"Header="Connection Explorer" IsCheckable="True" IsChecked="{Binding ElementName=tabConnection, Path=IsSelected, Mode=TwoWay}"/>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="MonitoringWindowDiagramItem"Header="Monitoring Window-Diagram"/>                    <telerik:RadMenuItemName="MonitoringWindowComponentTreeItem" Header="Monitoring Window-Component Tree"/>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="PropertiesWindow"Header="Properties Windows" IsCheckable="True" IsChecked="{Binding ElementName=PropertiesPane, Path=IsHidden, Converter={StaticResource InverseBooleanConverter}, Mode=TwoWay}">                        <telerik:EventToCommandBehavior.EventBindings>                            <telerik:EventBinding Command="{Binding OnPropertiesWindowClickCommand}" CommandParameter="{Binding ElementName=PropertiesPane}" EventName="Click" />                        </telerik:EventToCommandBehavior.EventBindings>                    </telerik:RadMenuItem>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="OutputWindow" Header="Output Window" IsCheckable="True" IsChecked="{Binding ElementName=OutputPane, Path=IsHidden, Converter={StaticResource InverseBooleanConverter}, Mode=TwoWay}">                        <telerik:EventToCommandBehavior.EventBindings>                            <telerik:EventBinding Command="{Binding OnOutputWindowClickCommand}" CommandParameter="{Binding ElementName=OutputPane}"EventName="Click" />                        </telerik:EventToCommandBehavior.EventBindings>                    </telerik:RadMenuItem>                </telerik:RadMenuItem>                <telerik:RadMenuItem Header="BUILD">                    <telerik:RadMenuItem Name="CompileMenuItem"Header="Compile" InputGestureText="Ctrl+B" Command="{Binding CompileCommand}"/>                    <telerik:RadMenuItem Name="DownloadMenuItem"Header="Download" InputGestureText="Ctrl+D" Command="{Binding DownloadMenuCommand}"/>                    <telerik:RadMenuItem IsSeparator="True"/>                    <telerik:RadMenuItem Name="SimulateMenuItem"Header="Simulate" InputGestureText="Ctrl+S"/>                </telerik:RadMenuItem>                <telerik:RadMenuItem Header="HELP" />            </telerik:RadMenu>        </StackPanel>         <!--Main Content Grid-->        <Grid Grid.Row="1">            <telerik:RadDocking x:Name="dockEngineering"                                             Grid.Row="1"Margin="0,0,0,0"                                                                              BorderThickness="0"                                            Padding="0" Background="{StaticResource LightGrayBrush}">                 <!--DocumentHost-->                <telerik:RadDocking.DocumentHost>                    <telerik:RadSplitContainer>                        <telerik:RadPaneGroup>                            <telerik:RadPane Header="Engineering">                                <local:SelectedComponentsViewDataContext="{Binding FacilityViewModel, Mode=TwoWay}"/>                            </telerik:RadPane>                            <telerik:RadPane Header="Monitoring">                                <Grid Name="grdMonitoring">                                </Grid>                            </telerik:RadPane>                            <telerik:RadPane Header="Forecast">                                <Grid Name="grdForecast">                                    <local:ForecastView DataContext="{Binding ForecastViewModel}"/>                                </Grid>                            </telerik:RadPane>                        </telerik:RadPaneGroup>                    </telerik:RadSplitContainer>                </telerik:RadDocking.DocumentHost>                 <telerik:RadSplitContainer  MaxWidth="600"telerik:DockingPanel.InitialSize="300,150"                            Name="LeftContainer"InitialPosition="DockedLeft">                    <telerik:RadPaneGroup x:Name="Group1">                        <telerik:RadPane x:Name="LeftPane" Header="Facility Explorer">                            <telerik:RadTabControl x:Name="tbcInner"x:FieldModifier="public" TabOrientation="Horizontal" TabStripPlacement="Bottom"SelectedIndex="0">                                <telerik:RadTabItem x:Name="tabFacility"x:FieldModifier="public" Header="Facility View" IsSelected="True">                                     <!--Server Exproler-->                                    <!--<telerik:RadPane x:Name="Pane11" Header="Facility Explorer">-->                                    <Grid Margin="3 0">                                        <local:FacilityViewx:Name="FacilityView" DataContext="{Binding FacilityViewModel, Mode=TwoWay}"/>                                    </Grid>                                    <!--</telerik:RadPane>-->                                 </telerik:RadTabItem>                                <telerik:RadTabItemx:Name="tabConnection" x:FieldModifier="public" Header="Connection View"IsSelected="False">                                     <!--<telerik:RadPane x:Name="Pane12" Header="Connection Explorer">-->                                    <Grid Margin="3 0">                                        <local:CommunicationViewx:Name="CommunicationView" DataContext="{Binding CommunicationViewModel}"/>                                    </Grid>                                    <!--</telerik:RadPane>-->                                 </telerik:RadTabItem>                            </telerik:RadTabControl>                        </telerik:RadPane>                    </telerik:RadPaneGroup>                </telerik:RadSplitContainer>                 <telerik:RadSplitContainer MaxWidth="679"telerik:DockingPanel.InitialSize="210,250" Width="400"                            x:Name="RightContainer"InitialPosition="DockedRight">                    <telerik:RadPaneGroup x:Name="Group2">                        <!--Properties-->                        <telerik:RadPane x:Name="PropertiesPane"Header="Properties">                            <Grid Margin="3 0">                                <Grid.RowDefinitions>                                    <RowDefinition Height="*" />                                </Grid.RowDefinitions>                                <local:PropertyEditorx:Name="PropertyEditor" Item="{Binding SelectedItem}"/>                            </Grid>                        </telerik:RadPane>                    </telerik:RadPaneGroup>                </telerik:RadSplitContainer>                 <telerik:RadSplitContainer                            x:Name="BottomContainer"InitialPosition="DockedBottom">                    <telerik:RadPaneGroup x:Name="Group3">                        <!--Properties-->                        <telerik:RadPane x:Name="OutputPane" Header="Output Window">                            <Grid Margin="3 0">                                <Grid.RowDefinitions>                                    <RowDefinition Height="*" />                                </Grid.RowDefinitions>                                <ListView Name="OutputBox"VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="LightYellow"ItemsSource="{Binding OutputMessages}">                                    <telerik:EventToCommandBehavior.EventBindings>                                        <telerik:EventBindingCommand="{Binding OnOutputBoxSelectedCommand}" CommandParameter="{Binding ElementName=OutputBox, Path=SelectedItem}" EventName="SelectionChanged" />                                    </telerik:EventToCommandBehavior.EventBindings>                                    <ListView.ItemContainerStyle>                                        <StyleTargetType="ListViewItem">                                            <SetterProperty="Background" Value="{Binding ResultType, Converter={StaticResource ColorConverter}}"/>                                        </Style>                                    </ListView.ItemContainerStyle>                                    <ListView.View>                                        <GridView>                                            <GridViewColumnHeader="Number" DisplayMemberBinding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListViewItem}}, Converter={StaticResource IndexConverter}}"/>                                            <GridViewColumnHeader="Description" DisplayMemberBinding="{Binding MessageContent}" Width="{Binding ElementName=OutputBox, Path=ActualWidth, Converter={StaticResource WidthConverter},ConverterParameter=1}"/>                                        </GridView>                                    </ListView.View>                                </ListView>                            </Grid>                        </telerik:RadPane>                    </telerik:RadPaneGroup>                </telerik:RadSplitContainer>            </telerik:RadDocking>        </Grid>    </Grid> </UserControl>
Nasko
Telerik team
 answered on 16 Mar 2017
0 answers
214 views

Hi, I had a Datepicker name Disbursal and I have a Grid with 2 columns. The first column is the important one and is also a DatePicker.


Each row in the grid must have their date before the Datepicker, if it isn't then throw up a validation. 

 

I applied the CellValidatedEvent which works if I were to change the date of the row manually, but if I were to change the Disbursal DatePickerDate, how do I trigger CellValidatedEvent for each row's date? 

band
Top achievements
Rank 1
 asked on 15 Mar 2017
9 answers
201 views

We have been using the Telerik GridView for WPF for 4 years. We took the 2013 GridView and customized the styles (see attached). We recently updated to Telerik.Windows.Controls.GridView 2016.2.613.45 and now have strange scrolling behavior. The text alignment of content changes when scrolling and that content reaches the GridView bounds.

Video: https://dl.dropboxusercontent.com/u/23017318/Auction%20Management%20v6.0.0.9%209_13_2016%204_03_10%20PM.mp4

Styling Code: https://dl.dropboxusercontent.com/u/23017318/TelerikGridView.xaml

Yoan
Telerik team
 answered on 15 Mar 2017
4 answers
248 views

There is a comment in  Example.xaml file which clearly summarizes what I am trying to.

This file is included in the attach zip file.

Iam having trouble finding and easy way to plot multiple scatter spline lines in a scattor plot.

I am using version 4.5  telerick controls , and specifically the telerik:RadCartesianChart

I gutted out the galley scatter example code in the terlerik examples wpf source project into a simple WPF project.

The project in the example uses telerik:LinearAxis which requires a dependency objext and a half million other things that is needed in this project.

The WPF project just retrieves the data from the same csv file and stores the data in the two same list in the corresponding viewmodel.

public class ExampleViewModel : DataSourceViewModelBase

{

 private IEnumerable<HourlyEarnings> _privateData;
        private IEnumerable<HourlyEarnings> _publicData;

 

How can simply just databind these two lists in the view model to the chart in the xaml to produce to scatter spline lines in the chart.

I have a attached the project.

I spent days searching the web for a simple example and everything i found either requires some serviceprovider object that seem not to be for wpf apps, or just information that is worthless or code that does not compile or shown one line.

steven
Top achievements
Rank 1
 answered on 15 Mar 2017
6 answers
251 views
Hi,

Is there a way to move the arrow position on RadPanelBarItem to left (as shown in the attached image)?

I tried modifying the style using Microsoft Blend, the image moved but when I clicked to expand it didn't work.

Thanks

Extract of the style -

<Style.Triggers>
<Trigger Property="Level" Value="1">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type telerik:RadPanelBarItem}">
<Grid x:Name="RootElement" SnapsToDevicePixels="True">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal"/>
<VisualState x:Name="Disabled">
<Storyboard>
<DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Arrow"/>
<DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Header"/>
<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="NormalVisual"/>
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="DisabledVisual"/>
</Storyboard>
</VisualState>
<VisualState x:Name="MouseOver">
<Storyboard>
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="MouseOverVisual"/>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Stroke" Storyboard.TargetName="Arrow">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<SolidColorBrush Color="#FF262626"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Header">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<SolidColorBrush Color="#FF262626"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="MouseOut"/>
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected"/>
<VisualState x:Name="Selected">
<Storyboard>
<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="SelectedVisual"/>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Stroke" Storyboard.TargetName="Arrow">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<SolidColorBrush Color="#FF262626"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Foreground" Storyboard.TargetName="Header">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<SolidColorBrush Color="#FF262626"/>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ExpandStates">
<VisualState x:Name="Expanded">
<Storyboard>
<DoubleAnimation Duration="0" To="180" Storyboard.TargetProperty="Angle" Storyboard.TargetName="directionRotation"/>
<DoubleAnimation Duration="0:0:0.2" From="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ItemsContainer"/>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="FocusVisual">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Thickness>0,1,0,-1</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Collapsed"/>
</VisualStateGroup>
<VisualStateGroup x:Name="FocusStates">
<VisualState x:Name="Focused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisual">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Unfocused">
<Storyboard>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisual">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="HeaderRow" UseLayoutRounding="True">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border x:Name="NormalVisual" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.ColumnSpan="5" Margin="-1,0,-1,-1"/>
<Border x:Name="MouseOverVisual" BorderThickness="1" Background="#FF878787" Grid.ColumnSpan="5" Margin="-1,0,-1,-1" Opacity="0">
<Border.BorderBrush>
<LinearGradientBrush EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
<GradientStop Color="#FFB0B0B0" Offset="0"/>
<GradientStop Color="#FFB0B0B0" Offset="1"/>
<GradientStop Color="#FFE0E1E2" Offset="0.5"/>
</LinearGradientBrush>
</Border.BorderBrush>
</Border>
<Border x:Name="SelectedVisual" BorderThickness="1" Grid.ColumnSpan="5" Margin="-1,0,-1,-1" Opacity="0">
<Border.BorderBrush>
<LinearGradientBrush EndPoint="0.972,0.5" StartPoint="0.042,0.5">
<GradientStop Color="#FF595959" Offset="0"/>
<GradientStop Color="#FF595959" Offset="1"/>
<GradientStop Color="#FFA3A3A3" Offset="0.5"/>
</LinearGradientBrush>
</Border.BorderBrush>
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF616060" Offset="0"/>
<GradientStop Color="#FFCDCDCD" Offset="1"/>
<GradientStop Color="#FFCDCDCD" Offset="0.14"/>
</LinearGradientBrush>
</Border.Background>
</Border>
<Border x:Name="DisabledVisual" BorderBrush="#FF5D5C5C" BorderThickness="1" Background="#FF666666" Grid.ColumnSpan="5" Opacity="0">
<Border BorderBrush="Transparent" BorderThickness="1" Background="{x:Null}"/>
</Border>
<Path x:Name="Arrow" Grid.Column="0" Data="M1,1.5L4.5,5 8,1.5" HorizontalAlignment="Right" Margin="7,0" Opacity="1" RenderTransformOrigin="0.5,0.5" Stretch="None" Stroke="#FFC5C2C2" StrokeThickness="2" VerticalAlignment="Center">
<Path.RenderTransform>
<RotateTransform Angle="0"/>
</Path.RenderTransform>
</Path>
<ContentControl x:Name="Header" Grid.ColumnSpan="4" Grid.Column="1" ContentTemplate="{TemplateBinding HeaderTemplate}" Foreground="{Binding Foreground, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
<Rectangle x:Name="FocusVisual" Grid.ColumnSpan="5" Grid.Column="0" IsHitTestVisible="False" Stroke="#FF789FC3" StrokeThickness="1" Visibility="Collapsed"/>
</Grid>
<Grid x:Name="ItemsContainer" Grid.Row="1" Visibility="Collapsed">
<telerik:LayoutTransformControl x:Name="transformationRoot" IsTabStop="False">
<ItemsPresenter/>
</telerik:LayoutTransformControl>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
Martin Ivanov
Telerik team
 answered on 15 Mar 2017
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?