Telerik Forums
UI for WPF Forum
1 answer
119 views

Hello,

In one of our project we used a WPF diagram control developed by me. It works well, but some features like printing, pagination, ... are missing so we plan to use RadDiagram control. I start a project for the migration (Q2 2015) and I have some questions. You can find attached my control based on a WPF canvas. We use MVVM in our software.

  • Is it possible to have a margin between a shape and the selection ? I try set the margin property but it doesn't work. The shape is moved vertically and horizontally but is too big even if I reduce the geometry, I didn't found Stretch property for the geometry.
    <Style TargetType="telerik:RadDiagramShape" x:Key="ProcedureStepFinalStyle">
                <Setter Property="IsEditable" Value="False" />
                <Setter Property="Position" Value="{Binding Position, Mode=TwoWay}" />
                <Setter Property="RotationAngle" Value="{Binding RotationAngle}" />
                <Setter Property="IsResizingEnabled" Value="False" />
                <Setter Property="IsRotationEnabled" Value="False" />
                <Setter Property="Geometry" Value="M 0,24 A 24,24 45 0 1 24,0 L 132,0 A 24,24 45 0 1 156,24 A 24,24 45 0 1 132,48 L 24,48 A 24,24 45 0 1 0,24" />
                <Setter Property="BorderBrush" Value="#FF6b9100" />
                <Setter Property="Height" Value="48" />
                <Setter Property="Width" Value="168" />
                <Setter Property="AllowCut" Value="False" />
                <Setter Property="Padding" Value="5" />
                <Setter Property="Margin" Value="5" />
                <Setter Property="Background">
                    <Setter.Value>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                            <GradientStopCollection>
                                <GradientStop Offset="0" Color="White" />
                                <GradientStop Offset="1" Color="#FFbdfc02" />
                            </GradientStopCollection>
                        </LinearGradientBrush>
                    </Setter.Value>
                </Setter>
                <Setter Property="ContentTemplate">
                    <Setter.Value>
                        <DataTemplate>
                            <TextBlock Text="{localization:LocText Courbon.Languages:Language:PageGraphic_End}" VerticalAlignment="Center" HorizontalAlignment="Center" FontWeight="Bold" />
                        </DataTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
  • How to only authorize connection start from bottom shape to the top of another shape ?
  • How to set connection stroked when and item is moving or when a connection is being drawn (like in I2.png attached picture) ?
  • How to have the same connection logic thank in the pictures ?
    I have a look to IRouter interface, but I think it doesn't help... We cannot have arc on intersection.

Thanks in advance for our reply.

Best regards,
Geoffrey


Petar Mladenov
Telerik team
 answered on 31 Aug 2015
26 answers
251 views
Hello,

I'm trying to automate functional testing of a .NET 4, WPF client using the Telerik Radview control package.

I can record CodedUI tests just fine on the client. During playback, text entry halts on a text fields and the test times out and fails.
(Other WPF controls accept text just fine in the client during playback)

The text field is seen by the test tool because I used: "uIPART_ExtendedTextBoxEdit.DrawHighlight();" and can see the field highlighted.

Is there a patch that can be issued to allow this issue to be resolved?

Thanks,

Dan

Ivan Ivanov
Telerik team
 answered on 31 Aug 2015
1 answer
135 views

Hello, 

I create a datatemplate for PointTemplate of LineSeries, each point will be displayed as a small image, it works and show the image.

The problem is if there are a lot of points in a small area, all images are overlapped, see image1.

Is it possible to hide the images when the points are too close, and show the image when zoom + and the points have a enough space to show (see image2)

Thanks

Petar Marchev
Telerik team
 answered on 31 Aug 2015
3 answers
85 views

I would like to make the OK and cancel buttons in the tool settings panel visible when using RadImageEditorUI. I found this thread: http://www.telerik.com/forums/how-to-make-settings-buttion-visible which explains that the buttons do exist but are collapsed by the default template.

So I've tried adding the style from that thread (with the visibility removed) to the resources of my Window containing the RadImageEditorUI. However this modified style does not seem to actually get applied. Instead the default style with the collapsed button is used.

 How can I make sure that this style is used or otherwise make these buttons visible?

Masha
Telerik team
 answered on 31 Aug 2015
1 answer
248 views

Hi Team,

Can you please let me know the Max number of rows and Column RadSpreadsheet control can support?

I have tried to open an excel with 1M of records and got an outofmemoryexception.

Is there any workaround for this?

also I have noticed pasting is taking a lot of time? Is there any way to make it faster?

Thanks,

Rajib

Boby
Telerik team
 answered on 31 Aug 2015
3 answers
782 views
I would like for the RadGridView to display something like "No data to display" when there are no bound items to the RadGridView. I found some code online which solves the problem, however I would like to define it application wide.

I attempted to subclass RadGridView which compiles fine. However, whenever I use this subclass I get a compiler error, "

Cannot set Name attribute value {0} on element {1}. {1} is under the scope of element {2}, which already had a name registered when it was defined in another scope."


Which I guess is a known limitation of WPF. I would just like to specify the no row template once since I have an application with 30+ instances of RadGridView.

The code I found is from here, and is listed below:

    <interactivity:Interaction.Behaviors>
    <local:EmptyDataTemplateBehavior>
        <local:EmptyDataTemplateBehavior.EmptyDataTemplate>
            <DataTemplate>
                <TextBlock Text="No data to display" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="{Binding MessageVisibility}" />
            </DataTemplate>
        </local:EmptyDataTemplateBehavior.EmptyDataTemplate>
    </local:EmptyDataTemplateBehavior>
</interactivity:Interaction.Behaviors>
Brian Stanek
Top achievements
Rank 2
 answered on 28 Aug 2015
1 answer
99 views
Is it possible to have multiple HierarchyColumnIndex ? In my case I have 3 IDs for a product. The 2nd and 3rd IDs are sub-states of the 1st ID. I would like to be able to unfold the first ID. Then I see all the ones with the second ID in the second column. Then unfold those... So basically be able to programaticaly set which column will be the HierarchyColumn depending on the row. Is this possible?
Dimitrina
Telerik team
 answered on 28 Aug 2015
1 answer
111 views

I'm not able to use the ui for wpf for recorded codedui tests  -  I create a new Telerik Test Project but now I want to record using the telerik controls

 

is this possible to record tests via the Telerik Test Project?

Dimitrina
Telerik team
 answered on 28 Aug 2015
1 answer
181 views

Hello,

 I need Telerik.Windows.Controls.Docking.dll with version 2013.3.1316.45. Can I get NUGET package  for  this version.

Thanks

Ajay

Georgi
Telerik team
 answered on 28 Aug 2015
3 answers
109 views

Hello

how is it possible to achieve different background / display colors for one appointment with multiple resources?
For example one appointment for one doctor but also for physiotherapy, OP and surgery at the same time. We now see the one appointment in all these resource columns, which is correct. We would also like this one appointment to have all different background colors pertaining to the individual resources (in properties for the resources defined).

Sincerely,
A.Kasar

Rosi
Telerik team
 answered on 28 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?