共用方式為


Constraint.RelativeToView Method

Definition

public:
 static Microsoft::Maui::Controls::Compatibility::Constraint ^ RelativeToView(Microsoft::Maui::Controls::View ^ view, Func<Microsoft::Maui::Controls::Compatibility::RelativeLayout ^, Microsoft::Maui::Controls::View ^, double> ^ measure);
public static Microsoft.Maui.Controls.Compatibility.Constraint RelativeToView (Microsoft.Maui.Controls.View view, Func<Microsoft.Maui.Controls.Compatibility.RelativeLayout,Microsoft.Maui.Controls.View,double> measure);
static member RelativeToView : Microsoft.Maui.Controls.View * Func<Microsoft.Maui.Controls.Compatibility.RelativeLayout, Microsoft.Maui.Controls.View, double> -> Microsoft.Maui.Controls.Compatibility.Constraint
Public Shared Function RelativeToView (view As View, measure As Func(Of RelativeLayout, View, Double)) As Constraint

Parameters

view
View

Returns

Applies to