Posted 10 years ago by Mike Benson - CTO, Abakos, Inc.
Avatar
How can I change the style of just the tab content on a document window?

I have issues on certain systems where the tab text is clipped on the left and right sides and the context images run into the text of the active tab.

Comments (10)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mike,

Do you have a sample that shows this happening that you could email over? If it's a bug, we'd like to fix it.


Actipro Software Support

Posted 10 years ago by Mike Benson - CTO, Abakos, Inc.
Avatar
Its not project related, it appears to be video card related. On one computer it will look fine, on another computer it will cut off the text.

So in short, no... The only workaround I have is to pad the ends of the text.
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
What if you have those computers upgrade their video card drivers? Sometimes that helps with display issues in WPF.


Actipro Software Support

Posted 10 years ago by Mike Benson - CTO, Abakos, Inc.
Avatar
Already did that, the ones we know have issues are dell NVS280 cards running vista.
Posted 10 years ago by Mike Benson - CTO, Abakos, Inc.
Avatar
So, is there a way to template the tabs? I would also like to add a control to the tab header.
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Mike,

In that case, if you needed to change the style you'd probably need to make one like this in your resources:
<Style x:Key="{x:Static dockingThemes:DockingCommonDictionary.TabbedMdiDocumentStyleKey}" TargetType="{x:Type docking:DockingWindow}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="{x:Type docking:DockingWindow}">
        ...
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>
That may let you change the template.


Actipro Software Support

Posted 10 years ago by Mike Benson - CTO, Abakos, Inc.
Avatar
Any chance you could post the stock template so I dont have to redo the entire thing?
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Mike if you are a licensed customer, send us an email and we can email you the templates.


Actipro Software Support

Posted 7 years ago by Clemens Schmuck
Avatar

Hi I am a licenced user. Can I get some stock template to style the tab of dock site, 

I would style them as VS2010 tab style. Please suggest where to start at least!!

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Clemens,

Per above, please email our support address and we'll send them to you.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.