AdvancedTabControl and AdvancedTabItem Background properties

Docking/MDI for WPF Forum

Posted 4 years ago by Brad Salmon
Version: 19.1.0684
Avatar

The AdvancedTabControl has TabBackground and TabBackgroundActiveSelected properties. From some simple testing, those set the background color for the tabs. The AdvancedTabItem has Background and BackgroundActiveSelected properties, but from my testing those don't seem to actually do anything. I'm looking for a property that can be set so the Content section of the tab being displayed will have the desired background color. Is this possible? 

Comments (1)

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

Hi Brad,

Properties like AdvancedTabControl.TabBackgroundActiveSelected get bound down to the individual AdvancedTabItem.BackgroundActiveSelected in AdvancedTabControl.PrepareContainerForItemOverride.  Thus the value you set on AdvancedTabControl.TabBackgroundActiveSelected will flow to AdvancedTabItem.BackgroundActiveSelected.

The AdvancedTabControl.Background is what renders behind the selected tab's Content area.  Or you could set a background on whatever content you put in the tab.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.