We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom drag ui with localization

Thread ID:





141806 Jan 4,2019 08:33 PM UTC Jan 7,2019 10:51 AM UTC WPF 2
Tags: SfTreeGrid
Asked On January 4, 2019 08:33 PM UTC


How do maintain localization while customising the drag-and-drop ui like described here: https://help.syncfusion.com/wpf/sftreegrid/row-drag-and-drop#customize-default-drag-ui

I seem to only be able to get english.

Please advise

Best regards

Arulraj A [Syncfusion]
Replied On January 7, 2019 09:19 AM UTC

Hi Johannes, 
Thanks for using Syncfusion product. 
You can maintain the localization of Default Drag UI in treegrid by editing the default value of Syncfusion.SfGrid.WPF.de.resx file. 
Please refer the following UG links. 
And you can maintain the localization for customized drag UI by adding the new resources for your specified culture.  
<DataTemplate x:Key="dragdroptemplate"> 
    <Border x:Name="border" Width="250"   
                BorderBrush="#c8c8c8"  Height="60" 
        <Grid  VerticalAlignment="Center"  
                <RowDefinition Height="Auto"/> 
                <RowDefinition Height="Auto"/> 
                <RowDefinition Height="Auto"/> 
                <ColumnDefinition Width="Auto"/> 
                <ColumnDefinition Width="Auto"/> 
            <TextBlock Padding="12,0,0,0" Text="{x:Static Properties:Resources.DraggingRowsCount}" FontSize="14" FontFamily="Segoe UI"  
                            Foreground="#333333" FontWeight="Regular" Background="SkyBlue" /> 
            <TextBlock Text="{Binding DraggingRecords.Count}" FontSize="14"  
                            FontFamily="Segoe UI" 
                            Grid.Column="1" Margin="-100,0,0,0"/> 
            <Separator  Grid.Row="1" Height="2" BorderBrush="#c8c8c8" 
                            HorizontalAlignment="Stretch"  BorderThickness="1" 
                            VerticalAlignment="Stretch"  Width="250"/> 
            <TextBlock Text="{x:Static Properties:Resources.DropStatus}" 
                            Padding="12,0,0,0" Background="SkyBlue" 
                            FontFamily="Segoe UI"  
            <TextBlock Text="{Binding DragStatus, Converter={StaticResource resourceValueConverter}}"  
                            FontFamily="Segoe UI" 
Let us know whether this helps also if you need any further assistance on this. 
Arulraj A 

Replied On January 7, 2019 10:51 AM UTC

Thank you very much. This explains it fine.

Thank you for a great product.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon