Class SfParallaxView
Represents a root class for SfParallaxView control to create parallax effects.
Inheritance
Implements
Namespace: Syncfusion.XForms.ParallaxView
Assembly: Syncfusion.SfParallaxView.XForms.dll
Syntax
public class SfParallaxView : TemplatedView, IDisposable
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 |
---|
Xamarin.Forms.BindableProperty |
OrientationProperty
Identifies the Orientation bindable property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourceProperty
Identifies the Source bindable property.
Declaration
public static readonly BindableProperty SourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SpeedProperty
Identifies the Speed bindable property.
Declaration
public static readonly BindableProperty SpeedProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Content
Gets or sets the Content value of the SfParallaxView.
Declaration
public View Content { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.View | The type of Content is view. |
ControlTemplate
Gets a value for template that specifies a group of styles and effects for controls.
Declaration
public ControlTemplate ControlTemplate { get; }
Property Value
Type |
---|
Xamarin.Forms.ControlTemplate |
Orientation
Gets or sets the orientation of the SfParallaxView.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The type of orientation is Orientation. |
Source
Gets or sets the Source value of the SfParallaxView.
Declaration
public View Source { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.View | The type of Source is object. |
Speed
Gets or sets the parallax speed value between two items of the SfParallaxView.
Declaration
public double Speed { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The type of spacing is double. |
Methods
Dispose()
Perform final clean up before it is released from memory.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
OnBindingContextChanged()
Overridden. Raised when the binding context changed.
Declaration
protected override void OnBindingContextChanged()