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
constructArgumentsConstructArgument[]
NumericSorter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected NumericSorter(CreationData data)
Parameters
dataCreationData
NumericSorter(NumericSorterHandle)
protected NumericSorter(NumericSorterHandle handle)
Parameters
handleNumericSorterHandle
Fields
ExpressionPropertyDefinition
public static readonly Property<Expression?, NumericSorter> ExpressionPropertyDefinition
Field Value
SortOrderPropertyDefinition
public static readonly Property<SortType, NumericSorter> SortOrderPropertyDefinition
Field Value
Properties
Expression
public Expression? Expression { get; set; }
Property Value
SortOrder
public SortType SortOrder { get; set; }
Property Value
Methods
GetExpression()
public Expression? GetExpression()
Returns
GetGType()
public static Type GetGType()
Returns
GetSortOrder()
public SortType GetSortOrder()
Returns
New(Expression?)
public static NumericSorter New(Expression? expression)
Parameters
expressionExpression
Returns
NewFromPointer(nint, bool)
Creates a new managed NumericSorter instance for a given pointer.
public static NumericSorter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new NumericSorter and sets the properties specified by the construct arguments.
public static NumericSorter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetExpression(Expression?)
public void SetExpression(Expression? expression)
Parameters
expressionExpression
SetSortOrder(SortType)
public void SetSortOrder(SortType sortOrder)
Parameters
sortOrderSortType