Share via


CompressedLayout.GetIsHeadless(BindableObject) Method

Definition

Caution

CompressedLayout does not provide meaningful functionality and may be removed in a future release. Please remove usage of this API.

Gets a Boolean value that tells whether layout compression is enabled for the specified bindable object.

public:
 static bool GetIsHeadless(Microsoft::Maui::Controls::BindableObject ^ bindable);
[System.Obsolete("CompressedLayout does not provide meaningful functionality and may be removed in a future release. Please remove usage of this API.")]
public static bool GetIsHeadless(Microsoft.Maui.Controls.BindableObject bindable);
public static bool GetIsHeadless(Microsoft.Maui.Controls.BindableObject bindable);
[<System.Obsolete("CompressedLayout does not provide meaningful functionality and may be removed in a future release. Please remove usage of this API.")>]
static member GetIsHeadless : Microsoft.Maui.Controls.BindableObject -> bool
static member GetIsHeadless : Microsoft.Maui.Controls.BindableObject -> bool
Public Shared Function GetIsHeadless (bindable As BindableObject) As Boolean

Parameters

bindable
BindableObject

The BindableObject whose status to check.

Returns

true if layout compression is enabled for bindable. Otherwise, returns false.

Attributes

Applies to