Telerik Forums
UI for WPF Forum
5 answers
279 views
Hello everybody,

I try to synchronize the scroll into the gantView (the scroll into the panel which show event) with an other scrollViewer outside the ganttView.
the WrapPanel into scroll Viewer have the same size that event panel in the gantt, ant this panel contains month with same size thant month in the gantView (same number of month in my panel and month in the visible range in the gantt view, month represent by a rectangle and other thing ). The goal is to move scroll in one according to the other, to have the same months showing in the gantView and my panel.
fo this, I thinking suscribe to the event ScrollChanged in the two controls and work with HorizontalOffset in order to synchronize the two scroll, but I don't find this event in the ganttView.

Do you think what I try it's possible ?

Thanks,

Julien
Andrea
Top achievements
Rank 1
 answered on 07 Nov 2016
32 answers
794 views

Hi folks, I appreciate the help!

We used to use VisiBlox and there was a very helpful method called GetRenderPosition() and GetRealPosition() I think it was. 
This is helpful for converting a value such as 1000 (Hertz) into a screen position such as 123.456 (pixels) and back again.

Say I need to adjust a ScatterPointSeries by 10 pixels. I can't do this because there is no way to translate 10 pixels into X units on the HorizontalAxis. 

Specifically, this is impossible to do because I amusing a LogarithmicAxis for the X-Axis. So on the left side of the graph, 10 pixels on the screen corresponds to about 125Hz on my graph. On the right side of the graph, 10 pixels on screen corresponds to more like 2000Hz. 

Anyways, I found a method called RadChart.DefaultView.ChartArea.AxisX.ConvertPhysicalUnitsToData()
This looks like what I need, except for these problems:
-I am using RadCartesianChart not RadChart
-I tried hacking it together with a temporary RadChart variable and noticed that the AxisX property has no IsLogarithmic. 

So is there a method to do this? If not, that is incredibly disappointing. The VisiBlox method was so easy and helpful. 

Right now I have typed in dozens of data points and their approximate screen positions using screenshots of my pc, and then typing all these values into a Ti-83 graphing calculator and finding the best fit, and converting that function into c# code. It works, but now that the graph size has changed due to changes in my program, it is useless and there is no way to fix it again and make it future-proof. 

tl;dr - How, with RadCartesianChart, do I convert from a graph value to screen position and back again?

Nathanial
Top achievements
Rank 1
 answered on 07 Nov 2016
2 answers
142 views

InvalidOperationException: A style intended for type 'Telerik_Windows_Controls_RadTileViewItem_0_123599943' cannot be applied to type 'ContentPresenter'.

What is this supposed to mean?  This appears to pop up randomly, and now I cannot get it to go away..

Tyler
Top achievements
Rank 1
 answered on 07 Nov 2016
2 answers
152 views

Hello!

At the Reorder-Drag&Drop there are 3 options to reorder the Tasks: "Before", "Inside" and "After". Is there a possibility to disable "Inside" and "After", so the user only has the option to reorder "Before"?

 

kind regards

Ludwig

Ludwig
Top achievements
Rank 1
 answered on 07 Nov 2016
1 answer
267 views

Hi, 

Is it possible when using the standard DateTimePicker to dynamically change the StartTime/EndTime properties of the Time-part of the control?

I would like the user to be able to click f.ex. 9:00 in the TimePicker, after which this same Time-picker part displays 9:05, 9:10, 9:15, 9:20... until 10:00

(a bit the same like for the Date-picker part - where you can choose the year, then month, then date ....)

Is that something that can be done?

 

Stefan Nenchev
Telerik team
 answered on 07 Nov 2016
0 answers
88 views
How can I save edited data when I click Ok button of Appointment and Edit Recurrence pop up screen
Rafnas
Top achievements
Rank 1
 asked on 07 Nov 2016
7 answers
812 views

Hi,

We would like our users to perform "undo/redo" in the GridView (at the very least, "undo") as in Excel where users can "undo/redo" changes in each cell.

Could you please help in providing an example of how to accomplish this scenario?

We are using MVVM with observable properties and observable collections.

 

Kind regards

 

Stefan
Telerik team
 answered on 07 Nov 2016
1 answer
281 views

I need to display grid filters with both an image and descriptive text.  I've searched the forum and found numerous examples for adding the image, but none with both image and text.

Is this possible?  if not, can I reduce the width of the filter dropdown to avoid the "ugly" whitespace in my filter list?  There is really no need to include the "Apply" and "Clear" filter buttons as the check boxes auto apply the filters when checked or unchecked.

Here is what I have so far:

 

    public class ImageFilterColumn : GridViewImageColumn
    {
        protected override Func<object, object> FilteringDisplayFunc => CategoryToFilterImage;

        public static object CategoryToFilterImage(object value)
        {
            var rtn = new object();
            var cat = (LogCategory) value;
            var image = new Image() {Source = new BitmapImage(cat.ToSmallImageUri())};
            return image;
        }
    }

xaml:

 <telerik:RadGridView.Columns>
 <local:ImageFilterColumn ShowFieldFilters="False" Header ="" DataMemberBinding="{Binding cat, Converter={StaticResource CategoryImageConverter}}"/>

 

Yoan
Telerik team
 answered on 07 Nov 2016
4 answers
118 views
Hello. If I set a custom cursor to a RadWindow, when I hover the pointer over the title area of the window, the custom cursor isn;t displayed, instead the standard arrow cursor is shown.

Is there a way to have the custom cursor displayed in the title area as well?
Nasko
Telerik team
 answered on 07 Nov 2016
1 answer
317 views
I have a Radgridview with a custom cell which is editable. When the enter key is pressed it appropriately moves to the next row down. When a value is entered into the second row and the user presses the enter key it does not move to the next row. Is there a way to always have the cursor move to the next cell down when the enter key is pressed and not just once?
Ivan Ivanov
Telerik team
 answered on 04 Nov 2016
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?