Telerik Forums
UI for WPF Forum
4 answers
98 views
We're adding our new rows from our datamodel using a shortcut keyboard command. Now I want the newly added row to be in editmode and selected with keyboard focus so I can just start typing.

I've gotten things to work the first time a row is added, however when I add any row after that using just the keyboard. The editmode wont release from the first row. The CurrentItem property wont update. I've tried doing canceleditmode commitedit setting current item etc. before selecting the new row and doing "beginEdit" however the edit will still be stuck at the first row.

Here is an example of what I've done in my event that is fired when I add a new row:
datamodel.AddedRow += delegate
                        {
                             
                            Grid.CommitEdit();
                            Grid.CancelEdit();
                             
                             
                            Grid.UnselectAll();
                            if(!Grid.IsKeyboardFocused)
                                Grid.Focus();
                             
                            Grid.CurrentItem = datamodel.Selected[0];
                             
                            Grid.SetIsCurrent( datamodel.Selected[0], true );
                            Grid.BeginEdit();
                        };

I'm doing more here than I need I know this, but I cannot get it to update the CurrentItem before I do BeginEdit.

I tried the beta version of the Q3 release and it is working there, but I'm wondering if I can get this to work with the released Q2 release.

I can force the behviour to work be using the Rebind method before I set focus and current item. However this comes with a severe performance hit.
Veselin Vasilev
Telerik team
 answered on 29 Oct 2010
1 answer
119 views
I have a DtaeTime Picker in my application as follows

<Input:RadDateTimePicker x:Name="dateTimePicker" Width="150" Margin="3,0,0,0" DateTimeWatermarkContent="DateTime" SelectedValue="{Binding StartDateTime, Mode=TwoWay}"   VerticalAlignment="Center" SelectionChanged="dateTimePicker_SelectionChanged" />

and in the code behind
  private DateTime _startDateTime = DateTime.Now;
       public DateTime StartDateTime
       {
           get
           {
               return _startDateTime ;
           }
           set
           {
                
               if (_startDateTime != value)
               {
                   _startDateTime = value;
                   OnPropertyChanged("StartDateTime");
               }
           }
       }
 
public event PropertyChangedEventHandler PropertyChanged;
       private void OnPropertyChanged(string propertyName)
       {
           if (this.PropertyChanged != null)
           {
               this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
           }
       }

But when I run the app, there is no value set for The DateTimePicker control
George
Telerik team
 answered on 29 Oct 2010
9 answers
283 views
Hi,

I'm having a problem with the grid view control.

During runtime my grid displays the content correctly, however when you scroll the grid up and down it throws exceptions in the VS output window.  They seem to slow the entire application down.

A first chance exception of type 'System.ArgumentException' occurred in Telerik.Windows.Data.dll



Enclosed is the XAML

<

 

UserControl x:Class="GridTeams"

 

 

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" >

 

 

 

<UserControl.Resources>

 

 

 

 

</UserControl.Resources>

 

 

 

<Grid>

 

 

 

<telerik:RadGridView ItemsSource="{Binding Source={StaticResource DataTeams}}"

 

 

Margin="10">

 

 

 

<telerik:RadGridView.Columns>

 

 

 

 

<telerik:GridViewDataColumn DataMemberBinding="{Binding XPath=TN}"/>

 

 

 

 

 

</telerik:RadGridView.Columns>

 

 

 

</telerik:RadGridView>

 

 

 

</Grid>

 

</

 

UserControl>

 




I'm using RadControls_for_WPF_2009_3_1208_TRIAL.msi

When I run another demo with the same content it doesnt seem to cause the same effect.   Therefore I am confused as to where the problem is coming from.  Any help would be appreciated.

Kind regards
Neil
Vlad
Telerik team
 answered on 29 Oct 2010
2 answers
200 views
hello,

I am learning RadChart to display a pie,when I place a RadChart and ChartLegend in RadDocking,the pie chart can be drawn,but the chartlegend items are missing!

I have built a sample application to show the bug,please help me!

Any help will be appreciated!

Jerry

Screen shot

