I have a custom class that I'm adding to a VisualizationLayer. I'm using the following template to display it:
<DataTemplate x:Key="PolygonTemplate"> <telerik:MapPolygonView Points="{Binding Points}" ShapeFill="{Binding ShapeFill}" /></DataTemplate>
Works great. But I don't know how to get the ZIndex working. I tried adding my own ZIndex (that calls PropertyChanged), inheriting from ExtendedDataProvider, putting Canvas.ZIndex in the template but the z-order of the item never changes. If I use a normal PolygonData with the default template, the z-order updates.

Hello,
when I selected the RadPane on the right,the pinbutton has missed.When I selected another control ,the pinbutton display.
How to change the pinbutton to solve the problem?
Regards,
Guo
In the recent project, I want to control the scrollViewer on the diagram and set the offset of the scrollViewer. I looked at the API and found that the offset property is not public. What should I do?
Any help would be appreciated.

Hi,
I noticed that some commands get executed/ changes saved when selecting a different tool.
For instance:
1. Seleting the tool to insert text
2. Selecting forms
The text is placed inside the image. This is pretty annoying if the user accidently clicked on it. Is there a way to persist this changes only when a user has clicked a custom button?
Best regards

Hello,
We have a RadGridView that has 150,000 rows (and so is using the default UI virtualization) as well as default column filters available on each column. When we check one of the "distinct values" checkboxes on the Name column, the resulting grid displays only entries for the selected name as expected -- however, it doesn't display all the results that were in the 150,000 rows. It's hard to tell how it is deciding where to cut off the results, but since each row has a time stamp we can see that it takes the top rows up until a certain point and then stops. So for one case, 69 rows were displayed when there were 624 rows in total for that selected name.
I've searched around quite a bit but couldn't find this exact scenario addressed -- do you have ideas/suggestions for this problem?
Thanks,
Chris

Hi,
I used a scheduleview with custom appointment and style.
I modified appointments in my viewmodel programmatically when I received message from Azure service bus. The problem is that the UI isn't updated. I have to scroll down and up to see changes in UI.
I tried this solution : https://www.telerik.com/forums/changing-appointment-start-end-not-reflected-on-ui but it didn't work.
Thanks for your advice
Véronique
Here's my code :
public class TimeSlot : Appointment
{
....
public void UpdateTimeSlot(TimeSlot source)
{
CopyFrom(source);
_truckId = source.TruckId;
TimeMarker = TimeSlotMarkerCollection.GetTimeSlotMarker(source.CurrentStatus);
OnPropertyChanged();
}
}
In my viewmodel :
public class DispatchBoardViewModel : ObservableObject
{
private void _listenerMessageService_MessageReceived(object sender, EventArgs e)
{
var dispatchList= ((MessageEventArgs)e)?.Message;
dispatchList?.TimeSlots.ForEach(d =>
{
var displayedTimeSlot = TimeSlots.FirstOrDefault(ts =>[where_clause])
);
displayedTimeSlot?.UpdateTimeSlot(timeSlot);
});
}

Hi,
Is there any way to change how the tabs are styled so that it's more obvious which tab is selected? What I'm looking for is for the active tab to 'hug' the tab content below it. Chrome and Visual Studio do something similar.
Please see the attached screenshots.

Hello,
I am using the RadGridView for displaying our list of data, but this data is getting bigger and bigger so to improve performance we added paging to our Api
(Data to the gridview is populated through the API not directly from the database).
My Concern is that we I apply paging on the API , I will lose the built in sorting and filtering in the grid as It will only sort the return data.
Is there a way to apply filtering and sorting as calls to the API and I will handle the request on my API.
any help would be appreciated.
Goodmorning everyone
I have a really difficult problem to solve for myself, as well as a series of questions to cover a series of doubts.
Accordingly:
app wpf for windows 10 developed with visual studio 2017
.Net Framework 4.5.2
important:
the anomaly I am about to describe does not occur in the development environment, but only with .exe compiled.(debug or release)
my app reads several bytes per second via UTP coming from a microprocessor.
For the reception I created a separate thread.
to view the data received in the xlm graphical interface I followed instructions inside the reception thread as, for example:
Dispatcher.BeginInvoke ((Action) (() => lblPercWorkPhaseInProcessDone.Content = percTotalDone.ToString () + "%"));
where lblPercWorkPhaseInProcessDone is a label.
at each microprocessor event, a table SQL is also stored where I store the historical events of the industrial plant.
therefore, always at each event (data received by the microprocessor in the separate thread) refresh (every about a second) the datagrid containing the events table, with the following instruction:
Dispatcher.BeginInvoke ((Action) (() => RadGridViewWorkPhaseInProgressOnDashBoard.ItemsSource = workPhaseInProgressService.GetByWorkPhaseForOrderId (workPhaseForOrderIdInProcess)));
where
GetByWorkPhaseForOrderId is a method of its class with entity framework:
public List <WorkPhaseInProgress> GetByWorkPhaseForOrderId (int id)
{
try {
using (WIPDBContext db = new WIPDBContext ())
{
var Attachment = db.WorkPhasesInProgress.Where (x => x.WorkPhaseForOrderId == id) .OrderByDescending (x => x.WorkPhaseInProgressId) .ToList ();
return Attachment;
}
}
catch (Exception x)
{
throw x;
}
}
after about 5 or 6 hours of operation the program comes out generating an error in the windows log:
EventData
Application: WIP.exe Framework version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception information: System.OutOfMemoryException in WIP.Service.WorkPhaseInProgressService.GetByWorkPhaseForOrderId (Int32) in WIP.MainWindow. <RefreshGridWorkInProgress> b__188_0 () in System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32 ) in System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) in System.Windows.Threading.DispatcherOperation.InvokeImpl () in System.Windows.Threading.DispatcherOperation .InvokeInSecurityContext (System.Object) in System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System .Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) in MS.Internal.CulturePreservingEx ecutionContext.Run (MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) in System.Windows.Threading.DispatcherOperation.Invoke () in System.Windows.Threading.Dispatcher.ProcessQueue () in System.Windows.Threading .Dispatcher.WndProcHook (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32.HwndWrapper.WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) in MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object) in System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate, System.Object, Int32) in System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object, System.Delegate, System.Object, Int32, System.Delegate) in System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) in MS.Win32.HwndSubclass.SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr) in MS.Win32.UnsafeNativeMethods.DispatchMessage (System.Windows.Interop.M SG ByRef) in System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame) in System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame) in System.Windows.Application.RunDispatcher ( System.Object) in System.Windows.Application.RunInternal (System.Windows.Window) in System.Windows.Application.Run (System.Windows.Window) in System.Windows.Application.Run () in WIP.App.Main ()
the records in the table are about 10,000, for now, but will be destined to increase a lot.
my questions are:
It is correct to display my data from a separate thread with the method Dispatcher.BeginInvoke ?
why does not this happen in the development environment?
I hope I have explained the scenario well.
How can I solve?
thank you in advance