Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

RadImageEditorUI databinding doesn't work

$
0
0

Hi ya, I wrote this thread in Telerik's forum but I still don't get a response.

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

In the header 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}"

<WindowResxExtension.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">

This line is not binded:

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

<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

Thanks for your time and advices,


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>