This question is locked. New answers and comments are not allowed.
Kumarashankar Gunasekaran
Top achievements
Rank 1
Kumarashankar Gunasekaran
asked on 14 Apr 2010, 10:06 AM
Hi,
How to set our own custom style for GridViewDynamicHyperlinkColumn.
Thanks & Regards,
Kumarashankar
8 Answers, 1 is accepted
0
Hello Kumarashankar Gunasekaran,
Please describe the desired output in more details so I can offer you a descent solution.
Kind regards,
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.
Please describe the desired output in more details so I can offer you a descent solution.
Kind regards,
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.
0
Kumarashankar Gunasekaran
Top achievements
Rank 1
answered on 15 Apr 2010, 05:46 AM
Hi,
How to set the foreground property to telerikGridView GridViewDynamicHyperlinkColumn.
Thanks & Regards,
Kumarashankar A G
How to set the foreground property to telerikGridView GridViewDynamicHyperlinkColumn.
Thanks & Regards,
Kumarashankar A G
0
Accepted
Hi Kumarashankar Gunasekaran,
The following XAML demonstrates a DynamicHyperlinkColumn with a red foreground color.
Best wishes,
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.
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>Best wishes,
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.
0
Vassili King
Top achievements
Rank 1
answered on 13 Aug 2010, 05:24 PM
And how would you do it in code (I've got a GridViewDynamicHyperlinkColumn and I want to change foreground color of the link)?
Thank you!
Thank you!
0
Kamil Massani
Top achievements
Rank 1
answered on 16 Aug 2010, 08:14 PM
Can you help me in navigating to a different page(XAML) within the project using GridViewDynamicHyperlinkColumn?
Thanks
Kamil
Thanks
Kamil
0
Vassili King
Top achievements
Rank 1
answered on 17 Aug 2010, 04:37 PM
Here is an answer to my own question:
Those links are regular Silverlight HyperlinkButtons. Here is how to style them: http://msdn.microsoft.com/en-us/library/cc296242(v=VS.95).aspx.
Those links are regular Silverlight HyperlinkButtons. Here is how to style them: http://msdn.microsoft.com/en-us/library/cc296242(v=VS.95).aspx.
0
Maya
Top achievements
Rank 1
answered on 18 Apr 2016, 09:18 AM
Hello,
How can I set foreground property for cells of GridViewHyperlinkColumn ?
Thank you in advance,
Maya
0
Hello Maya,
In Silverlight, GridViewHyperlinkColumn creates a HyperlinkButton element for its content, so you can use the following style:
Regards,
Yoan
Telerik
In Silverlight, GridViewHyperlinkColumn creates a HyperlinkButton element for its content, so you can use the following style:
<Style TargetType="HyperlinkButton"> <Setter Property="Foreground" Value="Red"/> </Style>Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.