Spitter line color

Answered
0
0

Please,

is it possible to change the color of the splitter line ?

  • You must to post comments
Best Answer
0
0

Hi Nello,

Yes you can!

There are a few ways to do it:

  1. Theme Builder
    1. You can add a style to SplitPane > Splitter
    2. See attached screenshot
  2. Somewhere in your code:
var splitContainerComponents = Application.Theme.Appearances.splitpane.components;
var splitContainerHorizontalStyle = splitContainerComponents.splitter.states["horizontal"].styles;
splitContainerHorizontalStyle.backgroundColor = "blue";

3. Using a Mixin:

  1. Check out the attached project (Add a mixin file to /Themes)
  2. Set the appearance key of the control.

Other useful links:

  1. https://github.com/iceteagroup/wisej-examples
  2. https://wisej.com/blog/shadow_on_the_panel/
  3. https://docs.wisej.com/theme-builder/getting-started/edit-a-mixin

Let me know if you have any questions or issues!

Best,

Levie

  • You must to post comments
0
0

Hi Nello,

If you downloaded Wisej from Wisej.com/builds it comes with the installation package. Try searching for Wisej.ThemeBuilder or Wisej in the search bar and make sure you filter by Applications. If you can’t find it, I’d recommend reinstalling Wisej.

 

Once you have a theme file you can add it to your project with the following:

  1. Right-click the “Themes” folder in your project
  2. Add -> Existing Item
  3. Navigate to your .theme file and select it.
  4. In the bottom left of the designer change “Blue-1” to your new theme.
  5. Open web.config and change the Wisej.DefaultTheme value to the name of your theme.

You can also load / change your theme at runtime with:

Application.LoadTheme("myThemeName");

You should be good to go then!

Let me know if you have issues.

Best regards,

Levie

  • You must to post comments
0
0

I have understood your solution, bat i can’t find “theme builder” application. i have installed version 2.1.60.

Moreover I haven’t understand how add a theme to my solution.

Sorry for question.

Nello

 

  • You must to post comments
0
0

Thank  you

i will try

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.