These are chat archives for ButchersBoy/Dragablz

24th
Jun 2016
Slávek Rydval
@SlavekRydval
Jun 24 2016 07:08
This message was deleted
Slávek Rydval
@SlavekRydval
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.

XAML:

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

On text change event I have this code:

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

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

Thanks.

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