Constraint.RelativeToParent(Func<RelativeLayout,Double>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static Microsoft::Maui::Controls::Compatibility::Constraint ^ RelativeToParent(Func<Microsoft::Maui::Controls::Compatibility::RelativeLayout ^, double> ^ measure);
public static Microsoft.Maui.Controls.Compatibility.Constraint RelativeToParent (Func<Microsoft.Maui.Controls.Compatibility.RelativeLayout,double> measure);
static member RelativeToParent : Func<Microsoft.Maui.Controls.Compatibility.RelativeLayout, double> -> Microsoft.Maui.Controls.Compatibility.Constraint
Public Shared Function RelativeToParent (measure As Func(Of RelativeLayout, Double)) As Constraint
參數
- measure
- Func<RelativeLayout,Double>