Navigation Bar Customization

2 posts, 0 answers
  1. Vidyadhar
    Vidyadhar avatar
    23 posts
    Member since:
    Oct 2011

    Posted 11 May 2012 Link to this post

    Hi,

    Am trying to move the position of the Navigation bar on the Map. I have set the NavigationVisibility="Collapsed" on the Radmap and using Teerik's MapNavigation control instead binding its MapControl property to my RadMap as follows:
    <telerik:MapNavigation MapControl="{Binding ElementName=RadMap1}" VerticalAlignment="Bottom" HorizontalAlignment="Left" />.

    The issue I have is, when I click on the Center button of the Navigation bar, it doesn't hide the buttons surrounding it, as it is in the Default RadMap layout.
    So, I'd like to know if
    There is a way I can use the default template used in Radmap's Navigation bar for the Center button?
    Or if I can handle the click event on the Center button, how can I show/hide the surrounding buttons. How to access those four surrounding buttons in code.

    Thanks in advance,
    Viddy.
  2. Vidyadhar
    Vidyadhar avatar
    23 posts
    Member since:
    Oct 2011

    Posted 15 May 2012 Link to this post

    OK, I got that figured out. Was able to achieve what i need, using the ToggleVisibility() method in the MapNavigation class.

    Thanks,
    Viddy.
  3. DevCraft banner
Back to Top