Hi,
Hi i am trying to receive the MouseDown event from the local:Marker which I have created using a user control. The MouseDown event will be used to determine when to drag the marker, log other information as well as performing image change.
I have tested the local:Marker user control without using any telerik codes purely to find out if the MouseDown event works and the result was fine, the user control is able to bubble up the event.
However when i integrate the user control into the DataTemplate, I was not able to receive any form of MouseDown event. Any explaination or ways to over come this?
<telerik:RadMap x:Name="OsmMap"Center="30.335,143.183"GeoBoundsNW="85,-180"GeoBoundsSE="-85,180"ZoomLevel="10"TouchDown="OnMap_TouchDown"MouseDown="OnMap_OnMouseDown"ZoomingFinished="OnMap_ZoomingFinished"PanningFinished="OnMap_PanningFinished"ZoomChanging="OnMap_ZoomChanging"CenterChanging="OnMap_CenterChanging"NavigationVisibility="Hidden"CommandBarVisibility="Hidden"ZoomBarPresetsVisibility="Hidden"ZoomBarVisibility="Hidden"MiniMapExpanderVisibility="Hidden"MouseLocationIndicatorVisibility="Hidden" IsTextSearchCaseSensitive="True"> <telerik:VisualizationLayer x:Name="MarkerLoaded"> <telerik:VisualizationLayer.ItemTemplate> <DataTemplate> <local:Marker telerik:MapLayer.Location="{Binding Location}"Latitude="{Binding Latitude, Mode=OneWay}"Longitude="{Binding Longitude, Mode=OneWay}"CurrentState = "{Binding State, Mode=OneWay}"MouseLeftButtonDown="MapWp_MouseDown"MouseDown="MapWp_MouseDown"PreviewMouseDown="MapWp_MouseDown"TouchDown="MapWp_TouchDown"> <local:Marker/> </DataTemplate> </telerik:VisualizationLayer.ItemTemplate> </telerik:VisualizationLayer> </telerik:RadMap>
Is there the capability to generate and display slots when an appointment is started to be dragged?
I.e. I have an appointment and I want to restrict that it can only be moved within a 2 day window either direction. I can do the CanDrop/Drop in a CustomDragDropBehavior to do the actual restriction, however I'd like to visually show the user that they cannot move it 3 days.
<telerik:RadGridView.RowStyle> <Style TargetType="telerik:GridViewRow" > <EventSetter Event="Selected" Handler="pHandleItemSelected" /> </Style></telerik:RadGridView.RowStyle>Private Sub pHandleItemSelected(sender As System.Object, e As RoutedEventArgs)End Hello,
I want to align some custom shapes vertically from my diagram. I make a method called AlignShapes inside a class inheried from SerializableGraphSourceBase<Shape_VM, Link_VM>, and this method is invoked always when InternalItems Changed.
I have create my custom shape class, inherited from NodeViewModelBase and I give it 2 properties, Height and Width (double), that I binded these properties in XAML. Depend of the custom shape, height value is NaN for auto-size, then, when I get the value from custom shape, it return NaN, but the shape in the diagram has a specific height value that I do not know to get.
How can I get Shape ActualHeight?
Thank you!
Hello,
in the download page, the offline CHM documentation is marked as Telerik_UI_for_WPF_ApiReference_2015_2_728.chm.
When the file is downloaded and opened, it says that the documentation is for the previous version: Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2015.2.623.40 (2015.2.623.40)
Naturally, the new members are missing from the documentation...​
Hi,
How can I prevent selected items on treelistview child nodes?
Thank you
Hi,
How to get the number of pages of the PdfViewer document?
I am pasting (in case) a part of the code where I am importing the pdf document.
public void ShowPdfFile(RadPdfViewer rad, string documentPath){ _radPdfViewer = rad; _documentPath = documentPath; try { var readAllBytes = File.ReadAllBytes(documentPath); var memoryStream = new MemoryStream(readAllBytes); rad.DocumentSource = new PdfDocumentSource(memoryStream); } catch (Exception e) { }}Is it possible to get also the number of pages of the RadRichTextBox document?​
BR,
Marta
