Telerik Forums
UI for WPF Forum
1 answer
169 views

I'm getting a strange pause during the animation of a callout?  See code below:

 

Private Sub imHelpEnhanceDistance_MouseDown(sender As Object, e As MouseButtonEventArgs) Handles imHelpEnhanceDistance.MouseDown
 
        Try
            Dim clCodeCallout As New RadCallout()
            With clCodeCallout
                .FontSize = 10
                .Content = "My helpful Text Message"
                .Width = 210
                .Height = 70
                .TextWrapping = TextWrapping.Wrap
                .Background = Brushes.DarkGreen
                .Foreground = Brushes.White
            End With
 
            Dim clSettings As New CalloutPopupSettings()
            With clSettings
                .Placement = System.Windows.Controls.Primitives.PlacementMode.Top
                .CanPopupExceedScreen = True
                .ShowAnimationDuration = 0.55D
                .ShowAnimationEasing = New BounceEase() With {.EasingMode = EasingMode.EaseOut, .Bounces = 20, .Bounciness = 5}
                .CloseAnimationEasing = New CircleEase() With {.EasingMode = EasingMode.EaseOut}
                .CloseAnimationDuration = 0.3D
                .ShowAnimationType = CalloutAnimation.Move
                .CloseAnimationType = CalloutAnimation.Move
                .AutoClose = True
            End With
 
            CalloutPopupService.Show(clCodeCallout, TryCast(sender, FrameworkElement), clSettings)
 
        Catch ex As Exception
 
            Log.Write(ex)
 
        End Try
 
    End Sub
Martin Ivanov
Telerik team
 answered on 21 Jan 2021
10 answers
277 views

Hi

I am wondering if it is possible to use the clustering features available in RadMap to be able to group moving map markers?

For example 1) Two vehicles driving next to each other along a road show as a moving cluster

For example 2) Two vehicles driving towards each other on a road, cluster when close to each other, then separate when they have passed each other

 

In both examples, can the cluster(s) be recalculated when marker locations change so that the cluster marker moves / de-clusters as appropriate?

 

I understand that the clustering features work great with static markers (like in the 'airports' example) and I understand that clusters can be regenerated on a map zoom but I cannot see a way to regenerate, move and possibly break-up a cluster on a marker location change.

 

Am I missing something obvious?

 

Thanks

 

 

Martin Ivanov
Telerik team
 answered on 21 Jan 2021
1 answer
116 views

Hello,

This already appears with previous release and is still visible with the current one: it seems that the stylesheet is missing as no formatting is applied to the text...

Dilyan Traykov
Telerik team
 answered on 21 Jan 2021
1 answer
119 views

Currently a DayViewDefinition in RadScheduleView  is

<telerik:DayViewDefinition MinorTickLength="30min" MajorTickLength="2h" />

I am trying to achieve a different tick interval value before midday and another  tick interval value after midday

For example
For 6 AM to 12 PM, we are looking to set 10 minute slot and after 12 PM we are looking to set 9 minute slot

Can this achieved somehow ?

Dilyan Traykov
Telerik team
 answered on 21 Jan 2021
7 answers
165 views
I've managed to customize all the colors for the Windows8Touch theme to my liking to make it a generally dark theme.  I get the Windows8TouchPalette at startup and set the colors that the Telerik docs recommend.


However I still do not like the Gradient Background brush.  It appears too light for what I want.  I would like to be able to either directly set it to make it darker or simply make the theme use solid brushes in place of the gradient ones .

Is there a way to directly alter the gradient brushes -- individually - in this theme?   Or is it simply constructed from the colors I specify and I have no other control over it?
Martin Ivanov
Telerik team
 answered on 21 Jan 2021
10 answers
225 views
Is it possible, to display both percent and the actual values behind them?
Right now you can either show percentage of total, or the actual value, but not both.

Or is there a way to get the "raw value" and "total value" of a CellAggregateValue programatically?
Martin Ivanov
Telerik team
 answered on 19 Jan 2021
8 answers
609 views

Hi Team,
We are using RadNavigation view for our menu control. We are using it in submenu configuration way. We are able to create and navigate to different views. We are using .Net Core with No Xaml configuration. We wanted to have theme option for our entire application. For this we have referred and followed CRM application and created the Theme part same as CRM application. We are able to apply theme and change theme as per choice of user for entire application but we are facing some issues with RadNavigationView control. Below are the challenges that we are facing and something that we want to achieve in our application.

1. We are able to apply the theme but on submenus theme does not get applied also it does not get applied for hover and selected state of the menu. We have tried few approaches and still no success?

2. We want user to select theme once and once they have selected the theme we will save their choice and will open the app in the previously saved theme. We are not able to implement it currently.

We are using NoXAML approach hence we have added necessary files .XAML file in the resource dictionary in App.XAML. 

Kindly help us design our application with above 2 points as we are struck in this from few days.

Things we have tried to apply theme colors on hover, for selected menu and for dropdown icon in case of submenu.

<Style x:Key="ItemPreviewStyle" TargetType="telerik:RadNavigationViewItem" BasedOn="{StaticResource RadNavigationViewItemStyle }">
            <Setter Property="IconTemplate">
                <Setter.Value>
                    <DataTemplate>
                        <telerik:RadGlyph Glyph="{Binding Converter={StaticResource StringToGlyphConverter}}"
                                          Foreground="{Binding Foreground, RelativeSource={RelativeSource AncestorType=telerik:RadNavigationViewItem}}"
                                          HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </DataTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ItemBaseStyle" TargetType="telerik:RadNavigationViewItem" BasedOn="{StaticResource ItemPreviewStyle}">
            <Setter Property="Content" Value="{Binding Title}"/>
            <Setter Property="ItemsSource" Value="{Binding SubItems}"/>
            <Setter Property="Foreground" Value="{theme:VoyagerThemeResource Resource=Foreground}" />
            <Setter Property="Background" Value="Transparent" />
            <Setter Property="FocusVisualStyle" Value="{theme:VoyagerThemeResource Resource=AccentBrush}" />
            <Setter Property="Icon" Value="{Binding Icon}" />
            <Setter Property="IconVisibility" Value="{Binding Icon, Converter={StaticResource NullToVisibilityConverter}}"/>
        </Style>

Because of this changes submenus text get the background color but still no affect on hover, selected state and proper theme color of menu. let us know if we are doing anything wrong. Also help us achieving the second case.

Martin Ivanov
Telerik team
 answered on 19 Jan 2021
1 answer
149 views

I have added Radial menu as RadialContextMenu in RadGridView.

I want to get the selectedRow DataContext on item click. 

I tried to set RadRadialMenu.DataContext as Gridview Selected Item, but as ItemClick datacontext is null. Default datacontext of Radial menu is UserControl's DataContext. which need to be replaced with GridView Selected Row.

 

I have one option to Bind DataContex of individual RadRadialMenuItem with GridView selectedItem, but It seems not proper way.

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Jan 2021
4 answers
645 views
In WPF, I used a list to bind to itemsource fot ploting a line for Lineseries. But I don't know how to bind it to plot multi lines. Use list<list<>> ?
I have to plot 500 lines on one line chart. Please help me ~
shaswat
Top achievements
Rank 1
 answered on 19 Jan 2021
2 answers
168 views

I have a GridView with ChildTableDefinitions which adds a column with pluses to expand and see child gridviews. How do I put a header title on that column?

Ilya
Top achievements
Rank 1
 answered on 18 Jan 2021
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?