These are chat archives for ButchersBoy/Dragablz

Jun 2016
Slávek Rydval
Jun 24 2016 07:08
This message was deleted
Slávek Rydval
Jun 24 2016 07:16

Hello, I am playing with this tab control and run into this beginer's problem. I have a document on each tabitem and I want to show to a user if the document is modified. If yes, the background color should be other then standard one.


        <dragablz:TabablzControl Grid.Row="1" x:Name="rkEditFilesTabControl"  ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto">

On text change event I have this code:

            if (Editor.IsModified) 
                Tab.Background = new SolidColorBrush(Color.FromArgb(0xFF, 0xE6, 0xD4, 0x64)); 
                Tab.Background = null;

Unfortunatelly, the color is not changed even the code is executed. What should I do to take the desired effect?


James Willock
Jun 24 2016 08:01
What are you trying to affect? the tab header or the tab content?
Slávek Rydval
Jun 24 2016 08:13
Tab header.