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

Issue with changing background of header if timepicker

1 Answer 75 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
mr Superski
Top achievements
Rank 1
mr Superski asked on 24 Jun 2010, 02:35 PM
Hello Guys!
I have encountered on issue that I cannot go trough. It is as simple as just changing the header background color.
I could find control template for that part. Blend only offers me styling of clockpanel but i dont need that.
And setting just HeaderContent also doesn't help we cause as a result i got something like that: http://floomby.ru/content/gRUF52uixU/

And here goes the source-code of it

<fiqas:FiqasTimePicker SelectedTime="{Binding EndTime, Mode=Twoway}" Grid.Column="3" Margin="0" VerticalAlignment="Center" Style="{StaticResource FiqasTimePickerStyle1}" Padding="0"
                                <fiqas:FiqasTimePicker.HeaderContent> 
                                    <StackPanel Background="{StaticResource BannerBackgroundBrush}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                                        <TextBlock Text="Select Time" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center" /> 
                                    </StackPanel> 
                                </fiqas:FiqasTimePicker.HeaderContent> 
                            </fiqas:FiqasTimePicker> 

update: and I also didnt discover how can I change background and button styles in select time panel. 

Any help would so appreciated!
Thanks in advance!



1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 29 Jun 2010, 10:21 AM
Hi mr Superski,

Thank you for contacting us.

To edit the Header of the Clock element you have to generate its style very easy with Blend. Then, you can edit the Background of the Header. Please find the attached project in which this is illustrated. Please mind for the "NOTE:" comment which indicate the place where changes have to be made.

If you need further assistance please let us know.

Greetings,
Konstantina
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
TimePicker
Asked by
mr Superski
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or