CompressedLayout.SetIsHeadless(BindableObject, Boolean) Method

Definition

Turns layout compression on or off for bindable.

public static void SetIsHeadless (Xamarin.Forms.BindableObject bindable, bool value);
static member SetIsHeadless : Xamarin.Forms.BindableObject * bool -> unit

Parameters

bindable
BindableObject

The BindableObject on which to enable or disable layout compression

value
Boolean

The new layout compression value. true to enable layout compression

Remarks

It is an invalid operation to change this value after the view is rendered on the platform.

Applies to