Telerik Forums
UI for WPF Forum
3 answers
446 views
Hi,

How I can do binding to RTB.

in C# :

richTextBox1.Document

But if i want to bind in XML How.

I did the following but not working..

<RichTextBox FontSize="22" MaxWidth ="450" MaxHeight ="600"   Name="richTextBox1"
                            Document ="{Binding FLD}" VerticalAlignment="Top"
                            Background="Brown"  FontStretch="Condensed"
                            FontFamily="KFGQPC Uthmanic Script HAFS" >
                   <RichTextBox.Resources>



Please help.

Thanks

Tanya
Telerik team
 answered on 06 Sep 2017
3 answers
673 views

I've got a GridView which has AutoGenerateColumn set to true, and I don't apply any custom styles or templates, so it's pretty basic.

I've noticed that when I want to edit a cell and clicks with the mouse the caret always end up one step to the left.

 

I've tried different EditTriggers and SelectionUnits, but it doesn't change the behaviour.

 

Not a major issue, but still a bit annoying.

Martin Ivanov
Telerik team
 answered on 06 Sep 2017
3 answers
201 views

I am facing point adsorption issues on RadCartesianChart.

When moving the mouse in chart, there is a line adsorption with the related data. But as in customer data, there are many very similiar data in one abscissa, so I want to change the line adsorption to point adsorption when mouse is moved on it, and at the same time, the point style can be changed, for example, change color and enlarge. 

Please see the png and suggest me some ideas to rectify this problem. Thanks!

Martin Ivanov
Telerik team
 answered on 06 Sep 2017
2 answers
113 views

Hi ,

 

I have enclosed multiple textboxes and drop down controls inside RadExpander control. Some of the controls have Required filed attached.

I have RadExpander collapsed by default. When i expand RadExpander ,Validation errors for these controls are not getting displayed.

But once i expand the RadExpander control and go to a different tab and come back i see the validation errors. I tried to call a command explicitly on expanding the RadExpander control , validations are firing but messages are displayed against the controls. 

 

Let me know if any faced this kind of issue and solution for this.

 

Regards,

Prasad.

Prasad
Top achievements
Rank 1
 answered on 05 Sep 2017
1 answer
81 views

Dear Telerik Admin Team

I would like to style  RibbonView with Blend for VS 2013.

I create new window application project and add a RibbonView, but once I tried to edit template, I found that edit copy command was not enabled. 

So is there any other way to edit copy template for RibbonView?

Vladimir Stoyanov
Telerik team
 answered on 05 Sep 2017
0 answers
63 views

Hello,

Upon application launch I want to display all my RadPaneGroup like in the attached figure. 

Each group contains only one RadPane. 

I want that each RadPane will have Height\Width according to the user control it is holding. 

Is it possible ?

Thank you,

Zvika 

Zvi
Top achievements
Rank 1
 asked on 04 Sep 2017
4 answers
228 views

Hi,

I have a problem to define an animated texture to my RadDiagramConnection. If i define the texture inside style on my window, that's work but if i define texture in Resources, texture doesn't load.

This is my files :

Controls
|_ Entity
|   |_ Resources.xaml
|_ View
|    |_ Editor.xaml
|_ img
    |_ water.gif

 

This is my code who's working in Editor.xaml :

<telerik:RadDiagram x:Name="diagram2" Grid.Column="1" Grid.Row="1">
    <controls1:UniqEntity x:Name="container01" Position="150,150" />
    <telerik:RadDiagramContainerShape x:Name="container02" Position="500,150" />
    <telerik:RadDiagramConnection x:Name="connection01" Source="{Binding ElementName=container01}" Target="{Binding ElementName=container02}" Loaded="Connection01_OnLoaded" StrokeThickness="20">
        <Setter Property="Stroke">
            <Setter.Value>
                <VisualBrush>
                    <VisualBrush.Visual>
                        <Image gif:ImageBehavior.AnimatedSource="../img/water.gif" />
                    </VisualBrush.Visual>
                </VisualBrush>
            </Setter.Value>
        </Setter>
    </telerik:RadDiagramConnection>
</telerik:RadDiagram>

 

but if i define the style in Resources.xaml dictionnaries, the texture doesn't load :

    <Style x:Key="RadDiagramConnectionStyle" TargetType="telerik:RadDiagramConnection" />
    <Style BasedOn="{StaticResource RadDiagramConnectionStyle}" TargetType="telerik:RadDiagramConnection">
        <Setter Property="StrokeThickness" Value="10" />
        <Setter Property="Stroke">
            <Setter.Value>
                <VisualBrush>
                    <VisualBrush.Visual>
                        <Image gif:ImageBehavior.AnimatedSource="../../img/water.gif" />
                    </VisualBrush.Visual>
                </VisualBrush>
            </Setter.Value>
</Setter>
...

 

Can you help me please ?

Thanks !

Nicolas

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Sep 2017
5 answers
171 views

How can I change the foreground color of the TimeSpanPickerComponent?

I've tried customizing my own RadTimeSpanPicker but unable to go pass the ItemsControl in the XAML (which contains a list of RadTimeSpanPickerComponents, e.g. hour/min/sec/etc picker, but not exposed via copied template. 

-----------------------------------------

                        <telerik:RadDropDownButton x:Name="PART_DropDownButton"

. . .
                            >
                            <telerik:RadDropDownButton.DropDownContent>
                                 . . .
                                    <ItemsControl
                                        ItemContainerStyle="{TemplateBinding TimeSpanComponentStyle}"
                                        Foreground="Red"
                                        Padding="3,0" Focusable="False" 
                                        >
                                        <ItemsControl.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <DockPanel Background="Transparent" IsItemsHost="True"/>
                                            </ItemsPanelTemplate>
                                        </ItemsControl.ItemsPanel>
                                    </ItemsControl>
                                   

---------------------------------------

I've also tried to set the Foreground via TimeSpanComponentStyle

TimeSpanComponentStyle="{DynamicResource TimeSpanComponentStyle1}"

 

I'd appreciate some assistance. Thanks.

-Elon

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Sep 2017
1 answer
341 views

I used telerik WPF Radspreadsheet. 

I have a question that why you didn't make some excel formulas like SUBTOTAL, SUMIFS. (but in KENDO UI, they are already built in. )

 

Can I use these formulas another way in Radspreadsheet or Are you have any plans to built in those formulas in WPF Radspreadsheet? 

Tanya
Telerik team
 answered on 01 Sep 2017
1 answer
306 views

I am attempting to insert rows between existing rows within a worksheet. Each newly inserted row should have the cells within merged and have a text value.

I am basically calling the following in a loop on a very small spreadsheet (only 12 rows and 4 columns) and it is very slow. The spreadsheet originates from a call to grid.ExportToWorkbook().

 

 

worksheet.Rows.Insert(rowIndex, 1);

worksheet.Cells[rowIndex, 0].SetValueAsText("haha");

worksheet.Cells[new CellIndex(rowIndex, 0), new CellIndex(rowIndex, 3)].Merge();

 

Two issues:

Issue 1: This is very slow. Each call to insert takes a long time to execute. The entire operation takes several seconds despite only inserting 12 rows. I have suspended layout, put everything in a single undo group. The control isn't even visible at this point.

 

Issue 2: The cells do not seem to be merging correctly. Some of the values of non inserted rows are removed. If I comment out the call to merge, all values appear to be correct

 

Thanks in advance.

 

Tanya
Telerik team
 answered on 01 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?