Table of Contents

Class NumericSorter

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class NumericSorter : Sorter, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
NumericSorter
Implements
Inherited Members

Constructors

NumericSorter(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 NumericSorter(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

NumericSorter(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected NumericSorter(CreationData data)

Parameters

data CreationData

NumericSorter(NumericSorterHandle)

protected NumericSorter(NumericSorterHandle handle)

Parameters

handle NumericSorterHandle

Fields

ExpressionPropertyDefinition

public static readonly Property<Expression?, NumericSorter> ExpressionPropertyDefinition

Field Value

Property<Expression, NumericSorter>

SortOrderPropertyDefinition

public static readonly Property<SortType, NumericSorter> SortOrderPropertyDefinition

Field Value

Property<SortType, NumericSorter>

Properties

Expression

public Expression? Expression { get; set; }

Property Value

Expression

SortOrder

public SortType SortOrder { get; set; }

Property Value

SortType

Methods

GetExpression()

public Expression? GetExpression()

Returns

Expression

GetGType()

public static Type GetGType()

Returns

Type

GetSortOrder()

public SortType GetSortOrder()

Returns

SortType

New(Expression?)

public static NumericSorter New(Expression? expression)

Parameters

expression Expression

Returns

NumericSorter

NewFromPointer(nint, bool)

Creates a new managed NumericSorter instance for a given pointer.

public static NumericSorter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

NumericSorter

NewWithProperties(ConstructArgument[])

Creates a new NumericSorter and sets the properties specified by the construct arguments.

public static NumericSorter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

NumericSorter

SetExpression(Expression?)

public void SetExpression(Expression? expression)

Parameters

expression Expression

SetSortOrder(SortType)

public void SetSortOrder(SortType sortOrder)

Parameters

sortOrder SortType