Skip to content

EditorFilteringAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Indicates that the property should have a custom editor for filtering, which is usually determined by the form editor type of the property.

[AttributeUsage(AttributeTargets.All)]
public class EditorFilteringAttribute : CustomFilteringAttribute

Public Members

name description
EditorFilteringAttribute() Initializes a new instance of the EditorFilteringAttribute class.
EditorFilteringAttribute(…) Initializes a new instance of the EditorFilteringAttribute class. (2 constructors)
EditorType { get; set; } Gets or sets the type of the editor.
UseLike { get; set; } Gets or sets a value indicating whether to use LIKE-style operators, including starts with, ends with, etc.
UseRelative { get; set; } Gets or sets a value indicating whether to use relative comparisons, like GT/LT.
const Key Filtering type key

See Also