xaml:
<Grid>
   <telerik:RadDocking Background="Transparent" d:IsHidden="True" >
         <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="200,150" MaxWidth="600"
                              Name="leftContainer" InitialPosition="DockedLeft">
                <telerik:RadPaneGroup DropDownDisplayMode="Collapsed">
                    <telerik:RadPane x:Name="featurePane" Header="Featrues" >
                        <Controls:RadTreeView SelectionMode="Extended" IsLineEnabled="False"
                                                 ItemsOptionListType="CheckList"
                                                 IsOptionElementsEnabled="True"
                                                 IsRootLinesEnabled="True"
                                                 VerticalAlignment="Stretch" Margin="0"
                                                 x:Name="featureTree"
                                                 IsTriStateMode="True"
                                                 >
                        </Controls:RadTreeView>     
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
            <telerik:RadDocking.DocumentHost>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="100"/>
                        <RowDefinition Height="310*"/>
                    </Grid.RowDefinitions>
                    <Controls1:RadChart x:Name="radPipe" Grid.Row="0"
                                      UseDefaultLayout="False">
                        <Charting:ChartArea x:Name="pipeArea" >
 
                        </Charting:ChartArea>
                    </Controls1:RadChart>
 
           
                    <Controls1:RadChart x:Name="radStatistics" Grid.Row="1"
                                      UseDefaultLayout="False"
                                      BorderBrush="Transparent">
                        <Grid >
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="165*" />
                                <ColumnDefinition Width="120" />
                            </Grid.ColumnDefinitions>
 
                            <Charting:ChartLegend  Grid.Column="1" Name="pieLegend"  />
                            <Charting:ChartArea x:Name="pieArea" Grid.Column="0"
                                               LegendName="pieLegend" />
 
                        </Grid>
                    </Controls1:RadChart>
                </Grid>          
            </telerik:RadDocking.DocumentHost>           
        </telerik:RadDocking>
        <Button Content="Button" Height="27" HorizontalAlignment="Left" Margin="62,105,0,0"
                Name="button1" VerticalAlignment="Top" Width="96" Click="button1_Click" />
    </Grid>


Behind code:
public partial class MainWindow : Window
{
    public MainWindow()
    {
        this.InitializeComponent();
 
    }
     
    private static DataSeries GetPieData()
    {
        DataSeries series = new DataSeries();
        for(int i=0;i<5;i++)
        {
            DataPoint dataPoint = new DataPoint("aa"+i, i);
            dataPoint.LegendLabel="aa"+i;
            series.Add(dataPoint);
        }
        return series;
    }
     
    private void ConfigurePie()
    {
        DataSeries doughnutSeries = GetPieData();
        doughnutSeries.LegendLabel = "Doughnut Series";
 
        doughnutSeries.Definition = new DoughnutSeriesDefinition();
        doughnutSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
        doughnutSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
        doughnutSeries.Definition.InteractivitySettings.SelectionMode = ChartSelectionMode.Single;
 
        ((DoughnutSeriesDefinition)doughnutSeries.Definition).LabelSettings.LabelOffset = 0.8d;
        doughnutSeries.Definition.ItemLabelFormat = "#Y";
        pieArea.DataSeries.Clear();
        pieArea.DataSeries.Add(doughnutSeries);
        pieArea.SmartLabelsEnabled = true;
        pieLegend.Header = " ";
 
    }
 
 
    private void button1_Click(object sender, RoutedEventArgs e)
    {
          ConfigurePie();
    }
     
     
}
Jerry
Top achievements
Rank 1
 answered on 29 Oct 2010
3 answers
65 views
This seems to be something that would have been requested before, but I just can't seem to find an example.  Basically, I want to be able to drag some images files, from say, a file explorer window, and drop them on a gridview row.  The row that the items are dropped on would most likely not be the selected row in the grid.   Any help would be greatly appreciated.  Thanks, Kevin.
Kevin
Top achievements
Rank 1
 answered on 29 Oct 2010
1 answer
92 views
I'm using MVVM, PRISM with an outlook bar as a Prism region.

I have made a custom command that changes the main region when an OutlookBaritem is mouse down.  (think MS Outlook, when you click on the 'calendar' bar).  When the OutlookBarItems are bars, everything works fine, but when the application first starts, the outlook bars are minimized to buttons.  

