RadApplication and PageView

6 posts, 2 answers
  1. Abbas
    Abbas avatar
    13 posts
    Member since:
    Oct 2012

    Posted 10 Sep 2014 Link to this post

    Hi there,

    Is it possible to have a user Interface like the attachment in Telerik?

    Regards.
  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 12 Sep 2014 Link to this post

    Hello Abbas,

    Thank you for writing.

    Yes it is possible to achieve such layout. First you need to add RadPageView and  RadAplicationMenu to a form. Then you can set some offset in order to make space for the application menu:
    RadPageViewStripElement stripView = this.radPageView1.ViewElement as RadPageViewStripElement;
    if (stripView != null)
    {
        stripView.ItemContainer.ItemLayout.PositionOffset = new SizeF(30,0);
         
    }

    The result will look like in the attached image.

    I hope this helps. Should you have any other questions do not hesitate to ask.
     
    Regards,
    Dimitar
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Abbas
    Abbas avatar
    13 posts
    Member since:
    Oct 2012

    Posted 13 Sep 2014 Link to this post

    Dear Dimitar,

    Thanks for the answer,
    Your code snippet is working in Run time scenario only.
    How to put a RadApplicationMenu in a proper position like your attached image?
    Could you please explain more clear with a suitable code?

    Regards,
    Abbas
  5. Answer
    Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 17 Sep 2014 Link to this post

    Hi Abbas,

    Thank you for writing back.

    I have recorded a small video which shows how you can create such layout at design time (just extract the file and drop it to an empty browser page).

    I hope this will be useful.

    Regards,
    Dimitar
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  6. Abbas
    Abbas avatar
    13 posts
    Member since:
    Oct 2012

    Posted 17 Sep 2014 Link to this post

    Hi dear Dimitar,

    Good to have you here,
    It works like a charm.
    I love you.

    Best Regards,
    Abbas
  7. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 17 Sep 2014 Link to this post

    Hello Abbas,

    I am glad I could be of help. Let us know if you have any other questions.

    Regards,
    Dimitar
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WinForms is Visual Studio 2017 Ready