Udostępnij za pośrednictwem


GridLayoutAnimationController.Direction Property

Definition

Returns the direction of the animation. -or- Sets the direction of the animation.

public virtual Android.Views.Animations.Direction Direction { [Android.Runtime.Register("getDirection", "()I", "GetGetDirectionHandler")] get; [Android.Runtime.Register("setDirection", "(I)V", "GetSetDirection_IHandler")] set; }
[<get: Android.Runtime.Register("getDirection", "()I", "GetGetDirectionHandler")>]
[<set: Android.Runtime.Register("setDirection", "(I)V", "GetSetDirection_IHandler")>]
member this.Direction : Android.Views.Animations.Direction with get, set

Property Value

the direction of the animation

Attributes

Remarks

Property getter documentation:

Returns the direction of the animation. #DIRECTION_HORIZONTAL_MASK and #DIRECTION_VERTICAL_MASK can be used to retrieve the horizontal and vertical components of the direction.

Java documentation for android.view.animation.GridLayoutAnimationController.getDirection().

Property setter documentation:

Sets the direction of the animation. The direction is expressed as an integer containing a horizontal and vertical component. For instance, DIRECTION_BOTTOM_TO_TOP | DIRECTION_RIGHT_TO_LEFT.

Java documentation for android.view.animation.GridLayoutAnimationController.setDirection(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also