Interface ISupportCurrentItem
Defines a type that has a notation for a Current item. This notation is typical for data-bound components like RadDataGrid.
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public interface ISupportCurrentItem
Properties
CurrentItem
Gets the object instance that is considered Current.
Declaration
object CurrentItem { get; }
Property Value
System.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
bool IsCurrentItemInView { get; }
Property Value
System.Boolean
|
Methods
MoveCurrentTo(Object)
Attempts to set the CurrentItem to the provided object instance.
Declaration
bool MoveCurrentTo(object item)
Parameters
System.Object
item
The object instance to set as current. |
Returns
System.Boolean
True if the operation succeeded, false otherwise. |
MoveCurrentToFirst()
Attempts to move the CurrentItem to the first item in the view.
Declaration
bool MoveCurrentToFirst()
Returns
System.Boolean
True if the operation succeeded, false otherwise. |
MoveCurrentToLast()
Attempts to move the CurrentItem to the last item in the view.
Declaration
bool MoveCurrentToLast()
Returns
System.Boolean
True if the operation succeeded, false otherwise. |
MoveCurrentToNext()
Attempts to move the CurrentItem to the item next to the CurrentItem in the view.
Declaration
bool MoveCurrentToNext()
Returns
System.Boolean
True if the operation succeeded, false otherwise. |
MoveCurrentToPrevious()
Attempts to move the CurrentItem to the item previous to the CurrentItem in the view.
Declaration
bool MoveCurrentToPrevious()
Returns
System.Boolean
True if the operation succeeded, false otherwise. |