Alignment issue

6 posts, 0 answers
  1. Kranth Kumar Pothuganti
    Kranth Kumar Pothuganti avatar
    3 posts
    Member since:
    Mar 2010

    Posted 03 May 2010 Link to this post

    Hi, I am trying to align the radmenuitems to the left of the menu bar, but it is not working, I am pasting the xaml code for that menu below,

     

     

    <my:RadMenu HorizontalAlignment="Left" Width="200" Grid.Column="0" Grid.Row="2" Orientation="Vertical" VerticalAlignment="Top"  FontSize="12"> 

     

     

    <my:RadMenuItem Header="Project Type" FontSize="11" Foreground="White" Background="Gray"> 

     

      

    <my:RadMenuItem Header="Full Life Cycle" Foreground="Black" Name="FLCMenuItem">
    <my:RadMenuItem Header="Support" Foreground="Black" Name="SupportMenuItem" />

     


    </
    my:RadMenuItem>

     

     

     

     

    <my:RadMenuItem HorizontalContentAlignment="Left" Width="200" FontSize="11" Header="Generate Report" Background="Gray" Foreground="White" > 

     

     

    <my:RadMenuItem Header="Weekly" Foreground="Black" x:Name="WeeklyMenuItem" Click="MenuItem_Click"/>  

     

     

    <my:RadMenuItem Header="Monthly" Foreground="Black" x:Name="MonthlyMenuItem" Click="MenuItem_Click"/>

     

     

    <my:RadMenuItem Header="Quarterly" Foreground="Black" x:Name="QuarterlyMenuItem" Click="MenuItem_Click"/>

     

     

    <my:RadMenuItem Header="Yearly" Foreground="Black" x:Name="YearlyMenuItem" Click="MenuItem_Click"/>

     

     

     

    </my:RadMenuItem>

     

     

     

     

    <my:RadMenuItem HorizontalContentAlignment="Left" FontSize="11" x:Name="Admin" Width="200" Header="Admin" Foreground="White" Background="Gray" >

    <my:RadMenuItem Header="Project" Foreground="Black" x:Name="Project" Click="Project_Click"/>

     

     

    <my:RadMenuItem Header="User" x:Name="User" Click="User_Click" Foreground="Black" />

     

     

     

    <my:RadMenuItem Header="Project Association" x:Name="ProjectAssociationMenuItem" Click="ProjectAssociationMenuItem_Click" Foreground="Black" />

     

     

     

    <my:RadMenuItem Header="Role Access Configuration" x:Name="AccesConfig" Click="AccesConfig_Click" Foreground="Black" />

     

     

     

     

     

     

    </my:RadMenuItem>

     

    <my:RadMenuItem HorizontalContentAlignment="Left" FontSize="11" Width="200" Header="PAT" Foreground="White" Background="Gray" >

     

     


    <
    my:RadMenuItem Header="ITSS" Foreground="Black">

     

     

    <my:RadMenuItem Header="Corp It" x:Name="ITSSCorp" Foreground="Black"></my:RadMenuItem>

     

     

     

    <my:RadMenuItem Header="TCOE" x:Name="ITSSTCOE" Foreground="Black"></my:RadMenuItem>

     

     

     

    <my:RadMenuItem Header="ITSS ACS" x:Name="ITSSACS" Foreground="Black"/>

     

     

    <my:RadMenuItem Header="ITSS Aero" x:Name="ITSSAero" Foreground="Black"></my:RadMenuItem 

     

    <my:RadMenuItem Header="ITSS TS" x:Name="ITSSTS" Foreground="Black"></my:RadMenuItem>

     

     

    <my:RadMenuItem Header="ITSS SM" x:Name="ITSSSM" Foreground="Black"></my:RadMenuItem>

     

     

     

     

     

     

    </my:RadMenuItem>


    <my:RadMenuItem Header="ACS" Foreground="Black">

     

     

     

    <my:RadMenuItem Header="HBS" x:Name="ACSHBS" Foreground="Black"></my:RadMenuItem>
    <
    my:RadMenuItem Header="HPS" x:Name="ACSHPS" Foreground="Black"></my:RadMenuItem>

     


    </
    my:RadMenuItem>

     

     

     

     

     

     

     

    <my:RadMenuItem Header="Aero" Foreground="Black">

     

     

     

     

     

    </my:RadMenuItem>

     

     

     

    </my:RadMenuItem>


    </my:RadMenu>

    Screen shot of the tool when executed the same is also attached. Please find a solution for me as soon as possible.
    Thank you

     

     

     

     

  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 05 May 2010 Link to this post

    Hello Kranth Kumar Pothuganti,

    To remove the gray line that is used for icons and left align the items in the menu you will have to edit the RadMenu Template. I am attaching an example project with the changes and comments what have changed and why.

    I hope the resource is helpful.

    Greetings,
    Panayot
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Kranth Kumar Pothuganti
    Kranth Kumar Pothuganti avatar
    3 posts
    Member since:
    Mar 2010

    Posted 23 Jun 2010 Link to this post

    Thanq for the reply........ If possible could you pls send me the code that you have developed using SL3, cause i dont have SL4 installed on my machine.
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 30 Jun 2010 Link to this post

    Hi Kranth,

    Here is the SL3 project.

    All the best,
    Panayot
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Kranth Kumar Pothuganti
    Kranth Kumar Pothuganti avatar
    3 posts
    Member since:
    Mar 2010

    Posted 08 Jul 2010 Link to this post

    Thanks a bunch :-)
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 08 Jul 2010 Link to this post

    Hello Kumar,

    You are welcome :)

    Sincerely yours,
    Panayot
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner