Sdílet prostřednictvím


ConstraintExpression.ProvideValue(IServiceProvider) Method

Definition

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

public Xamarin.Forms.Constraint ProvideValue (IServiceProvider serviceProvider);
abstract member ProvideValue : IServiceProvider -> Xamarin.Forms.Constraint
override this.ProvideValue : IServiceProvider -> Xamarin.Forms.Constraint

Parameters

serviceProvider
System.IServiceProvider

A service provider helper that can provide services for the markup extension.

Returns

The object value to set on the property where the extension is applied.

Implements

Applies to