Hi, i'm using SfDataform plugin, from h ttps /www.syncfusion.co m .
when I launch the application, the layout gives error, but when I upload an image, it is fixed, could anyone know what is happening?
Video Error: http s://youtu.be/ gXgzqnWh39A (i can't post links, so please, put together) hoping this video helps to clear up the problem
Code:
<ContentPage.BindingContext>
<local:CrearEventoVM/>
</ContentPage.BindingContext>
<ContentPage.Resources>
<local1:GooglePlaceVM x:Key="googleplace"/>
<ResourceDictionary>
<DataTemplate x:Key="itemTemplate">
<StackLayout Orientation="Horizontal">
<Label Text="{Binding Address}" TextColor="Black" LineBreakMode="TailTruncation"/>
</StackLayout>
</DataTemplate>
</ResourceDictionary>
</ContentPage.Resources>
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Grid IsVisible="{Binding ImageVisible}">
<Grid.RowDefinitions>
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="8*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Image
Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
VerticalOptions="Fill"
x:Name="image"
Aspect="AspectFill"
BackgroundColor="Gray" IsVisible="{Binding ImageVisible}">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="Button_TouchImage" Command="{Binding TouchImageCommand, Mode=TwoWay}">
</TapGestureRecognizer>
</Image.GestureRecognizers>
</Image>
<Label
Grid.Row="0" Grid.Column="1"
TextColor="Black"
Text="X"
FontSize="30"
HorizontalTextAlignment="Center" HorizontalOptions="End"
IsVisible="{Binding DeleteImageVisible, Mode=TwoWay}">
<Label.GestureRecognizers>
<TapGestureRecognizer Tapped="Button_DeleteImage" Command="{Binding DeleteImageCommand}">
</TapGestureRecognizer>
</Label.GestureRecognizers>
</Label>
</Grid>
<BoxView Color="Gray" Grid.Row="0" VerticalOptions="Fill" IsVisible="{Binding BoxViewVisible, Mode=TwoWay}">
<BoxView.GestureRecognizers>
<TapGestureRecognizer Tapped="Button_TouchImage" Command="{Binding TouchImageCommand}">
</TapGestureRecognizer>
</BoxView.GestureRecognizers>
</BoxView>
<Entry x:Name="asd" ></Entry>
<autocomplete:SfAutoComplete VerticalOptions="Fill" x:Name="autoComplete"
BindingContext="{Binding Source={StaticResource googleplace}}"
DropDownItemHeight="35"
HeightRequest="50"
LoadMoreText="Ver Más."
MaximumSuggestion="4"
HighlightedTextColor="Red"
ClearButtonColor="Red"
DisplayMemberPath="Address"
ImageMemberPath="ImageIcon"
SuggestionBoxPlacement="Bottom"
ItemTemplate="{StaticResource itemTemplate}"
SelectionChanged="Selection_Changed"
MultiSelectMode="Token"
FocusChanged="AutoComplete_FocusChanged"
SuggestionMode="Custom"
ValueChanged="AutoComplete_TextChanged"
Watermark="Busque por curso, grupo o persona."
NoResultsFoundText="Sin Resultados"
Text="{Binding AddressText}"
DataSource="{Binding Addresses, Mode=TwoWay}">
</autocomplete:SfAutoComplete>
<dataForm:SfDataForm x:Name="dataForm" LabelPosition="Top"
DataObject="{Binding ContactsInfo}" VerticalOptions="FillAndExpand"/>
<Button VerticalOptions="End" Clicked="Button_Guardar_Todo" Text="Guardar"/>
</StackLayout>
</ScrollView>
</ContentPage.Content>
~~~~
Sorry for my bad english