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.
Unfortunately, activation email could not send to your email. Please try again.

VirtualizingCellsControl issue

Thread ID:

Created:

Updated:

Platform:

Replies:

119237 May 27,2015 09:36 PM Sep 23,2015 12:19 AM WPF 9
loading
Tags: DockingManager
Diego Fernando Urabayen
Asked On May 27, 2015 09:36 PM

It is not possible to select VirtualizingCellsControl in the TargetType because only appear VirtualizingCellsControlChildFrame and the Property Background is not accepted.

         <sf:ChromelessWindow x:Class="Cronometrarg.MainWindow"

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

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

        xmlns:context="clr-namespace:Util.Context;assembly=Util"

        xmlns:business="clr-namespace:Business.Collections;assembly=Business" 

        xmlns:sf="http://schemas.syncfusion.com/wpf"

        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 

        xmlns:enum="clr-namespace:Model.Enum;assembly=Model"

        xmlns:sys="clr-namespace:System;assembly=mscorlib"

        Height="800" Width="1000" 

        Icon="/Cronometrarg;component/Images/IconoCronometrarg.ico"

        WindowState="Maximized" 

        Loaded="Window_Loaded"

        Closing="Window_Closing"

        sf:LayoutControl.SetMetroMode="True">

...

     <Style x:Key="myStyle" TargetType="sf:VirtualizingCellsControlChildFrame">

            <Style.Triggers>
                  <DataTrigger Binding="{Binding ReaderStatus}" Value="Disable">
                         <Setter Property="Background" Value="Green"/>
                  </DataTrigger>
             </Style.Triggers>

     </Style>


...


Jai Ganesh S [Syncfusion]
Replied On May 28, 2015 09:34 AM

Hi Diego,


Thank you for using Syncfusion products.


We have checked the reported issue with our sample but we are unable to reproduce the issue and it works fine in our end. Could you please check the name space and dlls are added properly in your project? We have also attached the sample and video for your reference,


VideoLink: http://www.syncfusion.com/downloads/support/directtrac/137224/VirtualizingIssue599575384.zip


Sample: http://www.syncfusion.com/downloads/support/directtrac/135129/SfGridVirtualizingCellsControlSample-198089233.zip


Please let us know if you have any other queries.


Thank you,

Jai Ganesh S


Diego Fernando Urabayen
Replied On May 28, 2015 10:26 AM

Ji Jai,

The issue is very estrange because I have a same libraries with your sample. What dll we need to reinstall??  I attach a print screen of my project.

Regards,

Diego


Attachment: Captura_de_pantalla_d0f7e1ac.zip

Diego Fernando Urabayen
Replied On May 28, 2015 02:00 PM

I send you the project with the issue.

Regards,

Diego


Attachment: VirtualizingCellsControl_c92dc82b.zip

Jai Ganesh S [Syncfusion]
Replied On May 29, 2015 11:24 AM

Hi Diego,


Sorry for the inconvenience caused.


We have analyzed your query with your sample. In that you have used Grid.WPF and SfGrid.WPF dlls. These tow dlls having VirtualzingCellsControl and these controls namespace added in xmlns: sf="http://schemas.syncfusion.com/wpf". Hence the VirtualizingCellsControl is not displayed in intellisense. So could you please remove the unused dlls from the project to resolve this issue?


If you would like to use both the controls, you can refer the VirtualizingCellsControl namespace from different schema. Please refer the code snippet below,


Code Snippet [XAML]:


xmlns:SfGrid=http://schemas.syncfusion.com/wpf

xmlns:Gdc=http://schemas.syncfusion.com/wpf


Window.Resources>

        <Style x:Name="SfGridStyle" TargetType="SfGrid:VirtualizingCellsControl">

            <Setter Property="Background" Value="Red"/>

        </Style>

        <Style x:Name="GdcStyle" TargetType="Gdc:VirtualizingCellsControl">

            <Setter Property="Background" Value="Blue"

        </Style>

 </Window.Resources>



Please let us know if you need further assistance.


Thank you,

Jai Ganesh S


Diego Fernando Urabayen
Replied On May 29, 2015 03:08 PM

Hi Jay,

The foreground property is not setted in my project, but it in your sample works fine. Can you help me with this? Other properties do not work, for example, Row Height.

Thanks,

Diego


Attachment: DockingManager_1aba7f00.zip

Muthukumar A [Syncfusion]
Replied On June 1, 2015 08:46 AM

Hi Diego,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Please let us know if you have any questions.

Regards,
Muthukumar A

Jai Ganesh S [Syncfusion]
Replied On June 1, 2015 11:00 AM

Hi Diego,


Sorry for the inconvenience caused.


We have analyzed your queries and please find the responses for your queries as follows:


Query 1: (The foreground property is not setted in my project)


As we updated in our last update, we are able to reproduce this issue when we load the SfDataGrid inside the DockingManager and we have created an incident under your account. We request you to follow up the incident for further updates regarding this issue. Please refer the following link:


https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents


Query 2: (Other properties do not work, for example, Row Height.)


You can set the RowHeight in SfDataGrid by using RowHeight property:


Code snippet [Xaml]:



<sf:SfDataGrid x:Name="dgReaders"

                                AutoGenerateColumns="False"

                                RowHeight="30"

                                ItemsSource="{Binding GDCSource}"/>


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S


Soumyajit Roy
Replied On September 22, 2015 09:57 AM

Hi,

I had this similar problem. I removed unused DLLs - syncfusion.Grid.wpf.dll and suncfusion.GridCommon.wpf.dll from the project reference, it worked.

Thanks,
Soumyajit Roy


Jai Ganesh S [Syncfusion]
Replied On September 23, 2015 12:19 AM

Hi Soumyajit,


Thank you for the update.


Please let us know if you need further assistance on this.


Thank you,

Jai Ganesh S


CONFIRMATION

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.

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.

;