Class CollectionNavigatorBase
A base class for CollectionNavigator.
Inheritance
System.Object
CollectionNavigatorBase
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public abstract class CollectionNavigatorBase : Control, IDisposable
Constructors
Declaration
protected CollectionNavigatorBase()
Fields
Represents the CanAddNew dependency property.
Declaration
public static readonly DependencyProperty CanAddNewProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CanAddNew dependency property.
Declaration
public static readonly DependencyPropertyKey CanAddNewPropertyKey
Field Value
Represents the CanDelete dependency property.
Declaration
public static readonly DependencyProperty CanDeleteProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CanDelete dependency property.
Declaration
public static readonly DependencyPropertyKey CanDeletePropertyKey
Field Value
Represents the CanEdit dependency property.
Declaration
public static readonly DependencyProperty CanEditProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CanEdit dependency property.
Declaration
public static readonly DependencyPropertyKey CanEditPropertyKey
Field Value
Represents CanMoveToFirstItem dependency property.
Declaration
public static readonly DependencyProperty CanMoveToFirstItemProperty
Field Value
System.Windows.DependencyProperty
|
Represents CanMoveToFirstItem dependency property.
Declaration
public static readonly DependencyPropertyKey CanMoveToFirstItemPropertyKey
Field Value
Represents CanMoveToLastItem dependency property.
Declaration
public static readonly DependencyProperty CanMoveToLastItemProperty
Field Value
System.Windows.DependencyProperty
|
Represents CanMoveToLastItem dependency property.
Declaration
public static readonly DependencyPropertyKey CanMoveToLastItemPropertyKey
Field Value
Represents CanMoveToNextItem dependency property.
Declaration
public static readonly DependencyProperty CanMoveToNextItemProperty
Field Value
System.Windows.DependencyProperty
|
Represents CanMoveToNextItem dependency property.
Declaration
public static readonly DependencyPropertyKey CanMoveToNextItemPropertyKey
Field Value
Represents CanMoveToPreviousItem dependency property.
Declaration
public static readonly DependencyProperty CanMoveToPreviousItemProperty
Field Value
System.Windows.DependencyProperty
|
Represents CanMoveToPreviousItem dependency property.
Declaration
public static readonly DependencyPropertyKey CanMoveToPreviousItemPropertyKey
Field Value
Represents the CollectionView dependency property.
Declaration
public static readonly DependencyProperty CollectionViewProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CollectionView dependency property.
Declaration
public static readonly DependencyPropertyKey CollectionViewPropertyKey
Field Value
Represents the CommandProvider DependencyProperty.
Declaration
public static readonly DependencyProperty CommandProviderProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CurrentIndex dependency property.
Declaration
public static readonly DependencyProperty CurrentIndexProperty
Field Value
System.Windows.DependencyProperty
|
Represents the CurrentItem dependency property.
Declaration
public static readonly DependencyProperty CurrentItemProperty
Field Value
System.Windows.DependencyProperty
|
Represents the ItemCount dependency property.
Declaration
public static readonly DependencyProperty ItemCountProperty
Field Value
System.Windows.DependencyProperty
|
Represents the ItemCount dependency property.
Declaration
public static readonly DependencyPropertyKey ItemCountPropertyKey
Field Value
Represents the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Gets a value indicating whether this instance can add new.
Declaration
public bool CanAddNew { get; set; }
Property Value
System.Boolean
true if this instance can add new; otherwise, false .
|
Gets a value indicating whether this instance can delete.
Declaration
public bool CanDelete { get; set; }
Property Value
System.Boolean
true if this instance can delete; otherwise, false .
|
Gets a value indicating whether this instance can edit.
Declaration
public bool CanEdit { get; set; }
Property Value
System.Boolean
true if this instance can edit; otherwise, false .
|
Gets a value indicating whether this instance can move to first item.
Declaration
public bool CanMoveToFirstItem { get; }
Property Value
System.Boolean
true if this instance can move to first item; otherwise, false .
|
Gets a value indicating whether this instance can move to last item.
Declaration
public bool CanMoveToLastItem { get; }
Property Value
System.Boolean
true if this instance can move to last item; otherwise, false .
|
Gets a value indicating whether this instance can move to next item.
Declaration
public bool CanMoveToNextItem { get; }
Property Value
System.Boolean
true if this instance can move to next item; otherwise, false .
|
Gets a value indicating whether this instance can move to previous item.
Declaration
public bool CanMoveToPreviousItem { get; }
Property Value
System.Boolean
true if this instance can move to previous item; otherwise, false .
|
Gets the generated ICollectionView.
Declaration
public ICollectionView CollectionView { get; }
Property Value
System.ComponentModel.ICollectionView
|
Exposes a CollectionNavigatorBaseCommandProvider.
Declaration
public CollectionNavigatorBaseCommandProvider CommandProvider { get; set; }
Property Value
Gets or sets the index of the current.
Declaration
public int CurrentIndex { get; set; }
Property Value
System.Int32
The index of the current.
|
Gets or sets the current item.
Declaration
public object CurrentItem { get; set; }
Property Value
System.Object
The current item.
|
Declaration
public int ItemCount { get; }
Property Value
Declaration
public IEnumerable Source { get; set; }
Property Value
System.Collections.IEnumerable
The source.
|
Methods
Returns a value indicating whether a new item can be added.
Declaration
public bool CanAddNewExecute()
Returns
Returns a value indicating whether the current item can be edited.
Declaration
public bool CanBeginEditExecute()
Returns
Returns a value indicating whether the current item can be deleted.
Declaration
public bool CanDeleteExecute()
Returns
Returns a value indicating whether the current item can be moved to the first position.
Declaration
public bool CanMoveCurrentToFirstExecute()
Returns
Returns a value indicating whether the current item can be moved to the last position.
Declaration
public bool CanMoveCurrentToLastExecute()
Returns
Returns a value indicating whether the current item can be moved to the next position.
Declaration
public bool CanMoveCurrentToNextExecute()
Returns
Returns a value indicating whether the current item can be moved to the previous position.
Declaration
public bool CanMoveCurrentToPreviousExecute()
Returns
Deletes the current item.
Declaration
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
Declaration
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true to release both managed and unmanaged resources;
false to release only unmanaged resources.
|
Moves the current item to the first position.
Declaration
public void MoveCurrentToFirst()
Moves the current item to the last position.
Declaration
public void MoveCurrentToLast()
Moves the current item to the next position.
Declaration
public void MoveCurrentToNext()
Moves the current item to the previous position.
Declaration
public void MoveCurrentToPrevious()
Extension Methods