Back to Devexpress

Session.CaseSensitive Property

xpo-devexpress-dot-xpo-dot-session-d121099e.md

latest3.5 KB
Original Source

Session.CaseSensitive Property

Gets or sets whether string comparisons evaluated by the session on the client are case-sensitive.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public bool CaseSensitive { get; set; }
vb
Public Property CaseSensitive As Boolean

Property Value

TypeDescription
Boolean

true if string comparisons are case-sensitive; otherwise, false.

|

Remarks

The CaseSensitive property is in effect when evaluating string comparisons in:

Note

If the CaseSensitive property is not specified, the corresponding setting is obtained from the XpoDefault.DefaultCaseSensitive property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CaseSensitive property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

XPO_how-to-dynamically-create-a-read-only-calculated-persistent-alias-property-e3473/CS/ConsoleApplication17/XPAliasedMemberInfo.cs#L25

csharp
if (theObject is DevExpress.Xpo.Helpers.ISessionProvider) {
    caseSensitive = ((DevExpress.Xpo.Helpers.ISessionProvider)theObject).Session.CaseSensitive;
}

See Also

XPBaseCollection.Sorting

XPView.Sorting

XPBaseCollection.Filter

XPView.Filter

Session Class

Session Members

DevExpress.Xpo Namespace