Hi Yana,
Thanks for your response.
Ok, let me first try to clearly explain you my requirement:
1. Have a look into the attached screenshot.
2. Each red rectangle represents a dashboard in other words silverlight xap files.
3. First rectangle is a simple dashboard, second and third is set of dashboards in accordion control.
My Requirement : My requirement is to expand these rectangles individually in any direction.For examples say i expand rectangle1 downwards, then rectangle2 and 3 should automatically shrink to adjust within the actual size (blue rectangle). Approximately the first screenshot.png should change to secondscreenshot.png.
Please let me know which would be the best way to achieve this.
Well as you suggested, i just tried to use radpanelbar, but i am seeing some strange outputs with it. Before i proceed further explaining you the problem, my priority is to find a solution to the above explained scenario rather than fixing the below issue. So you can take the below explained problem as lesser priority unless you suggest a solution using radpanel bar.
I created a new project using radpanel with below code:
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Navigation;
namespace RadPanelBar
{
public partial class MainPage : UserControl
{
public MainPage()
{
InitializeComponent();
Telerik.Windows.Controls.RadPanelBar myPanelBar = new Telerik.Windows.Controls.RadPanelBar();
RadPanelBarItem item1 = new RadPanelBarItem() { Header = "Item 1" };
RadPanelBarItem item2 = new RadPanelBarItem() { Header = "Item 2" };
RadPanelBarItem item3 = new RadPanelBarItem() { Header = "Item 3" };
myPanelBar.Items.Add(item1);
myPanelBar.Items.Add(item2);
myPanelBar.Items.Add(item3);
}
}
}
It compiles fine, but the output is a blank screen.
Then i remove this code in the behind and add the xaml code alone:
XAML :
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadPanelBar Height="63" HorizontalAlignment="Left" Margin="106,143,0,0" Name="radPanelBar1" VerticalAlignment="Top" Width="150">
<telerik:RadPanelBarItem DropPosition="Inside" Header="Item 1" TabNavigation="Once" />
</telerik:RadPanelBar>
</Grid>
This results in this error : 'RadPanelBar' is a 'namespace' but is used like a 'type'. Even after adding references to T.Controls and T.navigation dlls.
All your valuable inputs are welcome!!!!!!!
Looking forwards for your reply.
Sorry for the long response:(
Regards,
YK