Skip to main content

TernaryFilterModel Class

A model for operators with three operands (e.g., Is between, Is between dates).

Namespace: DevExpress.Xpf.Core.FilteringUI

Assembly: DevExpress.Xpf.Grid.v24.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public class TernaryFilterModel :
    CriteriaConverterFilterModelBase<Tuple<ValueData, ValueData>>

Remarks

The following code sample shows the OperandTemplate where the TernaryFilterModel is the data context:

<DataTemplate x:Key="ternaryTemplate">
    <dxe:TrackBarEdit Minimum="0" Maximum="300" MinWidth="120" TickPlacement="None">
        <dxe:TrackBarEdit.EditValue>
            <MultiBinding Converter="{local:TrackBarEditRangeConverter}">
                <Binding Path="LeftValueItem.Value"/>
                <Binding Path="RightValueItem.Value"/>
            </MultiBinding>
        </dxe:TrackBarEdit.EditValue>
        <dxe:TrackBarEdit.StyleSettings>
            <dxe:TrackBarRangeStyleSettings />
        </dxe:TrackBarEdit.StyleSettings>
    </dxe:TrackBarEdit>
</DataTemplate>

Inheritance

Object
BindableBase
FilterModelBase
FilterModel
DevExpress.Xpf.Core.FilteringUI.CriteriaConverterFilterModelBase<Tuple<DevExpress.Xpf.Core.Native.ValueData, DevExpress.Xpf.Core.Native.ValueData>>
TernaryFilterModel
See Also