توسعه برنامههای Cross Platform با Xamarin Forms & Bit Framework - قسمت هفدهم
نویسنده: یاسر مرادی
تاریخ: ۱۳۹۷/۱۱/۰۱ ۱۴:۴۰
آدرس: www.dntips.ir
| مطالب | ۳۶۹۴ |
| نویسندگان | ۲۷۶ |
| گروههای مطالب | ۱۰۲۴ |
| نقشههای راه | ۱۱۹ |
| دورهها | ۱۴ |
| اشتراکها | ۱۷۹۱۴ |
<Button
x:Name="DeleteButton"
BackgroundColor="Orange"
Text="Delete">
<Button.Triggers>
<EventTrigger Event="Clicked">
<bitView:SetPropertyAction Property="BackgroundColor" Value="Red" />
<xamAnimation:BeginAnimation>
<xamAnimation:BeginAnimation.Animation>
<xamAnimation:ColorAnimation
Target="{x:Reference DeleteButton}"
ToColor="Orange"
Duration="1000" />
</xamAnimation:BeginAnimation.Animation>
</xamAnimation:BeginAnimation>
</EventTrigger>
</Button.Triggers>
</Button> <lottie:AnimationView
Animation="{OnPlatform UWP='Assets/Animations/LottieLogo1.json',
Android='Animations/LottieLogo1.json',
iOS='Animations/LottieLogo1.json'}"
AutoPlay="True"
HeightRequest="500"
HorizontalOptions="Center"
Loop="True"
VerticalOptions="Center"
WidthRequest="500" />