Telerik Forums
UI for WPF Forum
8 answers
320 views
Hi,

I'm working with the ScheduleView control and I use the Office2013 Theme. I set a context menu on my ScheduleView control with 2 options. I create an appointment on my control and when I right-click on the new appointment, the context menu appear, when I left-click in the new appointment cell but outside the context menu to make the context menu dissapear, the moving tooltip of the SchedulView control appear... I would like to know if it's possible to avoid this behavior?!?

Thank's
Alain
Kalin
Telerik team
 answered on 25 Apr 2014
3 answers
116 views
Hi!

I have the following data structure: 
A tree of objects of the same type. The number of children is not fixed nor the depth of the branches.
I want to be able to sort one selected node's children by some property. By default in TreeListView the sorting effects the whole tree.
So the result view should contain a header for every opened node to allow the user to sort every opened node's children by an arbitrary property.
This view is similar to a GridView with hierarchical child grids in arbitrary depth.
  
Which control should I use and how can I do this?

(I didn't find any demo similar enough to my goal to start the work from it)

Sorry for bad English,
Thanks for the answers!
Ivan Ivanov
Telerik team
 answered on 25 Apr 2014
1 answer
249 views
Hi,

I have been trying to get a context menu/RadContextMenu to appear when a RadDiagramShape on my RadDiagram has been touched. Currently I only see the circular preparation/busy cursor. When I use the mouse right button or the stylus the context menu appears without trouble. As the business case for my application is that it is touch driven I seem to be severely limited.

Can anybody throw some light on my difficulty?

Regards,
Graham J McDonald
Petar Mladenov
Telerik team
 answered on 25 Apr 2014
1 answer
296 views
I wonder one thing.

It's about chart refresh.

<C#>
public ObservableCollection<TrendSeries> Series { get; set; }

<XAML>
<telerik:ChartSeriesProvider x:Name="chartSeries" Source="{Binding Series}">

I know that chart is refreshed by changing 'Series'.

Such as Series.Add function is well work, but 'series = list' is not work...

what is problem...?
Klemens
Top achievements
Rank 1
 answered on 25 Apr 2014
2 answers
111 views
Hi,

I want to display values for all the dynamically added series with mouse movement across X-axis like "First Look" project demo.

Please refer the attached screen-shot.

Here series are getting added or removed dynamically during run.

Thanks! :)
Bharat
Top achievements
Rank 1
 answered on 25 Apr 2014
6 answers
134 views
My Series data is decided in run-time.

Below my xaml code.

            <telerik:RadCartesianChart.SeriesProvider>
                <telerik:ChartSeriesProvider Source="{Binding Series}">
                    <telerik:ChartSeriesProvider.SeriesDescriptors>
                        <telerik:CategoricalSeriesDescriptor ItemsSourcePath="Data" ValuePath="Value" CategoryPath="Time" >
                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="telerik:LineSeries">
                                    <Setter Property="StrokeThickness" Value="1"/>
                                    <Setter Property="Visibility" Value="{Binding Name , Converter={StaticResource pointFocusConverter}}"/>
                                    <Setter Property="LegendSettings">
                                        <Setter.Value>
                                            <telerik:SeriesLegendSettings Title="{Binding Name}"/>
                                        </Setter.Value>
                                    </Setter>
                                    <Setter Property="VerticalAxis">
                                        <Setter.Value>
                                            <telerik:LinearAxis/>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
                        </telerik:CategoricalSeriesDescriptor>
                    </telerik:ChartSeriesProvider.SeriesDescriptors>
                </telerik:ChartSeriesProvider>
            </telerik:RadCartesianChart.SeriesProvider>


In this code, 'StrokeThickness', 'Visibility' and 'LegendSettings' is confirmed binding
According to other code,  'VerticalAxis' property is dynamically making Yaxis.
But does not working.
Please help me.





Lee
Top achievements
Rank 1
 answered on 25 Apr 2014
4 answers
357 views
Hi,
in my application I'm recording values at run-time. So I add series dynamic to my chartview. Next step would be to add vertical axis dynamically to my chartview.
So I added a collection where I can add the axis at run-time. Then when I want to change from one axis to another i got a InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.

