Telerik Forums
UI for WPF Forum
5 answers
149 views

How can I create a Gauge that looks like the one in the image attached ?

I am using RadHorizontalLinearGauge in Code Behind.

I want to know:

  1. how can I have text/label above the needle indicator ? (pointer).
  2. how can I create trend ? (dotted vertical line)
  3. how can Iinsert a label/text inside the a range ("Schlecht" in the attached image) ?

 

 

 

Martin Ivanov
Telerik team
 answered on 05 Jun 2019
5 answers
314 views
I am trying to get a CountainerBindingCollection and ContainBinding to work with my hierarchical data template in wpf but no matter what namespace I use it doesn't seem to recognize it.

This link is to one of your WPF pages showing the ContainerBinding being used and it seems to be in the same namespace as the RadMenu , I have Access to the Menu but not the ContainerBindings, is this page of information wrong?

http://www.telerik.com/help/wpf/radmenu-how-to-enable-disable-menu-items.html

At the bottom of this page there is a link 'to learn more about container bindings' which leads to a page that never even mentions the containerbinding
Martin Ivanov
Telerik team
 answered on 05 Jun 2019
1 answer
131 views
I tried searching in the demos and samples and didn't see any method to plug-in that would allow saving and opening of ganttview data from an external file, such as an xml.  The only thing I found was by using MSProject importer/exporter but I want to be able to save and open on computers without that software.  Is there something you can point me to or am I on my own to devise something?  Thanks.
Vladimir Stoyanov
Telerik team
 answered on 05 Jun 2019
1 answer
115 views
Hello, can we put other controls inside the TabbedWindow?
Someting like RadNavigationView on the left?
Drago
Telerik team
 answered on 05 Jun 2019
1 answer
341 views
In a Horizontal Bar Chart I want to add a small gap between the bar series. I have managed to do it in Vertical Bar Chart like this:

01.FrameworkElementFactory borderFramework = new FrameworkElementFactory(typeof(Border));
02.            borderFramework.SetValue(Border.BackgroundProperty, brush);
03.            borderFramework.SetValue(Border.OpacityProperty, 0.7D);
04. 
05.// set a small space between the bar/columns just like chartjs does it
06.                borderFramework.SetValue(Border.BorderThicknessProperty, new Thickness(2, 0, 2, 0));
07. 
08....  new BarSeries(){
09....
10. PointTemplate = new DataTemplate()
11.                {
12.                    VisualTree = borderFramework,
13.                },
14.}

 

Martin Ivanov
Telerik team
 answered on 05 Jun 2019
9 answers
495 views
Hi,

how can I change default text of the InsertRow in RadGridView for WPF? The default text is "Click here to add new item".
I also tried to change style of this row. I inserted button to insert row but after clicking this button nothing happened...

regards
Alex
Top achievements
Rank 1
 answered on 03 Jun 2019
4 answers
119 views

We recently (a few months ago) switched from Q3 2017 to R1 2019 SP1, and traced the origin of this exception to switching to the new version. I.e. it did not have this issue with the older version.

We are using implicit styles and it only happens in the 2013 theme, at least among the themes that we use.

 

If we press Alt, and then "F" to get to the backstage, we get the following exception. After the exception everything works normally, but you have to press Alt again to get the access text to show on the backstage.

 

Object reference not set to an instance of an object.

Stack Trace:
   at Telerik.Windows.Controls.RibbonView.KeyTipService.<ShowBackstageItemsTips>b__48()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Dinko | Tech Support Engineer
Telerik team
 answered on 03 Jun 2019
5 answers
250 views
I have the following chart as seen in the attachment image.

How can I synchronize the Y Axis so that they both have 0 at the same horizontal line ?
Martin Ivanov
Telerik team
 answered on 03 Jun 2019
4 answers
267 views

This control has been working fine until today, but now it cannot be displayed for some reason.  This occurred after I added an empty WPF Custom Control Library project to the solution, which I have since removed...

 

The element "acbSelectPerson" could not be displayed because of a problem with Telerik.Controls.RadAutoCompleteBox:

InvalidCastException:

[A]Telerik.Windows.Controls.RadListBox cannot be cast to [B]Telerik.Windows.Controls.RadListBox. Type A originates from 'Telerik.Windows.Controls, Version=2016.2.613.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Telerik\UI for WPF Q2 2016\Binaries\WPF45\Telerik.Windows.Controls.dll'. Type B originates from 'Telerik.Windows.Controls, Version=2016.2.613.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadNeither' at location 'C:\Users\000105261\AppData\Local\Microsoft\VisualStudio\14.0\Designer\ShadowCache\13qxpo3c.c3s\4xmqqihl.1si\Telerik.Windows.Controls.dll'.

Stack Trace:

   at Telerik.Windows.Controls.RadAutoCompleteBox.InitializeItemsControlPart()
   at Telerik.Windows.Controls.RadAutoCompleteBox.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)

Magdalena
Top achievements
Rank 1
 answered on 03 Jun 2019
2 answers
140 views

Is there a sample of using guage as aircraft horizon that supported roll and pitch values?

Thanks

Martin Ivanov
Telerik team
 answered on 31 May 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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?