Interface
ISupportCurrentItem

Defines a type that has a notation for a Current item. This notation is typical for data-bound components like RadDataGrid.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public interface ISupportCurrentItem

Properties

CurrentItem

Gets the object instance that is considered Current.

Declaration

cs-api-definition
object CurrentItem { get; }

Property Value

object

IsCurrentItemInView

Gets a value indicating whether the current item is within the data view. For example if a filtering operation is applied, the current item may not be visible.

Declaration

cs-api-definition
bool IsCurrentItemInView { get; }

Property Value

bool

Methods

MoveCurrentTo(object)

Attempts to set the CurrentItem to the provided object instance.

Declaration

cs-api-definition
bool MoveCurrentTo(object item)

Parameters

item

object

The object instance to set as current.

Returns

bool

True if the operation succeeded, false otherwise.

MoveCurrentToFirst()

Attempts to move the CurrentItem to the first item in the view.

Declaration

cs-api-definition
bool MoveCurrentToFirst()

Returns

bool

True if the operation succeeded, false otherwise.

MoveCurrentToLast()

Attempts to move the CurrentItem to the last item in the view.

Declaration

cs-api-definition
bool MoveCurrentToLast()

Returns

bool

True if the operation succeeded, false otherwise.

MoveCurrentToNext()

Attempts to move the CurrentItem to the item next to the CurrentItem in the view.

Declaration

cs-api-definition
bool MoveCurrentToNext()

Returns

bool

True if the operation succeeded, false otherwise.

MoveCurrentToPrevious()

Attempts to move the CurrentItem to the item previous to the CurrentItem in the view.

Declaration

cs-api-definition
bool MoveCurrentToPrevious()

Returns

bool

True if the operation succeeded, false otherwise.