Xamarin.Forms Guides | Samples

Xamarin.Forms.PropertyCondition Class

Class that represents a value comparison with a property.

See Also: PropertyCondition

Syntax

public sealed class PropertyCondition : Condition, IValueProvider

Remarks

XAML for Xamarin.Forms supports the following properties for the PropertyCondition class:

PropertyValue
Property

The name of the property to check.

Value

The value for which the condition is met.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.PropertyCondition are listed below.

See Also: Condition

Public Constructors

Initializes a new PropertyCondition instance.

Public Properties

PropertyBindableProperty. Gets or sets the property against which the PropertyCondition.Value property will be compared.
ValueObject. The binding value that satisfies the condition.

Explicitly Implemented Interface Members

PropertyCondition$IValueProvider.ProvideValue(IServiceProvider)Provides a value by using the supplied service provider.