Welcome Guest Search | Active Topics | Members | Log In | Register

Achieving a unique look and feel Options
johannhieronimus
Posted: Tuesday, July 27, 2010 1:42:32 PM
Rank: Newbie

Joined: 7/27/2010
Posts: 1
Points: 3
Location: Germany
Question 1: I want to achieve this color fill effect in the Containers quickstart demo application. Can you point me into the right direction with Tabcontrol / Tabcontainer?

ColourFillEffectOnlyOnSelectedTabButNotOnTabPage

Is there a way to configure unusual tab shapes like this:
Unusual tab shapes on the left side bottom

Question 2:

I do not want the dotted frame to be present at the tab's selected part in tabcontrol upon click. Even in the themed visual style classic a slight vertical line is present. How to achieve this style:
No dotted frame in selected tab

Question 3:
At the previous screenshot how to achieve a color fill effect in selected state only for the tab but not for the relating tab page?

Question 4:
Is there a way to have horizontal text on a right oriented TabStrip with vertical right pane orientation inside a TabDockContainer?
LidorSystems Support
Posted: Tuesday, July 27, 2010 7:30:01 PM

Rank: Administration

Joined: 6/10/2005
Posts: 637
Points: 1,365
We have created a sample project which shows how to achieve the exact appearance shown on your images. All changes are made through Visual Studio Designer, also they can be set from code.

You can download the sample project from here:

IntegralUI Containers - Apperance

Quote:
Question 1: I want to achieve this color fill effect in the Containers quick start demo application. Can you point me into the right direction with Tabcontrol / Tabcontainer?


See the Form1 in the sample project.

The appearance of TabControl and its pages is determined from several color styles for each state of the page: disabled, hovered, normal, selected state and a one format style. In general you can change any part of the control: pages, buttons, tab strip, tab control etc. by using corresponding style for specific part of the control. Further more, if you want to achive different look for every page, there are separate page styles for every page. Just simply set the StyleFromParent to false for specific page and change thier styles. For example to achieve OneNote look and feel, see the Form2 in the sample project.

To show custom appearance of tabs we are using TabImage property which acts as a texture for painting the tab. You can apply any image to the tab.

Quote:
Is there a way to configure unusual tab shapes like this:


In the moment there are 7 different built-in tab shapes to choose from. In combination with tab corner shape and tab content orientation, you can create custom look and feel.

In your screenshot (top-left part) is shown an image from Microsoft Outlook 2007. This is a different kind of a control. We are already in creation of this type of control and it will be available very soon.


Quote:
I do not want the dotted frame to be present at the tab's selected part in tab control upon click. Even in the themed visual style classic a slight vertical line is present. How to achieve this style:


The frame color is determined from ColorStyle.FocusFrameColor. Change this color to Transparent and the frame will become hidden. As for showing selected tab with custom background, use the TabImage property in SelectedPageStyle.


Quote:
At the previous screenshot how to achieve a color fill effect in selected state only for the tab but not for the relating tab page?


Set the StyleFromParent for specific page to false, and change color and format styles for this page. See the Form1 and Form2 in sample project.

Quote:
Is there a way to have horizontal text on a right oriented TabStrip with vertical right pane orientation inside a TabDockContainer?


Upon checking the TabDockContainer control, we have notice that horizontal text when tabs are docked to the right side is not supported. Although there is a way to show different combination and alignment of image and text in tabs, the option to change the alignment of text to vertical and horizonatal doesn't exist. We can add this option very quickly. If you are in a hurry we can send it to you an updated version which contains this feature in few days.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.0 (NET v2.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.098 seconds.