Telerik Forums
UI for WPF Forum
1 answer
414 views

Hello, 

We are changing our chart library from LiveChart to Telerik but there we are facing a problem.

We want to be able to smoothly move each point of a line series to its new location when the value of a point is updated in the model, wich is very straichtforward using LiveChart. We can manage to redraw the chart with the new value out of the box but it seems like points jump from one place to another and we can't find any litterature about how to move them smoothly.

Is that even possible using Telerik? How?

Any help will be appriciated

 

Emilie

Martin Ivanov
Telerik team
 answered on 09 Sep 2019
6 answers
251 views

Hello there, i have a Information layer with MapPath curves and the items are drawing fine, but i can't select that, but when i change the Information Layer on Visualization Layer, i can select the objects but there are not drawing.

Pls help.

Martin Ivanov
Telerik team
 answered on 06 Sep 2019
2 answers
233 views

Hi guys,

Is it possible to have a proper title bar for the RadTabbedWindow? What could be approach to do that, if we really need it? Thanks

Yaroslav
Top achievements
Rank 1
 answered on 05 Sep 2019
1 answer
284 views

I don't remember where I got it, but I have some code:

 

Dim ColumnSeries As New Telerik.Windows.Controls.ChartView.BarSeries
ColumnSeries.PointTemplate = TryCast(Application.Current.TryFindResource("ColumnDataPointTemplate"), DataTemplate)

 

And in a resource dictionary: 

<DataTemplate x:Key="ColumnDataPointTemplate">
    <Rectangle Fill="{Binding Brush}" MaxWidth="40"/>
</DataTemplate>

 

It works fine for the Bar series but fails to display anything if I use the same resource for the point template of a RangeBarSeries. I found somewhere in a forum post I think to use DefaultVisualStyle and that does work to set the max width, BUT it does not center the bar on the category label tick.

<Style x:Key="RangeBarVisualStyle" TargetType="Border">
    <Setter Property="Background" Value="{Binding Brush}" />
    <Setter Property="BorderThickness" Value="0"/>
    <Setter Property="MaxWidth" Value="40"/>
    <Setter Property="HorizontalAlignment" Value="Center"/>
</Style>

It does the same thing if I use the visual style on the regular bar so I know it is not specific to the range bar.

In the attached picture, I am showing the bars with no point template or default visual style. The second is with a point template, and the last is with the default visual style.

I would like to make either of these work... I don't really care which one.

Martin Ivanov
Telerik team
 answered on 05 Sep 2019
2 answers
304 views

How to get a round button that mimics the used Office2016Theme ?

There's some buttons in our app we'd like to be the same as the round Office2016Theme'd buttons that appear in other controls such as the Expander (open/close).

See attached pic as an example.

Dimitar Dinev
Telerik team
 answered on 05 Sep 2019
2 answers
159 views

Hello,

 

Can anyone tell me how can I set my own template of event on time ruler?

I have field called SubTitle and EventContainer style like below:

 

 <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="telerik:EventContainer">
                                    <Grid>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>
                                        <Grid Grid.Column="0" Margin="{TemplateBinding Padding}">
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="*" />
                                                <RowDefinition Height="Auto" />
                                            </Grid.RowDefinitions>
                                            <TextBlock Text="{Binding SubTitle}" />

                                        </Grid>
                                    </Grid>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>

 

But nothing is displaying. If I change binding to Title, it works.

Dilyan Traykov
Telerik team
 answered on 05 Sep 2019
7 answers
158 views

Hi,

resizing RibbonWindow works fine, but when the mouse is over the right upper part of the RadRibbonTab resizing is not possible. I don't suppose this is by design?

Best regards

Michael

Dilyan Traykov
Telerik team
 answered on 05 Sep 2019
1 answer
243 views

 

Hello,

Is it possible to perform validation on keypress instead of lost focus, similar to UpdateSourceTrigger in WPF?

I'm using the WPF RadPropertyGrid control with AutoGeneratePropertyDefinitions set to true.

 

                    <t:RadPropertyGrid Name="VdiPropertyGrid"  Grid.Column="2" 
                                      Item="{Binding Path=DataContext.SelectedPropertyInspector, RelativeSource={RelativeSource FindAncestor,  AncestorType={x:Type UserControl}}}"
                                      HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"    IsGrouped ="True"                        
                                      ScrollViewer.CanContentScroll="False" ScrollViewer.VerticalScrollBarVisibility="Auto"
                                      DescriptionPanelVisibility="Visible" SearchBoxVisibility="Visible" ForceCursor="True" SelectionMode="Single" 
                                      AutoGeneratePropertyDefinitions="True"                                   
                                      AutoGeneratingPropertyDefinition="RadPropertyGrid_OnAutoGeneratingPropertyDefinition" ItemChanged="VdiPropertyGrid_ItemChanged"    >

                        <t:RadPropertyGrid.Resources>
                            <Style TargetType="{x:Type TextBox}">
                                <Style.Triggers>
                                    <Trigger Property="Validation.HasError" Value="True">
                                        <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors)[0].ErrorContent}" />
                                    </Trigger>
                                </Style.Triggers>
                            </Style>


                        </t:RadPropertyGrid.Resources>
                    </t:RadPropertyGrid>

 

Regards,
Canice.

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Sep 2019
4 answers
2.2K+ views

I need to step through a call stack to determine why an unexpected event is being fired in my code. I am unable to do so in the Telerik libraries (e.g. Telerik.Windows.Controls.dll).

How do I go about getting the source code or debug symbols for UI for WPF?

Martin Ivanov
Telerik team
 answered on 04 Sep 2019
4 answers
190 views
I have read every bit of information there is on the RadCollectionNavigator, not much out there, so now I have to ask (-:

I would like to:
- Validate before accepting a new item
- Undo a new item
- Ask fro delete confirmation
- Know how to set focus on the new item in a rad listbox

Can I do this with the RadCollectionNavigator or do I have to find another solution?
Amit
Top achievements
Rank 1
 answered on 04 Sep 2019
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?