CompressedLayout.SetIsHeadless(BindableObject, Boolean) 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.
Turns layout compression on or off for bindable
.
public:
static void SetIsHeadless(Microsoft::Maui::Controls::BindableObject ^ bindable, bool value);
public static void SetIsHeadless (Microsoft.Maui.Controls.BindableObject bindable, bool value);
static member SetIsHeadless : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Shared Sub SetIsHeadless (bindable As BindableObject, value As Boolean)
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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.