Carousel button
Button used to navigate carousels.
Base component is StateButton, more info here – https://github.com/IeuanWalker/Xamarin.Forms.StateButton
How to use this component
Used for navigating a carousel
Code Resource
Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/site/wwwroot/wp-content/themes/huntsman-child/single-mobile.php on line 96
<!-- Left arrow -->
<buttons:Carousel x:Name="LeftArrow"
Grid.Row="0"
Margin="5,10,10,10"
AutomationProperties.Name="{x:Static resx:AppResources.AccessibilityPreviousCollection}"
Clicked="LeftArrow_Tapped"
HorizontalOptions="Start"
Icon="{x:Static styles:IconFont.ChevronLeft}"
IsVisible="False"
VerticalOptions="CenterAndExpand" />
<!-- Right arrow -->
<buttons:Carousel x:Name="RightArrow"
Grid.Row="0"
Margin="10,10,10,10"
AutomationProperties.Name="{x:Static resx:AppResources.AccessibilityNextCollection}"
Clicked="RightArrow_Tapped_1"
HorizontalOptions="End"
Icon="{x:Static styles:IconFont.ChevronRight}"
VerticalOptions="CenterAndExpand" />
- Icon
- Set the icon for the button
- Default is String.Empty
- State
- This changes based on the button state.
- Options are Pressed or NotPressed
- Default is NotPressed
- ClickedCommand
- Triggered when the button is pressed and released
- PressedCommand
- Triggered when the button is pressed
- ReleasedCommand
- Triggered when the button is released
- Clicked
- Triggered when the button is pressed and released
- Pressed
- Triggered when the button is pressed
- Released
- Triggered when the button is released