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