Android.Transitions.Transition.ExcludeChildren Method
Whether to add the children of the given id to the list of targets to exclude from this transition.

Syntax

[Android.Runtime.Register("excludeChildren", "(IZ)Landroid/transition/Transition;", "GetExcludeChildren_IZHandler")]
public virtual Transition ExcludeChildren (int targetId, bool exclude)

See Also

Transition.ExcludeTarget(int, System.Boolean)
Transition.ExcludeChildren(Android.Views.View, System.Boolean)
Transition.ExcludeChildren(Java.Lang.Class, System.Boolean)

Parameters

targetId
The id of a target whose children should be ignored when running this transition.
exclude
Whether to add the target to or remove the target from the current list of excluded-child targets.

Returns

Documentation for this section has not yet been entered.

Remarks

Whether to add the children of the given id to the list of targets to exclude from this transition. The exclude parameter specifies whether the children of the target should be added to or removed from the excluded list. Excluding children in this way provides a simple mechanism for excluding all children of specific targets, rather than individually excluding each child individually.

Excluding targets is a general mechanism for allowing transitions to run on a view hierarchy while skipping target views that should not be part of the transition. For example, you may want to avoid animating children of a specific ListView or Spinner. Views can be excluded either by their id, or by their instance reference, or by the Class of that view (eg, Android.Widget.Spinner).

[Android Documentation]

Requirements

Namespace: Android.Transitions
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0