Hi,
Maybe this could help :
Maybe this could help :
<xcad:LayoutRoot.LeftSide>
<xcad:LayoutAnchorSide>
<xcad:LayoutAnchorGroup x:Name="group">
<xcad:LayoutAnchorable Title="Agenda"
ContentId="agenda"
IconSource="../Images/address-book-open.png">
<TextBlock Text="Agenda Content"
Margin="10"
FontSize="18"
FontWeight="Black"
TextWrapping="Wrap" />
</xcad:LayoutAnchorable>
<xcad:LayoutAnchorable Title="Contacts"
ContentId="contacts"
IconSource="../Images/address-book--pencil.png">
<TextBlock Text="Contacts Content"
Margin="10"
FontSize="18"
FontWeight="Black"
TextWrapping="Wrap" />
</xcad:LayoutAnchorable>
</xcad:LayoutAnchorGroup>
</xcad:LayoutAnchorSide>
</xcad:LayoutRoot.LeftSide>
private void Button_Click_1( object sender, RoutedEventArgs e )
{
var la = new LayoutAnchorable()
{
Title = "Added",
ContentId = "added",
Content = new TextBlock()
{
Text = "Added Text"
}
};
group.Children.Add( la );
la.IsSelected = true;
la.IsActive = true;
}