Shadows of RadForm

4 posts, 0 answers
  1. TRANSEPT
    TRANSEPT avatar
    5 posts
    Member since:
    Oct 2014

    Posted 28 Jun Link to this post

    Hi,

    Is it possible to add shadows to my radforms ?

    Thanks for your response

  2. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 28 Jun Link to this post

    Hi,

    The following discussion contains the solution for this: Windows form shadow - Forms, Dialogs, TitleBar, StatusStrip - UI for WinForms Forum.

    I hope this will be useful. 

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. TRANSEPT
    TRANSEPT avatar
    5 posts
    Member since:
    Oct 2014

    Posted 28 Jun Link to this post

    I override the CreateParams property:

    protected override CreateParams CreateParams
    {
        get
        {
            const int CS_DROPSHADOW = 0x20000;
            CreateParams cp = base.CreateParams;
            cp.ClassStyle |= CS_DROPSHADOW;
            return cp;
        }

    }

    But The shadow is not visible, I don't know why ??

  4. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 28 Jun Link to this post

    Hi,

    Do any other windows have shadows? This is controlled in the Windows settings as well - see attached image.

    Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top