I couldnt find QuickStart in Demos path

4 posts, 2 answers
  1. Erhan
    Erhan avatar
    15 posts
    Member since:
    Dec 2014

    Posted 29 Dec 2014 Link to this post

    I am using HeatMap for my application and ı copied/ paste demos example to My application.But ı couldnt fix QuickStart part.

    Best Regards To Team ...
  2. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 30 Dec 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Erhan
    Erhan avatar
    15 posts
    Member since:
    Dec 2014

    Posted 04 Feb 2015 in reply to Martin Link to this post

    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.
  5. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 09 Feb 2015 Link to this post

    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.

     
Back to Top