This is a migrated thread and some comments may be shown as answers.

RadImageEditorUI doesn't accept databinding

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Enric
Top achievements
Rank 1
Enric asked on 12 Sep 2013, 08:10 AM

Hi all of you,

I'm using this control under trial license. I'm trying to do a very simple binding but it doesn't work at all:

xaml header:

Here you can see the reference to one of my RESX files (I've got one for English and another one for Spanish where every key is named alike.
Names of resources files:

MasterGIT.resx and MasterGIT.en.resx

This line uses one RESX under criteria language:

     ResxExtension.DefaultResxName="GIT_CuadroMando.MasterGIT" Language="{UICulture}"

 

 

<Window

        ResxExtension.DefaultResxName="GIT_CuadroMando.MasterGIT" Language="{UICulture}"

    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="GestorDocumental"

 

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Loaded="Window_Loaded"

    xmlns:local="clr-namespace:GIT_CuadroMando"

    xmlns:commands="clr-namespace:Telerik.Windows.Media.Imaging.ImageEditorCommands.RoutedCommands;assembly=Telerik.Windows.Controls.ImageEditor"       

    xmlns:tools="clr-namespace:Telerik.Windows.Media.Imaging.Tools;assembly=Telerik.Windows.Controls.ImageEditor"

    Title="{Resx TitleGestorDocumental}" Height="701" Width="1000" ResizeMode="CanResize" WindowStyle="ToolWindow">

 

 

<telerik:RadImageEditorUI x:Name="BodyWorkAndPaintingTool" Grid.ColumnSpan="4" Margin="10,49,33,10" Grid.Row="1" Grid.RowSpan="4">

          <telerik:RadImageEditorUI.ImageToolsSections>

              <telerik:ImageToolsSection Header="{Resx Disenador_Blur}"  >

 

                  <telerik:ImageToolItem ImageKey="Resize" Text="Resize" Command="commands:ImageEditorRoutedCommands.ExecuteTool">

                      <telerik:ImageToolItem.CommandParameter>

                          <tools:ResizeTool x:Name="resizeTool"/>

                      </telerik:ImageToolItem.CommandParameter>

                  </telerik:ImageToolItem>

 

                  <telerik:ImageToolItem ImageKey="Resize" Text="Canvas resize" Command="commands:ImageEditorRoutedCommands.ExecuteTool">

                      <telerik:ImageToolItem.CommandParameter>

                          <tools:CanvasResizeTool/>

                      </telerik:ImageToolItem.CommandParameter>

                  </telerik:ImageToolItem>

 

 
code-behind:

Private Sub Window_Loaded(sender As Object, e As RoutedEventArgs)

 

        CultureManager.UICulture = Thread.CurrentThread.CurrentCulture

'        Thread.CurrentThread.CurrentUICulture = New CultureInfo("es")

 

    End Sub

 

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 17 Sep 2013, 07:34 AM
Hi,

I suggest we continue the conversation in the other thread you started on the topic here. Let me know if I misunderstood you and the explained issue is a different one.

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Enric
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or