Constraint.RelativeToView 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- view
- View
- measure
- Func<RelativeLayout,View,Double>