skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextCondition

A class that filters based on text matching.

Inheritance
System.Object
Cloneable
SettingsNode
Condition
LocalCondition
TextCondition
Inherited Members
SettingsNode.NotifyServicesChanged()
SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)
SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)
SettingsNode.BeginEdit()
SettingsNode.BeginInit()
SettingsNode.EndInit()
SettingsNode.GetService(Type)
SettingsNode.OnPropertyChanged(String)
SettingsNode.RemoveSettingsChild(SettingsNode)
SettingsNode.AddSettingsChild(SettingsNode)
SettingsNode.GetServiceOverride(Type)
SettingsNode.OnEnteredEditScope()
SettingsNode.OnExitingEditScope()
SettingsNode.Parent
SettingsNode.SettingsChanged
SettingsNode.ServicesChanged
SettingsNode.PropertyChanged
Cloneable.Clone()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Pivot.Core.Filtering
Assembly: Telerik.WinControls.PivotGrid.dll

Syntax

public sealed class TextCondition : LocalCondition, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, ILocalFilterCondition, ITextCondition

Constructors

TextCondition()

Initializes a new instance of the TextCondition class.

Declaration
public TextCondition()

Properties

Comparison

Gets or sets the condition used in the comparison.

Declaration
public TextComparison Comparison { get; set; }
Property Value
TextComparison

IgnoreCase

Gets or set a value that indicates if the case of the strings should be ignored.

Declaration
public bool IgnoreCase { get; set; }
Property Value
System.Boolean

IsActive

Returns a value indicating whether this instance is active and will take part in filtering.

Declaration
public override bool IsActive { get; }
Property Value
System.Boolean

Is active.

Overrides
Condition.IsActive

Pattern

Gets or sets the text pattern used in the comparison.

Declaration
public string Pattern { get; set; }
Property Value
System.String

Methods

CloneCore(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable source

The object to clone.

Overrides
Cloneable.CloneCore(Cloneable)
Remarks

Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Cloneable derived class.

Declaration
protected override Cloneable CreateInstanceCore()
Returns
Cloneable

New instance for cloning.

Overrides
Cloneable.CreateInstanceCore()
Remarks

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

PassesFilter(Object)

Declaration
public override bool PassesFilter(object item)
Parameters
System.Object item

Returns
System.Boolean

Overrides
LocalCondition.PassesFilter(Object)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.