Here is my SeriesProvider:
<telerik:RadCartesianChart.SeriesProvider>
    <telerik:ChartSeriesProvider Source="{Binding RecItemCollection}">
        <telerik:ChartSeriesProvider.SeriesDescriptors>
            <telerik:CategoricalSeriesDescriptor ItemsSourcePath="DataItems" ValuePath="ItemValue" CategoryPath="Time">
                <telerik:CategoricalSeriesDescriptor.Style>
                    <Style TargetType="telerik:LineSeries">
                        <Setter Property="RenderMode" Value="Full"/>
                        <Setter Property="StrokeThickness" Value="2"/>
                        <Setter Property="Stroke" Value="{Binding Stroke}"/>
                        <Setter Property="Visibility" Value="{Binding Visibility}"/>
                        <Setter Property="VerticalAxis" Value="{Binding VerticalAxis}"/>                                   
                    </Style>
                </telerik:CategoricalSeriesDescriptor.Style>
            </telerik:CategoricalSeriesDescriptor>
        </telerik:ChartSeriesProvider.SeriesDescriptors>
    </telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>

Is there another way to do this?

Reagards Markus
Klemens
Top achievements
Rank 1
 answered on 24 Apr 2014
1 answer
222 views
I have the following custom control:

<telerik:RadTileViewItem x:Class="CrmActivityTimer.Customcontrols.TimerTile"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:tileView="clr-namespace:Telerik.Windows.Controls.TileView;assembly=Telerik.Windows.Controls.Navigation"
             xmlns:customcontrols="clr-namespace:CrmActivityTimer.Customcontrols"
             DataContext="{Binding RelativeSource={RelativeSource Self}}"
             mc:Ignorable="d" Height="525" Width="375" TileStateChanged="TimerTile_OnTileStateChanged" HeaderStyle="{StaticResource TimerTileHeaderStyle}">
    <telerik:RadTileViewItem.Resources>
    </telerik:RadTileViewItem.Resources>
    <Grid>
 
        <TextBox Text="{Binding Timer.TimeElapsed}" Width="100px" Height="20px" Margin="102,17,155,437" IsReadOnly="True"/>
        <Button Height="20px" Width="20px" Margin="216,17,121,437" Click="PlayButton_OnClick">
            <Image Source="icons/Play.png" />
        </Button>
        <Button Height="20px" Width="20px" Margin="242,17,95,437" Click="PauseButton_OnClick">
            <Image Source="icons/Pause.png"  />
        </Button>
        <telerik:RadComboBox Name="CboKlant" HorizontalAlignment="Left" Margin="101,79,0,0" VerticalAlignment="Top" Width="230"
                             ItemsSource="{Binding Fields.Accounts}" DisplayMemberPath="Name" SelectedValuePath="AccountId" KeyboardNavigation.TabIndex="1"/>
        <telerik:RadComboBox Name="CboBetreft" HorizontalAlignment="Left" Margin="101,160,0,0" VerticalAlignment="Top" Width="230" KeyboardNavigation.TabIndex="4"
                             DisplayMemberPath="{Binding Fields.BetreftNameField}" SelectedValuePath="{Binding Fields.BetreftIdField}"/>
 
        <TextBox Name="TxtOnderwerp" HorizontalAlignment="Left" Height="23" Margin="102,50,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="230" KeyboardNavigation.TabIndex="0"/>
        <Label Content="Onderwerp" HorizontalAlignment="Left" Margin="10,50,0,0" VerticalAlignment="Top" Height="23" Width="87" Padding="0"/>
        <Label Content="Klant" HorizontalAlignment="Left" Margin="9,78,0,0" VerticalAlignment="Top" Height="23" Width="87" Padding="0"/>
        <Label Content="Betreft" HorizontalAlignment="Left" Margin="9,159,0,0" VerticalAlignment="Top" Height="23" Width="87" Padding="0"/>
        <telerik:RadComboBox x:Name="CboUser" HorizontalAlignment="Left" Margin="101,188,0,0" VerticalAlignment="Top" Width="230" KeyboardNavigation.TabIndex="5"
                             ItemsSource="{Binding Fields.Users}" DisplayMemberPath="FullName" SelectedValuePath="SystemUserId" SelectedValue="{Binding Fields.Currentuser}" />
        <Label Content="Gebruiker" HorizontalAlignment="Left" Margin="9,187,0,0" VerticalAlignment="Top" Height="23" Width="87" Padding="0"/>
        <telerik:RadComboBox x:Name="CboService" HorizontalAlignment="Left" Margin="101,216,0,0" VerticalAlignment="Top" Width="230" KeyboardNavigation.TabIndex="6"
                             ItemsSource="{Binding Fields.Services}" DisplayMemberPath="Name" SelectedValuePath="ServiceId"/>
        <Label Content="Service" HorizontalAlignment="Left" Margin="9,215,0,0" VerticalAlignment="Top" Height="23" Width="87" Padding="0"/>
        <Button HorizontalAlignment="Left" Height="35" Margin="296,10,0,0" VerticalAlignment="Top" Width="35" Click="BtnCreateActivity_OnClick">
            <Image Source="icons/Save.png" Width="35"/>
        </Button>
        <telerik:RadComboBox HorizontalAlignment="Left" Margin="101,106,0,0" VerticalAlignment="Top" Width="230" SelectionChanged="CboKoppelingsType_OnSelectionChanged" KeyboardNavigation.TabIndex="2">
            <telerik:RadComboBoxItem Content="Verkoopkans"/>
            <telerik:RadComboBoxItem Content="Job"/>
            <telerik:RadComboBoxItem Content="Ticket"/>
        </telerik:RadComboBox>
        <Label Content="Betreft is een..." HorizontalAlignment="Left" Margin="9,106,0,0" VerticalAlignment="Top" Width="87" Height="22" Padding="0"/>
        <Label Content="Project" HorizontalAlignment="Left" Margin="9,133,0,0" VerticalAlignment="Top" Width="88" Padding="0"/>
        <telerik:RadComboBox Name="CboProject"  HorizontalAlignment="Left" Margin="102,133,0,0" VerticalAlignment="Top" Width="229" KeyboardNavigation.TabIndex="3"
                              ItemsSource="{Binding Fields.Projects}" DisplayMemberPath="New_titel" SelectedValuePath="New_ProjectId" SelectionChanged="CboProject_SelectionChanged" />
        <TextBox Name="TxtVoorKlant" HorizontalAlignment="Left" Height="166" Margin="9,282,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="147"/>
        <TextBox Name="TxtVoorIntern" HorizontalAlignment="Left" Height="166" Margin="176,282,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="155"/>
        <Label Content="Voor de klant" HorizontalAlignment="Left" Margin="9,251,0,0" VerticalAlignment="Top" Width="87" Padding="0"/>
        <Label Content="Intern" HorizontalAlignment="Left" Margin="170,251,0,0" VerticalAlignment="Top" Width="87" Padding="0"/>
    </Grid>
</telerik:RadTileViewItem>

I want to add a close button to the header, to the right of where the minimize and maximize buttons appear normally. I've googled for this problem and every solution I come across involves assigning a custom template to an unextended RadTileViewItem. I don't know how to convert these solutions for application to a custom control. I've tried multiple solutions from this website so far, but I can't get it to work.
Pavel R. Pavlov
Telerik team
 answered on 24 Apr 2014
3 answers
171 views
Good afternoon,

I've read a 2009 thread saying it was not possible to export a chart in vector graphic, but only as images. As it is very important for our application, I wanted to ask wether it is still the case today ? And if it is not the case, is there a way to access graphical elements and reconstruct the graphic ?

Thank you,

Flavien Gyger
Petar Marchev
Telerik team
 answered on 24 Apr 2014
1 answer
122 views
Hello Friends,

I have just started working with Telerik UI for WPF and currently working on the RadDiagram.

After going through the Documentation, i am looking forward for some code samples for  RadDiagram.

Also just want your guidance how and where should i start leaning Telerik UI for WPF .
Pavel R. Pavlov
Telerik team
 answered on 24 Apr 2014
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?