Telerik Forums
UI for WPF Forum
10 answers
502 views

To bind the IsExpanded Property to my own IsExpanded property I use the following snippet:

<Style TargetType="{x:Type telerik:RadTreeViewItem}" x:Key="ItemContainerStyle"  >
    <Setter Property="IsExpanded" Value="{Binding Path=IsExpanded,Mode=TwoWay}"/>
</Style>

This works fine so far but the highlight color of the nodes turned from blue into grey. How can I keep the original style and only add the setter property?

rico
Top achievements
Rank 1
 answered on 13 Sep 2017
4 answers
341 views
I'm opening this topic because of the same title from another open, because for some reason they have not answered me, buy the component, but does not know it uses 100% precisano help.
Here is the link to the other thread.

http://www.telerik.com/community/forums/wpf/ribbonview/change-background-color-radribbonview-radribbontab-and-radribbongroup.aspx

Att
André
Martin
Telerik team
 answered on 13 Sep 2017
7 answers
299 views
I can't find a way to clear selected items when RadAutoCompleteBox SelectionMode is set to "Multiple". I don't want to re-instantiate a new one just to clear selections.
Dinko | Tech Support Engineer
Telerik team
 answered on 12 Sep 2017
3 answers
138 views
when a user click on the tree node which is not fully on view, what is happening is, first it bring to focus and user has to click second time to open the node. Any help would be appreciate. Environment: is WPF and MVVM
Stefan
Telerik team
 answered on 12 Sep 2017
3 answers
144 views

I have DragAndDrop enabled on a RadGridView. This works, but when I want to scroll or I try to resize the column header a dragAndDrop action is also started that prevents the scrolling or resizing.

How can I detect that the DragAndDrop event started on a scrollbar or a column header and stop the event?

Solutions I found on the telerik page are all with the old RadDragDropManager and not with the DragDropManager that should now be used. I can't find the equivalent function for e.GetElement<T> that was called on the  in the DragDropQueryEventArgs. This would be called in the DragInitializeHandler.

Dilyan Traykov
Telerik team
 answered on 12 Sep 2017
1 answer
142 views

Hi,

I'm facing this CPU usage increases problem when mouse over on the GridView and the application started consuming CPU usage percentage almost 28% to 35% .

By using Telerik SP1-R2-2017 Telerik Controls for WPF.

Here I've tested it on a machine having these specifications,

Windows 8.1 Sony Vaio Core-i7 3537u 3rd Generation ,System Model : svt131317cvs.

Please give me solution to fix these issues regarding to GridView .

Thanks,

Martin Ivanov
Telerik team
 answered on 12 Sep 2017
5 answers
255 views

I use the Telerik libraries 2014.2.811.45.

I have a tree which can be edited by the user. The user as well can adjust the width of the tree and make it narrow enough to cut off some of the node names.

