Skip to content

Commit 4918d70

Browse files
author
Dmitry Korovin (DevExpress)
committed
add readme
1 parent eceb793 commit 4918d70

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This example illustrates how to create three custom functions:
2+
3+
* **NotBeginsWith** - a function opposite to the standard *BeginsWith* function.
4+
* **IsDaysInterval** - checks whether a record belongs to the *“(Today - N days) ~ (Today + N days)”* timeframe.
5+
* **IsWeekend** - shows only Saturday and Sunday records.
6+
7+
The sample also illustrates three ways you can register these functions. Depending on the registration type you use, the function's availabily may differ.
8+
9+
* The control's **QueryCustomFunctions** event - functions added on this event are available for this specific control only.
10+
* The **CriteriaOperator.QueryCustomFunctions** event - registers global custom functions available for all Filter/FilterEditor Controls.
11+
* The **DevExpress.Data.Filtering.CustomFunction** attribute in a data source class - a custom function registered by the attribute is available for all Filter/FilterEditor controls bound to this data source.

0 commit comments

Comments
 (0)