office style 1

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    3 posts
    Member since:
    Aug 2008

    Posted 17 Aug 2008 Link to this post

    Hi there,

    created a shaped form :: 

    Telerik.WinControls.UI.

    ShapedForm

    Applied the shape theme ::  officeShape1

    Drag and dropped RibbonBar onto this form.

    What I want is to be able to set a border for the entire form, but soon as applying the officeShape1 attribute, the border is lost (in terms of being able to set a colored edge).

    Obviously, would like to be able to apply a colored edge as the when moving the window created over other windoews, it get lost as no edge definition etc.

    I have tried setting the border width and color in the form attributes -- but this only does the bottom left and bottom row of the form (below the ribbonbar) and does not draw a border around the offceshape1 edge?

    What am I missing please?

    Many thanks.

  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 18 Aug 2008 Link to this post

    Hi Andrew,

    Since ShapedForm is using the form's client to paint the borders, any control placed on the form would hide the border. You can use the form's Padding property to prevent this. You can also take a look at the following KB that describes a bit more on the ways you can tweak ShapedForm:
    http://www.telerik.com/support/kb/article/b454K-ttk-b454T-ckd-b454c-ckd.aspx

     
    All the best,
    Mike
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top