What I noticed:
The mouse down event does not fire when the OutlookBarItem is minimized to a button instead of a bar.
Question:
Is this normal behavior?  
If so, this seems like illogical behavior.  A mouse down on a OutlookBarItem should fire regardless of it's display mode.  (I would assume that when minimized, a different template is used, with a button that has a click event instead of a UIElement that has a MouseDown event?)

Thanks, 
Brian
Tina Stancheva
Telerik team
 answered on 28 Oct 2010
4 answers
162 views
I am sure I am missing something obvious in the documentation, but I can't seem to find it. Is there anything built into the GridView control so I can determine if the user actaully changed the data after they entered into edit mode? I expected something in the RowEditEnded event to indicate that. I see the OldValues collection, so i know you are keeping track of the original data, but I don't want to have to write code to manually compare the new old data for every field, especially when the grid could be generated dynamically.
Frank Wanicka
Top achievements
Rank 1
 answered on 28 Oct 2010
2 answers
130 views
Hi,
I'm using MVVM base on the example of DrillDownCHart. My itemToolTipOpening chart is working fine. But the ChartArea_ItemClick doesn't work. ToolTipOpening and ItemClick share the same viewModel and chart Xaml. 

Updates: I found that this actually working, but it's  just hard to capture the chart, it's blinking. And sometimes it went to tipopenning first and that took awhile comeback to itemClick. So my question are
 1) how to separate these two events, meaning click should not go to ToolTipOpenning
2) how to make the itemClick chart staple. Anything could through xaml?

private

 

 

void ChartArea_ItemClick(object sender, ChartItemClickEventArgs e)

{

DataPoint selectedItem = e.DataPoint ;

 

DrillDownChartViewModel dViewModel = new DrillDownChartViewModel();  

 

dViewModel =

 

 

 

this.ViewModel.ActiveDetails.DrillDownChartSeries.FirstOrDefault(d => d.DataItem == e.DataPoint);

 

dViewModel.LoadToolTipSourceTable(selectedItem);

 

 

 

DrillDownChartToolTip toolTipControl = new DrillDownChartToolTip();

 

toolTipControl.DataContext = dViewModel;

toolTipControl.Height = 200;

toolTipControl.Width = 420;

 

}

Evgeni "Zammy" Petrov
Telerik team
 answered on 28 Oct 2010
1 answer
157 views
Hi!

I have just downloaded the RadControls_for_WPF35_2010_3_1018_Dev Beta. In this version the GridViewSortingEventArgs.SortPropertyName is marked as obsolete. My question is what we should use now when we are doing custom sorting?

Best regards
/Tor
Yavor Georgiev
Telerik team
 answered on 28 Oct 2010
1 answer
207 views
Hi!

I am attempting to get a Carousel control to work for me but I have been running into some problems.

First off, I started by using a RadCarousel control to display some data about a person. I set the template for the control and bound it to a list of Person objects. Everything worked well until I tried to change the Path/Trajectory of the careousel. I discovered that you cannot change it.

So, I switched to the RadCarouselPanel but I have been running into problems with it.
I have a custom UserControl that displays the person's information but when I add these items the RadCarouselPanel does not rotate the items; however, if I put Image controls in the RadCarouselPanel, it will rotate (up to the point where a user control is next in the list).

The user control is just a grid with an image in the first row, followed by the person's first name and last name in the second row. It's extremely simple.

I have read that people have had problems adding buttons to the RadCarouselPanel because they capture the mouse click event...however my user control does not. It's just....a grid with some stuff in it.

This is my Code-Behind for my window:
(VB.NET)
Public Class MainWindowAttempt2
 
    Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()
    End Sub
    Protected Overloads Overrides Sub OnInitialized(ByVal e As EventArgs)
        MyBase.OnInitialized(e)
    End Sub
 
    Private Sub Window_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
        Dim p As New People
        person1.ThePerson = p.People(0)
        person2.ThePerson = p.People(1)
        person3.ThePerson = p.People(2)
        person4.ThePerson = p.People(3)
        person5.ThePerson = p.People(4)
        person6.ThePerson = p.People(5)
        person7.ThePerson = p.People(6)
        person8.ThePerson = p.People(7)
    End Sub
 
End Class



