共用方式為


RelativeLayout.SetWidthConstraint(BindableObject, Constraint) Method

Definition

public:
 static void SetWidthConstraint(Microsoft::Maui::Controls::BindableObject ^ bindable, Microsoft::Maui::Controls::Compatibility::Constraint ^ value);
public static void SetWidthConstraint (Microsoft.Maui.Controls.BindableObject bindable, Microsoft.Maui.Controls.Compatibility.Constraint value);
static member SetWidthConstraint : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.Compatibility.Constraint -> unit
Public Shared Sub SetWidthConstraint (bindable As BindableObject, value As Constraint)

Parameters

bindable
BindableObject
value
Constraint

Applies to