共用方式為


RelativeLayout.SetXConstraint(BindableObject, Constraint) Method

Definition

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

Parameters

bindable
BindableObject
value
Constraint

Applies to