Hello,
Can you point me to an example of a custom RadDiagramShape with connectors. I've seen this example but I don't see the connectors.
http://docs.telerik.com/devtools/wpf/controls/raddiagram/howto/create-custom-shape
Thanks,
Hi,
How can I populate my RichTextBox like the Preview shown in the attachment (codeblock.jpg)?
I tried something like this:
previewTextBox.InsertCodeBlock(codeTextBox.Text, settings);
but the result is not the same (mypreview.jpg)
thank you
- Run the application
- Tab around the controls
- Notice how the buttons change visual status when they receive and lose keyboard focus.
- Notice how the menu turns orange the first time it receives keyboard focus and then never changes visual state again as it receives/loses focus.
I have tried resetting background color in the LostKeyboardFocus Event on the RadMenu and its topmost RadMenuItem but that doesn't work.
How can I get a RadMenu to correctly display visual feedback as it receives/loses keyboard focus?
Hello!
I'm using "UI for WPF R2 2017".
If, in the RadMaskedTextInput, I hit the "Return" button the control expands onto a second line, and of course I want to prohibit this.
Please see the Before and After jpegs.
Thanks,
Mark
I've seen this post: http://www.telerik.com/forums/hotspot-for-pushpin-image-w-info-bubble but it doesn't quite meet my needs. The example uses InformationLayer but I want to use Visualization Layers - do hotspots work the same in both layer types?
I'm trying display a collection of images on a map (on a VisualizationLayer). I also want to display a "label" for each image, and the label has various properties I can set (font size, color, offset, offset, enclosed by border, with line from border to image). The attached image gives an idea of what I'm trying to do.
I've tried binding the hotspot offsets to values in my viewmodel, but it seems like they get ignored, but it works if I put constant values for the hotspot in the xaml
e.g. this works:
<
telerik:MapLayer.HotSpot
>
<
telerik:HotSpot
x:Name
=
"hotSpot"
XUnits
=
"Pixels"
YUnits
=
"Pixels"
X
=
"200"
Y
=
"200"
ElementName
=
"LabelText"
/>
</
telerik:MapLayer.HotSpot
>
but this doesn't:
<
telerik:MapLayer.HotSpot
>
<
telerik:HotSpot
x:Name
=
"hotSpot"
XUnits
=
"Pixels"
YUnits
=
"Pixels"
X
=
"{Binding LabelOffsetX}"
Y
=
"{Binding LabelOffsetY}"
ElementName
=
"LabelText"
/>
</
telerik:MapLayer.HotSpot
>
I need a way to dynamically change the offsets for individual items. What am I doing something wrong? I've attached a sample app to show this problem.
Thanks,
Pete
Is there a way to get the selected item when performing a 'right click" in the Timeline? I have set up a context menu for the elements in my timeline, but
I have no way of getting to the object that was right-clicked. If you left click first and then right-click, I am able to get the selected item, but there appears
to be no method via "right click".
Paul
We are in the process of upgrading the version of Telerik we are using in our app. We are currently using 2013.3.1316. We have encapsulated RadMaskedTextBox in a control that allows us to create a masked field. The creation is done in code, but a simple case example in xaml would look like
<telerik:RadMaskedTextBox Mask="(000) 000-0000" MaskType="Standard" Placeholder=" " SelectionOnFocus="SelectAll" />
We are upgrading to 2017.3.1018. Using the RadMaskedTextInput I've tried reproducing the above as follows:
<telerik:RadMaskedTextInput Mask="(###) ###-####" Placeholder=" " SelectionOnFocus="SelectAll" TextMode="MaskedText" SectionsNavigationMode="None" IsLastPositionEditable="False" InputBehavior="Insert" />
With the RadMaskedTextBox implementation, we were accustomed to seeing the following behaviors.
- Tab in to the empty field
- Type "1234567890"
- The value in the field appears as "(123) 456-7890"
- Tab out of the field and back into the field.
- Upon entering the field, the entire content of the field is selected
- Type "1"
- The value in the field appears as "(1 ) - "
- Continute typing "234567890"
- The value in the field appears as "(123) 456-7890"
With the RadMaskedTextInput, we are seeing the following behaviors:
Issue 1:
- Tab in to the empty field
- Type "1234"
- We'd expect the value in the field to appear as "(123) 4 - "
- Instead, the value in the field appears as "(123) - "
- Also, note, when you type the 3, the cursor is positioned to the right of the 3 and when you type 4, the cursor moves one position to the right.
- Type "567890"
- The value in the field appears as "(123) 567-890 "
--This is unexpected. If the phone number the user is entering is "(123) 456-7890", the 4 is not showing up.
--Note: If the placeholder is "_" instead of " ", this doesn't happen.
Issue 2:
- Tab in to the empty field
- Type "123 4567890" (Notice the space to get past the issue described above"
- The value in the field appears as "(123) 456-7890"
- Tab out of the field and back into the field.
- Upon entering the field, the entire content of the field is selected
- Type "1"
-- I'm expecting the value of the field to be "(1 ) - "
-- Instead the value is "(123) 456-7890", though the selection highlight has changed so that the "1" is no longer highlighted.
- Type "2"
- Now the field value is what I would expect - "(12 ) - ", but it should have cleared out on the first keystroke.
Issue 3:
- Tab in to the empty field
- Type "123 4567890" (Notice the space to get past the issue described above"
- The value in the field appears as "(123) 456-7890"
- Tab out of the field and back into the field.
- Upon entering the field, the entire content of the field is selected
- Type "9"
-- I'm expecting the value of the field to be "(9 ) - "
-- Instead the value is "(923) 456-7890", though the selection highlight has changed so that the "1" is no longer highlighted.
- Type "8"
- Unlike with Issue 2 above, the remaining text doesn't clear out. Instead the following occurs:
- The value appears as "(982)3456-7890"
- The selection highlight is removed.
-At ths point, if I clear the field the value appears as "( )3 - "
-That "3" is stuck and there is no way to clear it.
Hello,
in our project, we have multiple RadPanes in a RadDocking control.
One of those RadPanes should not be draggable and the user is not allowed to drop other panes on this one.
Setting the IsDragDisabled property to true doesn't seem to change the behaviour, only in combination with PaneHeaderVisibility = Visibility.Collapsed.
But setting CanFloat to true results in the desired behaviour.
However, I cannot get the second part (about not allowing to drop other panes on this one) working.
I tried using the AllowDrop property, but setting it to true or false doesn't seem to make any difference.
Is there anything else to consider when using the AllowDrop property?
As a workaround, I tried using the PreviewDrop event of the docking control and the RadPaneGroup but neither seem to fire when a RadPane is dropped. I only get the PaneStateChanged event but as far as I know, this one does not contain any information on the drop target.
Any help would be appreciated.
Best regards.
Downloaded latest Telerik WPF release ZIP file with NuGet packages on host with no prior Telerik.
A minimal RadPdfViewer program with links to NuGet packages shows no image.
Another Win 10 host with Telerik installed from MSI package and Telerik RadPdfViewer dragged from Toolbox works OK.
What is the possible cause?
Is there a missing License file?