Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141442 | Dec 11,2018 11:33 PM UTC | May 14,2019 06:09 AM UTC | Xamarin.Forms | 6 |
![]() |
Tags: SfSchedule |
<DataTemplate>
<Grid x:Name="Template" InputTransparent="False"HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<Grid.GestureRecognizers>
<TapGestureRecognizer Tapped="Button_Clicked"NumberOfTapsRequired="1"/>
</Grid.GestureRecognizers>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="0.4*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2"Text="{Binding Subject}" HorizontalOptions="FillAndExpand" TextColor="{Binding Color}"FontSize="Small"/>
<Button x:Name="button" Clicked="Button_Clicked"BackgroundColor="Purple" Grid.Column="0" Grid.Row="1" Text="Template" TextColor="White" />
</Grid>
</DataTemplate> |
<Button Text="{Binding EventName}" TextColor="#000000">
<Button.Behaviors>
<behaviors:EventToCommandBehavior EventName="Clicked"
Command="{Binding Source={x:ReferencePage},Path=BindingContext.ViewJobCommand}" CommandParameter="{Binding}" />
</Button.Behaviors>
</Button> |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.