Class StringFilter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class StringFilter : Filter, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
StringFilter
- Implements
- Inherited Members
Constructors
StringFilter(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public StringFilter(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
StringFilter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StringFilter(CreationData data)
Parameters
dataCreationData
StringFilter(StringFilterHandle)
protected StringFilter(StringFilterHandle handle)
Parameters
handleStringFilterHandle
Fields
ExpressionPropertyDefinition
public static readonly Property<Expression?, StringFilter> ExpressionPropertyDefinition
Field Value
IgnoreCasePropertyDefinition
public static readonly Property<bool, StringFilter> IgnoreCasePropertyDefinition
Field Value
MatchModePropertyDefinition
public static readonly Property<StringFilterMatchMode, StringFilter> MatchModePropertyDefinition
Field Value
SearchPropertyDefinition
public static readonly Property<string?, StringFilter> SearchPropertyDefinition
Field Value
Properties
Expression
public Expression? Expression { get; set; }
Property Value
IgnoreCase
public bool IgnoreCase { get; set; }
Property Value
MatchMode
public StringFilterMatchMode MatchMode { get; set; }
Property Value
Search
public string? Search { get; set; }
Property Value
Methods
GetExpression()
public Expression? GetExpression()
Returns
GetGType()
public static Type GetGType()
Returns
GetIgnoreCase()
public bool GetIgnoreCase()
Returns
GetMatchMode()
public StringFilterMatchMode GetMatchMode()
Returns
GetSearch()
public string? GetSearch()
Returns
New(Expression?)
public static StringFilter New(Expression? expression)
Parameters
expressionExpression
Returns
NewFromPointer(nint, bool)
Creates a new managed StringFilter instance for a given pointer.
public static StringFilter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new StringFilter and sets the properties specified by the construct arguments.
public static StringFilter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetExpression(Expression?)
public void SetExpression(Expression? expression)
Parameters
expressionExpression
SetIgnoreCase(bool)
public void SetIgnoreCase(bool ignoreCase)
Parameters
ignoreCasebool
SetMatchMode(StringFilterMatchMode)
public void SetMatchMode(StringFilterMatchMode mode)
Parameters
SetSearch(string?)
public void SetSearch(string? search)
Parameters
searchstring