I copied the xaml from first look demo. When I execute the header does not show. The only thing I changed was
x:Class="Cloudburst.Dialogs.GridHeaderProperties". What am I doing wrong?
Thanks
Rich
<
UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
x:Class="Cloudburst.Dialogs.GridHeaderProperties"
xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<telerikQuickStart:QuickStart.ExampleHeader>
<Grid>
<TextBlock Text="My Contacts"
Margin="8" />
</Grid>
</telerikQuickStart:QuickStart.ExampleHeader>
I did not show the remaining xml.
6 Answers, 1 is accepted
Please accept our apology for the delayed response.
The QuickStart.ExampleHeader is basically a HeaderedContentControl which is especially designed for the online demos. Therefore it won't work outside the QSF demo solution. However, I attached a sample project where a HeaderedContentControl is used and it is styled to look like the demo's QuickStart.ExampleHeader you need to implement.
Please have a look at the sample and let us know if it works for you or if we can further assist you.
Kind regards,
Tina Stancheva
the Telerik team
Thanks in advance :)
The QuickStart.ExampleHeader has no predefined styles in the Telerik themes. This is why you will need to define your own styles and manually change them when changing the theme.
All the best,
Tina Stancheva
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I think it would could be nice if you turned that header into a themed component :) I would be a simple but very nice feature!
But how can I accomplish to do some Theme based headers?
Please take a look at the attached project which is an updated version of the previous application and let me know if this is what you had in mind.
Greetings,
Kiril Stanoev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>