This is what I have in my Window:
(XAML)
<Window xmlns:my1="clr-namespace:Infragistics.Windows.DataPresenter;assembly=InfragisticsWPF4.DataPresenter.v10.3" 
    x:Class="MainWindowAttempt2"
    xmlns:local="clr-namespace:TryingWPF"
    xmlns:my="clr-namespace:TryingWPF"
    xmlns:igWindows="http://infragistics.com/Windows"
    Height="500"
    Width="800"
    Title="MainWindowAttempt1" Background="Black" >
    <Window.Resources>
        <local:People x:Key="thePeople"></local:People>
        <DataTemplate x:Key="SimpleDataTemplate">
            <local:PersonIconUC ThePerson="{Binding}"></local:PersonIconUC>
        </DataTemplate>
 
        <DataTemplate x:Key="ResourcesComboItemTemplate">
            <Grid Width="134" Height="22" Margin="0,0,0,1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Grid.Resources>
                    <Style TargetType="{x:Type Path}">
                        <Setter Property="Stroke" Value="#FFB4B4B4"/>
                    </Style>
                </Grid.Resources>
                <TextBlock
            Grid.Column="0"
            Text="{Binding Path=Name}"
            Margin="4,0,0,0"
            VerticalAlignment="Center"/>
            </Grid>
        </DataTemplate>
        <Path x:Key="defaultPath" x:Name="defaultPath" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 28,250 C28,172.12684631347656 127.39120483398438,109 250,109 372.6087951660156,109 472,172.12684631347656 472,250 472,327.8731689453125 372.6087951660156,391 250,391 127.39120483398438,391 28,327.8731689453125 28,250 z"
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
        <x:Array x:Key="myPathsArray" Type="{x:Type Path}">
            <Path Name="horizontal" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1" Data="M 9,250 C9,250 491,250 491,250 " Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="lowerLeftU" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 49,171 C49,171 -19,276 44,353 107,430 270.314697265625,433.61767578125 336,420 418,403 489,334 489,334 " Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="verticalLeft" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1" Data="M 0,0 C0,0 0,1 0,1" Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="circle" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 28,250 C28,172.12684631347656 127.39120483398438,109 250,109 372.6087951660156,109 472,172.12684631347656 472,250 472,327.8731689453125 372.6087951660156,391 250,391 127.39120483398438,391 28,327.8731689453125 28,250 z"
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="circle_front" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 254,153 C376.6087951660156,153 472,211.87362670898438 472,284.5 472,357.12640380859375 372.6087951660156,416 250,416 127.39120483398438,416 28,357.12640380859375 28,284.5 28,213.47877502441406 128.04635620117188,155.60911560058594 246.90530395507812,153.08578491210938 "
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="inverseParabola" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 12,444 C12,444 61,192 239,192 417,192 487,438 487,438 " Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="rightArc" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 288,9 C406,9 502,134 460,263 406.58856201171875,427.0494079589844 269,483 72,483 " Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="zigzag" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 21,30 C21,30 468,30 468,30 468,30 468,174 468,174 468,174 20,174 20,174 20,174 20,336 20,336 20,336 468,336 468,336 468,336 468,480 468,480 468,480 18,480 18,480 "
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="spiral" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 286.6033935546875,250.22378540039062 C286.8534240722656,250.34091186523438 286.9825134277344,250.65719604492188 286.8481140136719,250.94395446777344 286.7137451171875,251.23068237304688 286.3520812988281,251.3793487548828 286.02471923828125,251.22596740722656 285.6973571777344,251.07257080078125 285.5283203125,250.65847778320312 285.7042541503906,250.2830047607422 285.8802185058594,249.9075164794922 286.3537902832031,249.712890625 286.78240966796875,249.91372680664062 287.2110595703125,250.1145782470703 287.43243408203125,250.65679931640625 287.2020263671875,251.1484375 286.97161865234375,251.64007568359375 286.3515930175781,251.89491271972656 285.790283203125,251.6319580078125 285.2290344238281,251.36895751953125 284.9391784667969,250.65899658203125 285.24090576171875,250.01524353027344 285.5425720214844,249.37147521972656 286.3544616699219,249.03781127929688 287.08935546875,249.38214111328125 287.8243103027344,249.72647094726562 288.2038269042969,250.65609741210938 287.80877685546875,251.4990234375 287.4137268066406,252.34194946289062 286.3506774902344,252.7788543701172 285.388427734375,252.32798767089844 284.4261169433594,251.87713623046875 283.92919921875,250.65989685058594 284.4464416503906,249.5561981201172 284.96368408203125,248.4524688720703 286.3555908203125,247.88037109375 287.6156311035156,248.47071838378906 288.8757019042969,249.06105041503906 289.5263366699219,250.65493774414062 288.84906005859375,252.10011291503906 288.1717529296875,253.5452880859375 286.3491516113281,254.29432678222656 284.6993408203125,253.52133178710938 283.049560546875,252.74830627441406 282.19757080078125,250.66143798828125 283.0843811035156,248.76914978027344 283.97113037109375,246.8768310546875 286.35760498046875,245.89593505859375 288.5179138183594,246.90806579589844 290.67828369140625,247.92022705078125 291.79388427734375,250.6529083251953 290.632568359375,253.1306915283203 289.4713134765625,255.60842895507812 286.3465576171875,256.892578125 283.51800537109375,255.56724548339844 280.68951416015625,254.24195861816406 279.22882080078125,250.66407775878906 280.7491149902344,247.41981506347656 282.26947021484375,244.17544555664062 286.36102294921875,242.49359130859375 290.06494140625,244.22885131835938 293.7689514160156,245.96420288085938 295.681640625,250.6494598388672 293.6905212402344,254.8976287841797 291.6994934082031,259.1455993652344 286.34210205078125,261.34716796875 281.4926452636719,259.0748596191406 276.6434326171875,256.80267333984375 274.13916015625,250.6685791015625 276.7454833984375,245.10643005371094 279.35198974609375,239.5439453125 286.36688232421875,236.66015625 292.71734619140625,239.63522338867188 299.068115234375,242.6104278564453 302.3475036621094,250.64353942871094 298.9334411621094,257.9270935058594 295.5196533203125,265.2101135253906 286.33441162109375,268.98419189453125 278.02044677734375,265.0882873535156 269.70703125,261.1925964355469 265.4136047363281,250.6763458251953 269.881591796875,241.1403045654297 274.3500671386719,231.60330200195312 286.3769226074219,226.6584014892578 297.2652282714844,231.7589111328125 308.1544494628906,236.85984802246094 313.7771301269531,250.63340759277344 307.9227600097656,263.121337890625 302.0692443847656,275.6075744628906 286.3212890625,282.0769348144531 272.0679626464844,275.3971862792969 257.8161926269531,268.7181396484375 250.45558166503906,250.6896209716797 258.1142883300781,234.3408966064453 265.7743225097656,217.98928833007812 286.3941345214844,209.5090789794922 305.0635070800781,218.2533416748047 323.7354736328125,226.99884033203125 333.37615966796875,250.61599731445312 323.3362121582031,272.02752685546875 313.298583984375,293.4341735839844 286.2987365722656,304.52197265625 261.86419677734375,293.0687561035156 237.43414306640625,281.6175842285156 224.81556701660156,250.71237182617188 237.9415283203125,222.6846466064453 251.0714569091797,194.64849853515625 286.4236755371094,180.1027374267578 318.43646240234375,195.0932159423828 350.4569091796875,210.08726501464844 366.9875793457031,250.58615112304688 349.76605224609375,287.2992858886719 332.55133056640625,323.9979553222656 286.2601318359375,342.9967041015625 244.3749542236328,323.3577575683594 202.50294494628906,303.7250061035156 180.87185668945312,250.7513885498047 203.3621368408203,202.7039337158203 225.86404418945312,154.63168334960938 286.4742431640625,129.67405700683594 341.3727111816406,155.37069702148438 396.2937316894531,181.077880859375 424.6409606933594,250.5349578857422 395.0908508300781,313.48895263671875 365.5606689453125,376.4003601074219 286.19390869140625,408.940673828125 214.40447998046875,375.2626037597656 142.6536407470703,341.6026611328125 105.57711791992188,250.81825256347656 144.0952911376953,168.45826721191406 182.64755249023438,86.02544403076172 286.5611267089844,43.179595947265625 380.7217712402344,87.22339630126953 474.94891357421875,131.2982635498047 523.5664672851562,250.4471435546875 472.83233642578125,358.4096374511719 422.156982421875,466.2471008300781 286.0804443359375,521.9407348632812 163.06336975097656,464.1784973144531 40.15966033935547,406.4694519042969 -23.379179000854492,250.9327392578125 42.5390510559082,109.77686309814453 48.007965087890625,98.06584930419922 53.2337760925293,88.53321075439453 60.15699768066406,77.61809539794922 "
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="spiral_lite" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 284.5203857421875,240.43275451660156 C295.6313171386719,243.21499633789062 305.7552795410156,251.480712890625 310.16925048828125,264.4330749511719 317.0760498046875,284.7004699707031 306.4331359863281,309.9669189453125 281.9519348144531,318.3504638671875 257.4701232910156,326.7342224121094 226.96444702148438,313.91278076171875 216.86415100097656,284.3240966796875 206.76043701171875,254.72540283203125 222.29275512695312,217.80810546875 258.05877685546875,205.56231689453125 293.823486328125,193.31700134277344 338.36639404296875,212.0667266845703 353.0829772949219,255.28460693359375 367.7923583984375,298.48114013671875 345.1015319824219,352.32037353515625 292.9330139160156,370.1869201660156 240.76171875,388.05438232421875 175.73866271972656,360.7445068359375 154.18878173828125,297.6854248046875 132.62332153320312,234.58079528808594 165.722900390625,155.84722900390625 241.99557495117188,129.73573303222656 318.2622375488281,103.62630462646484 413.2167053222656,143.63694763183594 444.5440368652344,235.78671264648438 475.83837890625,327.8395080566406 427.45098876953125,442.51763916015625 316.31976318359375,480.5843811035156 205.1757354736328,518.6554565429688 66.58607482910156,460.5341796875 20.559154510498047,326.17291259765625 -22.77850341796875,199.66209411621094 17.320261001586914,90.10169982910156 125.22354888916016,10.899418830871582 "
                  Stroke="#FFB4B4B4" StrokeThickness="1"/>
            <Path Name="heart" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" Stretch="Fill" Opacity="1"
                  Data="M 32,212 C32,212 227,-98 322,80 417,258 509,487 335,481 161,475 77,287 139,220 201,153 230,132 230,132 " Stroke="#FFB4B4B4" StrokeThickness="1"/>
        </x:Array>
 
    </Window.Resources>
    <Grid DataContext="{StaticResource thePeople}">
        <Grid.RowDefinitions>
            <RowDefinition Height="400"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <!--<telerik:RadCarousel Grid.RowSpan="2" HorizontalAlignment="Left"
                             ItemsSource="{Binding Path=People}"
                             Name="RadCarousel1"
                             VerticalAlignment="Top"
                             Background="Black"
                             ItemTemplate="{StaticResource SimpleDataTemplate}">
 
        </telerik:RadCarousel>-->
        <telerik:RadCarouselPanel Grid.Row="0" Name="Panel" IsOpacityEnabled="True" IsPathVisible="True"
                ItemsPerPage="3" PathPadding="60,10,60,10" Background="Transparent" >
 
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <Image Source="/TryingWPF;component/Images/abc.jpg" Width="150"></Image>
            <local:PersonIconUC x:Name="person1"/>
            <local:PersonIconUC x:Name="person2"/>
            <local:PersonIconUC x:Name="person3" />
            <local:PersonIconUC x:Name="person4" />
            <local:PersonIconUC x:Name="person5" />
            <local:PersonIconUC x:Name="person6" />
            <local:PersonIconUC x:Name="person7" />
            <local:PersonIconUC x:Name="person8" />
             
             
 
        </telerik:RadCarouselPanel>
        <ComboBox Grid.Row="1" x:Name="cboResources" IsSynchronizedWithCurrentItem="True" ItemsSource="{StaticResource myPathsArray}"
                  ItemTemplate="{StaticResource ResourcesComboItemTemplate}" SelectedItem="{Binding Path=Path, ElementName=Panel}"
                  VerticalAlignment="Center" Height="24" HorizontalAlignment="Left" Width="141" SelectedIndex="0"/>
 
    </Grid>
</Window>

Milan
Telerik team
 answered on 28 Oct 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?