New to Telerik UI for WPFStart a free 30-day trial

A base class for CollectionNavigator.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public abstract class CollectionNavigatorBase : Control, IDisposable

Inheritance: objectCollectionNavigatorBase

Derived Classes: CollectionEditorRadCollectionNavigator

Implements: IDisposable

Constructors

C#
protected CollectionNavigatorBase()

Fields

CanAddNewProperty

DependencyProperty

Represents the CanAddNew dependency property.

C#
public static readonly DependencyProperty CanAddNewProperty

CanAddNewPropertyKey

DependencyPropertyKey

Represents the CanAddNew dependency property.

C#
public static readonly DependencyPropertyKey CanAddNewPropertyKey

CanDeleteProperty

DependencyProperty

Represents the CanDelete dependency property.

C#
public static readonly DependencyProperty CanDeleteProperty

CanDeletePropertyKey

DependencyPropertyKey

Represents the CanDelete dependency property.

C#
public static readonly DependencyPropertyKey CanDeletePropertyKey

CanEditProperty

DependencyProperty

Represents the CanEdit dependency property.

C#
public static readonly DependencyProperty CanEditProperty

CanEditPropertyKey

DependencyPropertyKey

Represents the CanEdit dependency property.

C#
public static readonly DependencyPropertyKey CanEditPropertyKey

CanMoveToFirstItemProperty

DependencyProperty

Represents CanMoveToFirstItem dependency property.

C#
public static readonly DependencyProperty CanMoveToFirstItemProperty

CanMoveToFirstItemPropertyKey

DependencyPropertyKey

Represents CanMoveToFirstItem dependency property.

C#
public static readonly DependencyPropertyKey CanMoveToFirstItemPropertyKey

CanMoveToLastItemProperty

DependencyProperty

Represents CanMoveToLastItem dependency property.

C#
public static readonly DependencyProperty CanMoveToLastItemProperty

CanMoveToLastItemPropertyKey

DependencyPropertyKey

Represents CanMoveToLastItem dependency property.

C#
public static readonly DependencyPropertyKey CanMoveToLastItemPropertyKey

CanMoveToNextItemProperty

DependencyProperty

Represents CanMoveToNextItem dependency property.

C#
public static readonly DependencyProperty CanMoveToNextItemProperty

CanMoveToNextItemPropertyKey

DependencyPropertyKey

Represents CanMoveToNextItem dependency property.

C#
public static readonly DependencyPropertyKey CanMoveToNextItemPropertyKey

Represents CanMoveToPreviousItem dependency property.

C#
public static readonly DependencyProperty CanMoveToPreviousItemProperty

Represents CanMoveToPreviousItem dependency property.

C#
public static readonly DependencyPropertyKey CanMoveToPreviousItemPropertyKey

CollectionViewProperty

DependencyProperty

Represents the CollectionView dependency property.

C#
public static readonly DependencyProperty CollectionViewProperty

CollectionViewPropertyKey

DependencyPropertyKey

Represents the CollectionView dependency property.

C#
public static readonly DependencyPropertyKey CollectionViewPropertyKey

CommandProviderProperty

DependencyProperty

Represents the CommandProvider DependencyProperty.

C#
public static readonly DependencyProperty CommandProviderProperty

CurrentIndexProperty

DependencyProperty

Represents the CurrentIndex dependency property.

C#
public static readonly DependencyProperty CurrentIndexProperty

CurrentItemProperty

DependencyProperty

Represents the CurrentItem dependency property.

C#
public static readonly DependencyProperty CurrentItemProperty

ItemCountProperty

DependencyProperty

Represents the ItemCount dependency property.

C#
public static readonly DependencyProperty ItemCountProperty

ItemCountPropertyKey

DependencyPropertyKey

Represents the ItemCount dependency property.

C#
public static readonly DependencyPropertyKey ItemCountPropertyKey

SourceProperty

DependencyProperty

Represents the Source dependency property.

C#
public static readonly DependencyProperty SourceProperty

Properties

Gets a value indicating whether this instance can add new.

C#
public bool CanAddNew { get; set; }
Property Value:

true if this instance can add new; otherwise, false.

Gets a value indicating whether this instance can delete.

C#
public bool CanDelete { get; set; }
Property Value:

true if this instance can delete; otherwise, false.

Gets a value indicating whether this instance can edit.

C#
public bool CanEdit { get; set; }
Property Value:

true if this instance can edit; otherwise, false.

Gets a value indicating whether this instance can move to first item.

C#
public bool CanMoveToFirstItem { get; }
Property Value:

true if this instance can move to first item; otherwise, false.

Gets a value indicating whether this instance can move to last item.

C#
public bool CanMoveToLastItem { get; }
Property Value:

true if this instance can move to last item; otherwise, false.

Gets a value indicating whether this instance can move to next item.

C#
public bool CanMoveToNextItem { get; }
Property Value:

true if this instance can move to next item; otherwise, false.

Gets a value indicating whether this instance can move to previous item.

C#
public bool CanMoveToPreviousItem { get; }
Property Value:

true if this instance can move to previous item; otherwise, false.

CollectionView

ICollectionView

Gets the generated ICollectionView.

C#
public ICollectionView CollectionView { get; }

Exposes a CollectionNavigatorBaseCommandProvider.

C#
public CollectionNavigatorBaseCommandProvider CommandProvider { get; set; }

Gets or sets the index of the current.

C#
public int CurrentIndex { get; set; }
Property Value:

The index of the current.

Gets or sets the current item.

C#
public object CurrentItem { get; set; }
Property Value:

The current item.

Gets the item count.

C#
public int ItemCount { get; }

Gets or sets the source.

C#
public IEnumerable Source { get; set; }
Property Value:

The source.

Methods

Adds a new item.

C#
public void AddNew()

Edits the current item.

C#
public void BeginEdit()

Returns a value indicating whether a new item can be added.

C#
public bool CanAddNewExecute()
Returns:

bool

Returns a value indicating whether the current item can be edited.

C#
public bool CanBeginEditExecute()
Returns:

bool

Returns a value indicating whether the current item can be deleted.

C#
public bool CanDeleteExecute()
Returns:

bool

Returns a value indicating whether the current item can be moved to the first position.

C#
public bool CanMoveCurrentToFirstExecute()
Returns:

bool

Returns a value indicating whether the current item can be moved to the last position.

C#
public bool CanMoveCurrentToLastExecute()
Returns:

bool

Returns a value indicating whether the current item can be moved to the next position.

C#
public bool CanMoveCurrentToNextExecute()
Returns:

bool

Returns a value indicating whether the current item can be moved to the previous position.

C#
public bool CanMoveCurrentToPreviousExecute()
Returns:

bool

Deletes the current item.

C#
public void Delete()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Releases unmanaged and - optionally - managed resources.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Moves the current item to the first position.

C#
public void MoveCurrentToFirst()

Moves the current item to the last position.

C#
public void MoveCurrentToLast()

Moves the current item to the next position.

C#
public void MoveCurrentToNext()

Moves the current item to the previous position.

C#
public void MoveCurrentToPrevious()