Constraint.RelativeToView 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 Constraint 物件,將項目限制為相對於 view 參數。
public static Xamarin.Forms.Constraint RelativeToView(Xamarin.Forms.View view, Func<Xamarin.Forms.RelativeLayout,Xamarin.Forms.View,double> measure);
static member RelativeToView : Xamarin.Forms.View * Func<Xamarin.Forms.RelativeLayout, Xamarin.Forms.View, double> -> Xamarin.Forms.Constraint
參數
- view
- View
要計算條件約束的檢視。
- measure
- System.Func<RelativeLayout,View,System.Double>