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
close icon

Error using SfGridSplitter on Windows Phone

I have a very simple page, on Windows Phone using SfGridSplitter Universal Control; without any code, only in design view I have this:

            <RowDefinition Height="0.5*" MinHeight="50"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="0.5*" MinHeight="50"/>
        <Rectangle Grid.RowSpan="3" Fill="LightGray" Opacity="0.2"/>
        <Grid Grid.Row="0">
            <WebView Source="http://www.google.com" />
        <Input:SfGridSplitter Grid.Row="1" VerticalAlignment="Stretch" ShowsPreview="False" EnableCollapseButton="True" />
        <Grid Grid.Row="2">
            <WebView Source="http://www.bing.com" />
This code it's based on sample on SampleBrowser_2013 project.

When render on emulator all it's right, but when I try to move the split I get this error:

 System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
 Parameter name: index
    at System.Runtime.InteropServices.WindowsRuntime.VectorToListAdapter.Indexer_Get[T](Int32 index)
    at Syncfusion.UI.Xaml.Controls.Input.SfGridSplitter.OnElementVisibilityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
    at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value)
    at Syncfusion.UI.Xaml.Controls.Input.SfGridSplitter.set_
This XAML code run right on Windows 8.1 project.
Why fails on Windows Phone?
Thanks you

2 Replies

ES Esteban October 24, 2014 07:32 AM UTC

I answer to myself, I've seen what the problem was:

I have to change for VerticalAlignment to HorizontalAlignment

Thank you

VJ Victory Jessie Selvam D Syncfusion Team October 27, 2014 04:39 AM UTC

Hi Esteban,

Thank you for using Syncfusion products.

We are happy to hear that your problem is resolved finally at your side.

Please let us know if you have any other queries.


Live Chat Icon For mobile
Up arrow icon