Fragment.IsInLayout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return true if the layout is included as part of an activity view hierarchy via the <fragment> tag.
public bool IsInLayout { [Android.Runtime.Register("isInLayout", "()Z", "")] get; }
[<get: Android.Runtime.Register("isInLayout", "()Z", "")>]
member this.IsInLayout : bool
Property Value
- Attributes
Remarks
Return true if the layout is included as part of an activity view hierarchy via the <fragment> tag. This will always be true when fragments are created through the <fragment> tag, <em>except</em> in the case where an old fragment is restored from a previous state and it does not appear in the layout of the current state.
Java documentation for android.app.Fragment.isInLayout()
.
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.