change color background layoutcontrolitem

3 posts, 0 answers
  1. Oscar
    Oscar avatar
    6 posts
    Member since:
    Aug 2016

    Posted 06 Nov Link to this post

    I do not know how to do the following. I have in a form, layoutcontrol, which have several layoutControlItem with textbox. You can change the background color of the layoutcontrolitem (I want to be different from the color of the form).
    Thank you
  2. Dimitar
    Dimitar avatar
    1408 posts

    Posted 07 Nov Link to this post

    Hello Oscar,

    Thank you for writing.

    You should set the DrawFill property as well. For example:
    layoutControlLabelItem2.DrawFill = true;
    layoutControlLabelItem2.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
    layoutControlLabelItem2.BackColor = Color.Red;

    I hope this will be useful. Let me know if you have additional questions.

    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Oscar
    Oscar avatar
    6 posts
    Member since:
    Aug 2016

    Posted 07 Nov in reply to Dimitar Link to this post

    Ok thanks
Back to Top