change bakground color of tabs

2 posts, 1 answers
  1. Hamid
    Hamid avatar
    1 posts
    Member since:
    Feb 2013

    Posted 06 Feb 2013 Link to this post

    Hi
    I use radpageView in my project that have many pages in it.and use the telerik Metrothem for that.now I want to change tab's background color from its default (Green) to another color.How Do this ?in which property?
    thank you
  2. Answer
    Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 11 Feb 2013 Link to this post

    Hello Hamid,

    Thank you for writing.

    RadPageView uses separate styles for its different modes. Here is how you can define the color of the selected page header in StripView mode:

    1. Open the desired theme in Visual Style Builder (Loading predefined themes) and select the RadPageViewStripItem elements in the control's structure - RadPageView - RadPageViewStripElement - StripViewItemContainer - StripViewItemLayout - RadPageViewStripItem.

    2. Since the element uses ImageShape, you have to change the image used for the following states:
    - RadPageViewStripItem.Selected;
    - RadPageViewStripItem.Selected.MouseOver;
    - RadPageViewStripItem.Selected.MouseDown.

    For example to make it red please follow these steps:
    - Create an image 1 px by 1 px with paint and color this pixel in red
    - Select the Selected state of the RAdPageVireStripItem
    - Click the Show Only Applied Repositories check box
    - Double click the PageViewItemSelectedImageShape repository
    - Set the red pixel image to the Image property
    - Set the PaintMode to Tile

    Attached you can find a sample red image.

    Here are some links you might find useful:

    I hope this helps.

    Kind regards,
    Plamen
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top