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

Foreground color to GridViewDynamicHyperlinkColumn column type

1 Answer 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mahesh Bhat
Top achievements
Rank 1
Mahesh Bhat asked on 20 Apr 2010, 08:28 AM

How to assign foreground colour property for telerik gridview GridViewDynamicHyperlinkColumn column type ?

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 20 Apr 2010, 12:03 PM
Hi Mahesh Bhat,

The following XAML demonstrates a DynamicHyperlinkColumn with a red foreground color.
<telerik:GridViewDynamicHyperlinkColumn DataMemberBinding="{Binding URL}"  Header="search for:" NavigateUrlFormatString="www.google.com" 
                                                     >
                <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="{Binding URL}" Foreground="Red" />
                        </StackPanel>
                    </DataTemplate>
                </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
            </telerik:GridViewDynamicHyperlinkColumn>

All the best,
Pavel Pavlov
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
GridView
Asked by
Mahesh Bhat
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or