Freigeben über


View.TransitionName Property

Definition

Returns the name of the View to be used to identify Views in Transitions. -or- Sets the name of the View to be used to identify Views in Transitions.

public string? TransitionName { [Android.Runtime.Register("getTransitionName", "()Ljava/lang/String;", "GetGetTransitionNameHandler")] get; [Android.Runtime.Register("setTransitionName", "(Ljava/lang/String;)V", "")] set; }
[<get: Android.Runtime.Register("getTransitionName", "()Ljava/lang/String;", "GetGetTransitionNameHandler")>]
[<set: Android.Runtime.Register("setTransitionName", "(Ljava/lang/String;)V", "")>]
member this.TransitionName : string with get, set

Property Value

The name used of the View to be used to identify Views in Transitions or null if no name has been given.

Attributes

Remarks

Property getter documentation:

Returns the name of the View to be used to identify Views in Transitions. Names should be unique in the View hierarchy.

This returns null if the View has not been given a name.

Java documentation for android.view.View.getTransitionName().

Property setter documentation:

Sets the name of the View to be used to identify Views in Transitions. Names should be unique in the View hierarchy.

Java documentation for android.view.View.setTransitionName(java.lang.String).

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