alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SfParallaxView

    The SfParallaxView control provides the parallax effect for the background view by moving its background element at a slower pace than the foreground view.

    Inheritance
    object
    SfParallaxView
    Namespace: Syncfusion.Maui.ParallaxView
    Assembly: Syncfusion.Maui.ParallaxView.dll
    Syntax
    public class SfParallaxView : TemplatedView
    Remarks

    Bind any control that implements the IParallaxView interface as the source of the SfParallaxView.

    Built-in integration with SfListView for the IParallaxView interface is provided.

    By default, the SfParallaxView control supports vertical orientation. You can also set the orientation to horizontal by setting the Orientation property.

    Constructors

    SfParallaxView()

    Initializes a new instance of the SfParallaxView class.

    Declaration
    public SfParallaxView()

    Fields

    ContentProperty

    Identifies the Content bindable property.

    Declaration
    public static readonly BindableProperty ContentProperty
    Field Value
    Type
    BindableProperty

    OrientationProperty

    Identifies the Orientation bindable property.

    Declaration
    public static readonly BindableProperty OrientationProperty
    Field Value
    Type
    BindableProperty

    SourceProperty

    Identifies the Source bindable property.

    Declaration
    public static readonly BindableProperty SourceProperty
    Field Value
    Type
    BindableProperty

    SpeedProperty

    Identifies the Speed bindable property.

    Declaration
    public static readonly BindableProperty SpeedProperty
    Field Value
    Type
    BindableProperty

    Properties

    Content

    Gets or sets the content value of the SfParallaxView.

    Declaration
    public View Content { get; set; }
    Property Value
    Type
    View

    Orientation

    Gets or sets the orientation of the SfParallaxView.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type
    Orientation

    Source

    Gets or sets the source value of the SfParallaxView.

    Declaration
    public View Source { get; set; }
    Property Value
    Type
    View

    Speed

    Gets or sets the parallax speed value between the source and content of the SfParallaxView.

    Declaration
    public double Speed { get; set; }
    Property Value
    Type Description
    double

    It accepts double values and its default value is 0.5.

    Methods

    OnBindingContextChanged()

    Declaration
    protected override void OnBindingContextChanged()
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved