A newer version of this page is available. Switch to the current version.

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.v19.1.Core.dll

Declaration

public class TernaryFilterModel :
    CriteriaConverterFilterModelBase<Tuple<object, object>>
Public Class TernaryFilterModel
    Inherits CriteriaConverterFilterModelBase(Of Tuple(Of Object, Object))

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" dxfui:FilterEditorNavigation.Index="0">
        <dxe:TrackBarEdit.EditValue>
            <MultiBinding Converter="{local:TrackBarEditRangeConverter}">
                <Binding Path="Left"/>
                <Binding Path="Right"/>
            </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<Object, Object>>
TernaryFilterModel
See Also