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

I couldnt find QuickStart in Demos path

3 Answers 247 Views
HeatMap
This is a migrated thread and some comments may be shown as answers.
Erhan
Top achievements
Rank 1
Erhan asked on 29 Dec 2014, 09:22 AM
I am using HeatMap for my application and ı copied/ paste demos example to My application.But ı couldnt fix QuickStart part.

Best Regards To Team ...

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 30 Dec 2014, 09:18 AM
Hello Erhan,

The elements from the QuickStart namespace are just helpers that are used only in our demos. Those elements are used to create the configuration panels for the demos. We do not provide an assembly with the QuickStart namespace and also we do not expose its code in the WPF demos application, because it is not necessary for the controls to work properly. 

However, you can get the code with the QuickStart classes from the solution with the source code of our examples. You can download this solution from the download page in your account. To get to the this page you can click on the "Products & Subscriptions --> Trials" then click the "Download" button placed in the UI for WPF section.  You can find the examples' solution in the "Demos" .zip file.

I hope this helps.

Regards,
Martin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Erhan
Top achievements
Rank 1
answered on 04 Feb 2015, 08:54 PM
Thanks Martin . I like example header style so much . and ı want to use it in my project. It is possible?
I added Quickstart_WPF.common to my project and ı set xmlns in my view . I can build my code . But ı couldnt see exampleheader when ı run  my  application.
0
Accepted
Martin Ivanov
Telerik team
answered on 09 Feb 2015, 09:50 AM
Hello Erhan,

If you want only the example header you can get the xaml from the DataTemplate with x:Key set to "ExampleTemplate" defined in the SingleExample.xaml file (which is part of the QuickStart.Application project). For your convenience I extracted the xaml:
<Border>
            <Grid Margin="10" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
 
                <Border Grid.RowSpan="2" CornerRadius="5" BorderBrush="#FFAAB9C0" BorderThickness="1" Background="White">
                    <Border.Effect>
                        <DropShadowEffect BlurRadius="7" ShadowDepth="2" Opacity="0.5" />
                    </Border.Effect>
                </Border>
                <Border x:Name="Header" CornerRadius="5 5 0 0" Background="#FF79256B" BorderThickness="0 0 0 1" BorderBrush="#FFAAB9C0">
                    <Grid>
                        <Path Width="223" Height="29" HorizontalAlignment="Right" VerticalAlignment="Top"
                              Data="M0.5,12.1 L222.4,12.1 L222.5,37.6 C176.7,29.8 107.9,19.0 0.5,19.0 z"
                              Stretch="Fill" StrokeThickness="0" >
                            <Path.Fill>
                                <LinearGradientBrush StartPoint="0.5,0.0" EndPoint="0.5,0.8">
                                    <GradientStop Offset="1" Color="#FF8E347D"/>
                                    <GradientStop Offset="0.1" Color="#0079256B"/>
                                </LinearGradientBrush>
                            </Path.Fill>
                        </Path>
                        <ContentPresenter Content="Header" TextBlock.Foreground="White" TextBlock.FontSize="24" TextBlock.FontFamily="Myriad Pro Light" />
                    </Grid>
                </Border>
                <AdornerDecorator Margin="5" Grid.Row="1">
                    <ContentPresenter x:Name="Content" Content="{Binding}" />
                </AdornerDecorator>
            </Grid>
        </Border>
Please take a look at it and let me know if it works for you.

Regards,
Martin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
HeatMap
Asked by
Erhan
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Erhan
Top achievements
Rank 1
Share this question
or