This is a migrated thread and some comments may be shown as answers.

Set ForeGround color

1 Answer 94 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ove Markstrom
Top achievements
Rank 1
Ove Markstrom asked on 31 May 2010, 09:59 AM
I can't set the foregournd color to black in the place where I placed the comment.

<telNav:RadPanelBar x:Name="PresentationPanel"
                             Template="{DynamicResource PresentationPanelBar}"
                             DataContext="{Binding}">
        <telNav:RadPanelBarItem Name="CollateralLibraryPanel"
                                    IsExpanded="False"
                                    ScrollViewer.CanContentScroll="True"
                                    Template="{DynamicResource PresentationPanelBarItem}" Background="#FF641818">
            <telNav:RadPanelBarItem.Header >
                <TextBlock Text="Collateral Library"
                               Foreground="#FFFFFF"
                               Name="txtTopicsHeader"
                               Margin="5 4 5 5" />
            </telNav:RadPanelBarItem.Header>
            <StackPanel Orientation="Vertical"
                            VerticalAlignment="Top"
                            MaxHeight="200"
                            Margin="0"
                            ScrollViewer.CanContentScroll="True"
                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                            HorizontalAlignment="Left">

                <!-- CAN'T SET FOREGROUND COLOR TO BLACK!!!! below -->
                <telNav:RadPanelBar x:Name="pbLeaveBehindMaterial"
                                            MinWidth="182"
                                            MaxHeight="180"
                                            Margin="0"
                                            ItemsSource="{Binding Path=LeaveBehindMaterials, Mode=TwoWay}"
                                            ScrollViewer.CanContentScroll="True"
                                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                                            ItemTemplate="{StaticResource FolderDataTemplate}"                                       
                                            IsEnabled="True">
                </telNav:RadPanelBar>
            </StackPanel>
        </telNav:RadPanelBarItem>
    </telNav:RadPanelBar>

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 Jun 2010, 09:03 AM
Hi Ove,

Unfortunately, we were not able to reproduce this issue you've encountered. Please find attached a sample file. You can compare it with your project. If you still have any problems you can send us the your project.

Sincerely yours,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
PanelBar
Asked by
Ove Markstrom
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or