RadImageEditorUI doesn't accept databinding

2 posts, 0 answers
  1. Enric
    Enric avatar
    32 posts
    Member since:
    Apr 2013

    Posted 12 Sep 2013 Link to this post

    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

     

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 17 Sep 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top