Class SelectionBehavior
Inherited Members
Namespace: Com.Telerik.Widget.List
Assembly: Telerik.Xamarin.Android.List.dll
Syntax
public class SelectionBehavior : ListViewBehavior, ItemReorderBehavior.IItemReorderListener, SwipeActionsBehavior.ISwipeActionsListener, SwipeExecuteBehavior.ISwipeExecuteListener, IJavaObject, IDisposable, IJavaPeerable
Constructors
SelectionBehavior()
Declaration
public SelectionBehavior()
SelectionBehavior(IntPtr, JniHandleOwnership)
Declaration
protected SelectionBehavior(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Overrides
SelectedItemsSize
Declaration
public virtual int SelectedItemsSize { get; }
Property Value
System.Int32
|
SelectionOnLongPress
Declaration
public virtual SelectionBehavior.SelectionOnTouch SelectionOnLongPress { get; set; }
Property Value
SelectionBehavior.SelectionOnTouch
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Overrides
Methods
AddListener(SelectionBehavior.ISelectionChangedListener)
Declaration
public virtual void AddListener(SelectionBehavior.ISelectionChangedListener listener)
Parameters
SelectionBehavior.ISelectionChangedListener
listener
|
ChangeIsSelected(Int32)
Declaration
public virtual void ChangeIsSelected(int position)
Parameters
System.Int32
position
|
ChangeIsSelected(Int32, Boolean)
Declaration
public virtual void ChangeIsSelected(int position, bool value)
Parameters
System.Int32
position
|
System.Boolean
value
|
EndSelection()
Declaration
public virtual void EndSelection()
GetIsSelected(Int32)
Declaration
public virtual bool GetIsSelected(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
GetSelectionMode()
Declaration
public virtual SelectionBehavior.SelectionMode GetSelectionMode()
Returns
SelectionBehavior.SelectionMode
|
GetSelectionOnTouch()
Declaration
public virtual SelectionBehavior.SelectionOnTouch GetSelectionOnTouch()
Returns
SelectionBehavior.SelectionOnTouch
|
OnExecuteFinished(SwipeActionsBehavior.SwipeActionEvent)
Declaration
public virtual void OnExecuteFinished(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Parameters
SwipeActionsBehavior.SwipeActionEvent
eventInfo
|
Implements
OnExecuteFinished(Int32)
Declaration
public virtual void OnExecuteFinished(int position)
Parameters
System.Int32
position
|
Implements
OnReorderFinished()
Declaration
public virtual void OnReorderFinished()
Implements
OnReorderItem(Int32, Int32)
Declaration
public virtual void OnReorderItem(int positionFrom, int positionTo)
Parameters
System.Int32
positionFrom
|
System.Int32
positionTo
|
Implements
OnReorderStarted(Int32)
Declaration
public virtual void OnReorderStarted(int position)
Parameters
System.Int32
position
|
Implements
OnSwipeEnded(SwipeActionsBehavior.SwipeActionEvent)
Declaration
public virtual void OnSwipeEnded(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Parameters
SwipeActionsBehavior.SwipeActionEvent
eventInfo
|
Implements
OnSwipeEnded(Int32, Int32)
Declaration
public virtual void OnSwipeEnded(int position, int finalOffset)
Parameters
System.Int32
position
|
System.Int32
finalOffset
|
Implements
OnSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent)
Declaration
public virtual void OnSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Parameters
SwipeActionsBehavior.SwipeActionEvent
eventInfo
|
Implements
OnSwipeProgressChanged(Int32, Int32, View)
Declaration
public virtual void OnSwipeProgressChanged(int position, int currentOffset, View swipeContent)
Parameters
System.Int32
position
|
System.Int32
currentOffset
|
Android.Views.View
swipeContent
|
Implements
OnSwipeStarted(SwipeActionsBehavior.SwipeActionEvent)
Declaration
public virtual void OnSwipeStarted(SwipeActionsBehavior.SwipeActionEvent eventInfo)
Parameters
SwipeActionsBehavior.SwipeActionEvent
eventInfo
|
Implements
OnSwipeStarted(Int32)
Declaration
public virtual void OnSwipeStarted(int position)
Parameters
System.Int32
position
|
Implements
OnSwipeStateChanged(SwipeActionsBehavior.SwipeActionsState, SwipeActionsBehavior.SwipeActionsState)
Declaration
public virtual void OnSwipeStateChanged(SwipeActionsBehavior.SwipeActionsState oldState, SwipeActionsBehavior.SwipeActionsState newState)
Parameters
SwipeActionsBehavior.SwipeActionsState
oldState
|
SwipeActionsBehavior.SwipeActionsState
newState
|
Implements
RemoveListener(SelectionBehavior.ISelectionChangedListener)
Declaration
public virtual void RemoveListener(SelectionBehavior.ISelectionChangedListener listener)
Parameters
SelectionBehavior.ISelectionChangedListener
listener
|
SelectedItems()
Declaration
public virtual IList SelectedItems()
Returns
System.Collections.IList
|
SetSelectionMode(SelectionBehavior.SelectionMode)
Declaration
public virtual void SetSelectionMode(SelectionBehavior.SelectionMode selectionMode)
Parameters
SelectionBehavior.SelectionMode
selectionMode
|
SetSelectionOnTouch(SelectionBehavior.SelectionOnTouch)
Declaration
public virtual void SetSelectionOnTouch(SelectionBehavior.SelectionOnTouch selectionOnTouch)
Parameters
SelectionBehavior.SelectionOnTouch
selectionOnTouch
|
StartSelection()
Declaration
protected virtual void StartSelection()