I have a RAD TabControl and I want under one tab of it i a grid (to the Left) and a textbox(to the Right) and a splitter in between them.
I am Creating grid dyanamically in C# file.following code will add grid into Tab.
RadTabItem
item = new RadTabItem();
item.Content = dataGrid;
But I have created Textbox and Splitter control in .xaml file as below code
<
telerikExpand:RadExpander.Content>
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.ColumnDefinitions><ColumnDefinition Width="3*"/><ColumnDefinition Width="1*" /></Grid.ColumnDefinitions>
<Grid.RowDefinitions><RowDefinition Height="*"/></Grid.RowDefinitions>
<telerik:RadTabControl x:Name="rtcTabControl" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" />
<basics:GridSplitter x:Name="gsBottom" Grid.Row="0" Canvas.ZIndex="200" Grid.Column="0" Grid.ColumnSpan="1" Width="10" HorizontalAlignment="Right" VerticalAlignment="Stretch"/>
<TextBox x:Name="txtMailView" Grid.Row="0" Grid.Column="1"></TextBox>
</Grid></telerikExpand:RadExpander.Content>
Now my spliiter control Comes ahead of TabControl and also as its not child of TabItem, its height is also bigger than grid and Textbox.
Please help me how can i do this ?
Do i need to create Textbox and GridSplitter dyanamically ? if yes can anyone provide me source code of it ?
Regards,
sachin