This post here (http://www.telerik.com/forums/treeview-tooltips-instead-of-horizontal-scroll-bar) seems to solve the problem but is unfortunately outdated. The API has changed meanwhile - the functions/properties don't exist any more.

Still I tried to adjust the solution to my library version but I couldn't get it work. The solution gets the bounds of the tree and each of its items and compares them. This seems to be an easy and adequate solution which I would like to use as well. Trying out different properties showed me the following: Width seems to return NaN. ActualWidth seems to return pretty much the width of the tree whether it is called on the tree or the node. I would expect it to return the width of the node name if called on the node. Further I could not find a property to get the right border of the tree/items.

How can I solve this problem with my telerik libraries?

Martin Ivanov
Telerik team
 answered on 11 Sep 2017
4 answers
222 views
Hi, we are evaluating DevCraft - the most critical portion that will affect our decision is the 3D charts functionality in WPF for our software. I used the WPF sample code in this https://github.com/telerik/xaml-sdk/tree/master/ChartView3D/WPF and successfully created a Surface Plot with colorizer.

 

Yet no matter what I do I cannot get the Tooltips to work - Tooltips are critical for our functionality and we need to show the datapoint that is closest in the surface plot in order to satisfy our need. 

I followed the directions in http://docs.telerik.com/devtools/wpf/controls/radchartview3d/features/behaviors/tooltipbehavior3d with no success.
 
The code below is my modified version of the code in the github to add tooltips.

https://github.com/telerik/xaml-sdk/blob/master/ChartView3D/WPF/ValueGradientColorizer/SurfaceGradients.xaml

 

I am using this project in Windows 10 professional with Telerik UI for WPF version 2017.2.629.0

A quick response would be appreciated since I will have to present a report tomorrow comparing Telerik with alternative 3D visualization libraries. 

Kind regards

<UserControl x:Class="ValKueGradientColorizer.SurfaceGradients"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <telerik:RadCartesianChart3D >
            <telerik:RadCartesianChart3D.TooltipTemplate>
                <DataTemplate>
                    <StackPanel Background="Fuchsia" MinHeight="100" MinWidth="100">
                        <StackPanel Orientation="Horizontal"  Background="Yellow">
                            <TextBlock Text="X - " FontWeight="Bold" Foreground="Blue"/>
                            <TextBlock Text="{Binding XValue}"  />
                        </StackPanel>
                        <StackPanel Orientation="Horizontal"  Background="Yellow">
                            <TextBlock Text="Y - " FontWeight="Bold" />
                            <TextBlock Text="{Binding YValue}"   Foreground="Blue"/>
                        </StackPanel>
                        <StackPanel Orientation="Horizontal" Background="Yellow">
                            <TextBlock Text="Z - " FontWeight="Bold" />
                            <TextBlock Text="{Binding ZValue}"   Foreground="Blue"/>
                        </StackPanel>
                    </StackPanel>
                </DataTemplate>
 
            </telerik:RadCartesianChart3D.TooltipTemplate>
            <telerik:RadCartesianChart3D.XAxis>
                <telerik:LinearAxis3D />
            </telerik:RadCartesianChart3D.XAxis>
            <telerik:RadCartesianChart3D.YAxis>
                <telerik:LinearAxis3D />
            </telerik:RadCartesianChart3D.YAxis>
            <telerik:RadCartesianChart3D.ZAxis>
                <telerik:LinearAxis3D />
            </telerik:RadCartesianChart3D.ZAxis>
            <telerik:RadCartesianChart3D.Grid>
                <telerik:CartesianChart3DGrid />
            </telerik:RadCartesianChart3D.Grid>
            <telerik:RadCartesianChart3D.Behaviors>
                <telerik:Chart3DTooltipBehavior InitialShowDelay="200" ShowDuration="200000">
                     
                </telerik:Chart3DTooltipBehavior>
                <telerik:Chart3DCameraBehavior />
            </telerik:RadCartesianChart3D.Behaviors>
 
            <telerik:RadCartesianChart3D.Series>
                <telerik:SurfaceSeries3D XValueBinding="X"
                                         YValueBinding="Y"
                                         ZValueBinding="Z"
                                         ItemsSource="{Binding}"
                                         ToolTipService.ShowOnDisabled="True"
                                          
                                         >
 
                    <telerik:SurfaceSeries3D.Colorizer>
                        <telerik:SurfaceSeries3DValueGradientColorizer IsAbsolute="True">
                            <telerik:SurfaceSeries3DValueGradientColorizer.GradientStops>
                                <GradientStopCollection>
                                    <GradientStop Offset="-100" Color="Blue" />
                                    <GradientStop Offset="50" Color="Green" />
                                    <GradientStop Offset="100" Color="Red" />
                                </GradientStopCollection>
                            </telerik:SurfaceSeries3DValueGradientColorizer.GradientStops>
                        </telerik:SurfaceSeries3DValueGradientColorizer>
                    </telerik:SurfaceSeries3D.Colorizer>
                    <telerik:SurfaceSeries3D.ToolTip>
                        <StackPanel MinWidth="200" MinHeight="200" Background="Fuchsia" ><TextBlock Background="Aqua" Foreground="Black">100000</TextBlock></StackPanel>
                    </telerik:SurfaceSeries3D.ToolTip>
                    <telerik:SurfaceSeries3D.TooltipTemplate>
                        <DataTemplate>
                            <StackPanel Background="Fuchsia" MinHeight="100" MinWidth="100">
                                <StackPanel Orientation="Horizontal"  Background="Yellow">
                                    <TextBlock Text="X - " FontWeight="Bold" Foreground="Blue"/>
                                    <TextBlock Text="{Binding XValue}"  />
                                </StackPanel>
                                <StackPanel Orientation="Horizontal"  Background="Yellow">
                                    <TextBlock Text="Y - " FontWeight="Bold" />
                                    <TextBlock Text="{Binding YValue}"   Foreground="Blue"/>
                                </StackPanel>
                                <StackPanel Orientation="Horizontal" Background="Yellow">
                                    <TextBlock Text="Z - " FontWeight="Bold" />
                                    <TextBlock Text="{Binding ZValue}"   Foreground="Blue"/>
                                </StackPanel>
                            </StackPanel>
                        </DataTemplate>
 
                    </telerik:SurfaceSeries3D.TooltipTemplate>
 
                </telerik:SurfaceSeries3D>
            </telerik:RadCartesianChart3D.Series>
        </telerik:RadCartesianChart3D>
    </Grid>
</UserControl>
Dinko | Tech Support Engineer
Telerik team
 answered on 11 Sep 2017
4 answers
192 views

I am using a RadColumnSparkline inside a RadTimebar but can't style the columns so they look a bit better than out of the box.

I want the columns to have a margin between each other, rounded tops and a dark border color. 

I've already tried to overwrite the telerik column style to tackle the rectangle for the column but no column was shown:

  <telerik:RadColumnSparkline.Resources>
<Style TargetType="telerik:Column" BasedOn="{StaticResource ColumnStyle}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="telerik:Column">
<Rectangle Stroke="Black" Margin="5,0,5,0"  Fill="{TemplateBinding Fill}"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadColumnSparkline.Resources>

 

I've attached an image  of  how they currently look .

This is the code for the timebar:

<telerik:RadTimeBar 
Grid.Column="1"
x:Name="TimeBar"
PeriodStart="{Binding AppearanceSearchOverview.PeriodStart, Converter={StaticResource DateTimeToLocalTimeConverter}}"
PeriodEnd="{Binding AppearanceSearchOverview.PeriodEnd, Converter={StaticResource DateTimeToLocalTimeConverter}}"
VisiblePeriodStart="{Binding ElementName=TimeBar, Path=PeriodStart}"
VisiblePeriodEnd="{Binding ElementName=TimeBar, Path=PeriodEnd}"
Selection="{Binding Path=TimeRange, Converter={StaticResource TelerikTimeRangeConverter}, Mode=TwoWay}"
MinSelectionRange="00:01:00"
MaxSelectionRange="72:00:00"
MinZoomRange="00:15:00"
Background="{StaticResource PanelBackgroundBrush}"
SelectionTitleFormatString="{}{0:HH':'mm':'ss} - {1:HH':'mm':'ss}"
IsSnapToIntervalEnabled="False">
<telerik:RadTimeBar.Intervals>
<telerik:DayInterval />
<telerik:HourInterval />
<telerik:MinuteInterval IntervalSpans="5" />
</telerik:RadTimeBar.Intervals>
<Grid>
<telerik:RadColumnSparkline 
AutoRange="False"
ItemFill="#3D6F99"
MinYValue="{Binding AppearanceSearchOverview.MinValue}"
ItemsSource="{Binding AppearanceSearchOverview.Results}"
XValuePath="X"
MinXValue="{Binding ElementName=TimeBar, Path=PeriodStart}"
MaxXValue="{Binding ElementName=TimeBar, Path=PeriodEnd}"
YValuePath="Y"/>

</telerik:RadTimeBar>

Sia
Telerik team
 answered on 11 Sep 2017
1 answer
148 views
When the search request is completed, i get the response "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." it was working correctly more than years but in the recent few days, it is not working and i get the above error response. please let me know what i do to this issue
Petar Mladenov
Telerik team
 answered on 11 Sep 2017
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?