Set ForeGround color

2 posts, 0 answers
  1. Ove Markstrom
    Ove Markstrom avatar
    2 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    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>

  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 03 Jun 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top