共用方式為


DataTriggerBehavior.ComparisonCondition Property

Gets or sets the type of comparison to be performed between Binding and Value. This is a dependency property.

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

Syntax

'Declaration
Public Property ComparisonCondition As ComparisonConditionType
public ComparisonConditionType ComparisonCondition { get; set; }
public:
property ComparisonConditionType ComparisonCondition {
    ComparisonConditionType get ();
    void set (ComparisonConditionType value);
}
member ComparisonCondition : ComparisonConditionType with get, set
function get ComparisonCondition () : ComparisonConditionType 
function set ComparisonCondition (value : ComparisonConditionType)

Property Value

Type: Microsoft.Xaml.Interactions.Core.ComparisonConditionType
The type of comparison to be performed between Binding and Value.

.NET Framework Security

See Also

Reference

DataTriggerBehavior Class

Microsoft.Xaml.Interactions.Core Namespace