Hi there,
I've found the examples for all the other CustomxDialog types, but I haven't found one for CustomStyleFormattingPropertiesDialog
Can somebody give a little guidance?
Hi, is there any way I can style label for DataFormDataField inside code-behind file or XAML ? For example, I have such layout and need to change label's foreground color:
<telerik:DataFormDataField x:Name="someNameHere" VerticalAlignment="Top" Grid.Row="2" Grid.Column="1" Label="{Binding Source={x:Static p:Resources.someValue}, Mode=OneTime, StringFormat='{}{0} :'}">
<telerik:RadDateTimePicker x:Name="datePicker" SelectedDate="{Binding ControlDefinition.selectedDate, StringFormat='{}{0:T} {0:d}', Mode=TwoWay}"/> </telerik:DataFormDataField>
Thanks in advance.
Hi, wisers,
I'm using RadGridView (2013.2.0724.40) under .net 4.5 to display some objects whose properties will only be known at run time. Googled and it seems ICustomTypeProvider is a good fit. I implemented it to my class and tried to set RadGridView to AutoGenerateColumns = True. But the properties dynamically added to the class are not shown in the generated grid, only those fixed properties. I tried DataGrid in .net itself and it works fine, the dynamic properties are shown in the DataGrid in column.
It seems that RadGridView itself doesn't support ICustomTypeProvider like .net DataGrid. Is there any possibility to achieve this in RadGridView?
Hi there,
We have the following scenario: a Diagram with 323 items and 470 links takes about 8 seconds to display the first time. Is this reasonable and expected? What should we be looking at to improve this load time, please?
We do intend to show the entirety of the Diagram with all items and links at once, so we can't take advantage of Virtualization.
Profiling results indicate that the largest chunk of time is indeed spent in the Diagram constructor.
A large chuck of time is spent in RadDiagram.UpdateStylesAndTemplates, which is called three times (I suspect for the setting of each of ShapeStyle, ContainerShapeStyle, and ConnectionStyle) and seems to do plenty of work each time. I think this says that we already have the GraphSource populated before we hit the definitions of those styles (this is true based on reading order of the xaml).
What other sorts of things could we look at?
Thanks,
-David

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