CompressedLayout.GetIsHeadless(BindableObject) Method
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.
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