This question is locked. New answers and comments are not allowed.
| Hello I tried your code, but in the starting stage itself code fail. |
| by returning zero "int count = System.Windows.Media.VisualTreeHelper.GetChildrenCount(parent);" |
| Here, I am providing full structure of my code |
| <Grid x:Name="uxMainGrid" Height="470" Width="1000"> |
| <Grid.Resources> |
| <ControlTemplate x:Name="uxContentControlWithFooterControlTemplate" x:Key="ContentControlWithFooterControlTemplate" |
| TargetType="ContentControl"> |
| <Grid> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="*"/> |
| <RowDefinition Height="30"/> |
| </Grid.RowDefinitions> |
| <ContentPresenter x:Name="uxContentControlWithFooterControlPresenter" Content="{TemplateBinding Content}" Grid.Row="0" /> |
| <StackPanel x:Name="uxFlightEntryDisplayfooterStackPanel" Background="Red" Orientation="Vertical" Grid.Row="1"> |
| <TextBlock x:Name="uxFlightEntryDisplayfooter" Text="{Binding FlightEntryDisplayfooter}" TextWrapping="Wrap"/> |
| </StackPanel> |
| </Grid> |
| </ControlTemplate> |
| </Grid.Resources> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="5" /> |
| <RowDefinition Height="*"/> |
| </Grid.RowDefinitions> |
| <telerikDocking:RadDocking Grid.Row="1"> |
| <telerikDocking:RadSplitContainer ScrollViewer.HorizontalScrollBarVisibility="Auto" Orientation="Vertical" InitialPosition="DockedLeft" Height="400" Width="980"> |
| <telerikDocking:RadPaneGroup telerikDocking:ProportionalStackPanel.RelativeSize="40, 40"> |
| <telerikDocking:RadPane x:Name="uxSchedule" Header="Schedule" Title="{Binding FlightEntryDisplayheader, Mode=TwoWay}"> |
| <ContentControl Template="{StaticResource ContentControlWithFooterControlTemplate}" x:Name="uxContentControlWithFooterTelerikControlTemplate"> |
| <data:DataGrid> |
| </data:DataGrid> |
| </ContentControl> |
| </telerikDocking:RadPane> |
| </telerikDocking:RadPaneGroup> |
| </telerikDocking:RadSplitContainer> |
| </telerikDocking:RadDocking> |
| </Grid> |