Class
CollectionEditor

Represents a control that exposes UI for collection editing.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data")]
public class CollectionEditor : CollectionNavigatorBase, IDisposable

Inheritance: objectCollectionNavigatorBaseCollectionEditor

Implements: IDisposable

Inherited Members CollectionNavigatorBase.SourcePropertyCollectionNavigatorBase.CurrentIndexPropertyCollectionNavigatorBase.CurrentItemPropertyCollectionNavigatorBase.CanMoveToFirstItemPropertyKeyCollectionNavigatorBase.CanMoveToFirstItemPropertyCollectionNavigatorBase.CanMoveToPreviousItemPropertyKeyCollectionNavigatorBase.CanMoveToPreviousItemPropertyCollectionNavigatorBase.CanMoveToLastItemPropertyKeyCollectionNavigatorBase.CanMoveToLastItemPropertyCollectionNavigatorBase.CanMoveToNextItemPropertyKeyCollectionNavigatorBase.CanMoveToNextItemPropertyCollectionNavigatorBase.ItemCountPropertyKeyCollectionNavigatorBase.ItemCountPropertyCollectionNavigatorBase.CollectionViewPropertyKeyCollectionNavigatorBase.CollectionViewPropertyCollectionNavigatorBase.CanDeletePropertyKeyCollectionNavigatorBase.CanDeletePropertyCollectionNavigatorBase.CanEditPropertyKeyCollectionNavigatorBase.CanEditPropertyCollectionNavigatorBase.CanAddNewPropertyKeyCollectionNavigatorBase.CanAddNewPropertyCollectionNavigatorBase.CommandProviderPropertyCollectionNavigatorBase.Delete()CollectionNavigatorBase.CanDeleteExecute()CollectionNavigatorBase.AddNew()CollectionNavigatorBase.CanAddNewExecute()CollectionNavigatorBase.BeginEdit()CollectionNavigatorBase.CanBeginEditExecute()CollectionNavigatorBase.MoveCurrentToFirst()CollectionNavigatorBase.CanMoveCurrentToFirstExecute()CollectionNavigatorBase.MoveCurrentToLast()CollectionNavigatorBase.CanMoveCurrentToLastExecute()CollectionNavigatorBase.MoveCurrentToNext()CollectionNavigatorBase.CanMoveCurrentToNextExecute()CollectionNavigatorBase.MoveCurrentToPrevious()CollectionNavigatorBase.CanMoveCurrentToPreviousExecute()CollectionNavigatorBase.Dispose()CollectionNavigatorBase.Dispose(bool)CollectionNavigatorBase.SourceCollectionNavigatorBase.CurrentIndexCollectionNavigatorBase.CurrentItemCollectionNavigatorBase.CanMoveToFirstItemCollectionNavigatorBase.CanMoveToPreviousItemCollectionNavigatorBase.CanMoveToLastItemCollectionNavigatorBase.CanMoveToNextItemCollectionNavigatorBase.ItemCountCollectionNavigatorBase.CollectionViewCollectionNavigatorBase.CanDeleteCollectionNavigatorBase.CanEditCollectionNavigatorBase.CanAddNewCollectionNavigatorBase.CommandProvider

Constructors

CollectionEditor()

Initializes a new instance of the CollectionEditor class.

Declaration

cs-api-definition
public CollectionEditor()

Fields

HeaderProperty

Represent the Header dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Represents the ReadOnly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

ItemTemplateProperty

Represents the ItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ResizeGripperVisibilityProperty

Represents the ResizeGripperVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ResizeGripperVisibilityProperty

Field Value

DependencyProperty

Properties

Header

Gets or sets the header.

Declaration

cs-api-definition
public object Header { get; set; }

Property Value

object

The header.

IsReadOnly

Gets or sets a value that indicates whether the control is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

The is read only.

ItemTemplate

Gets or sets an ItemTemplate for the CollectionEditor ListBox.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

The item template.

ResizeGripperVisibility

Gets or sets the resize gripper visibility.

Declaration

cs-api-definition
public Visibility ResizeGripperVisibility { get; set; }

Property Value

Visibility

The resize gripper visibility.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The class-specific AutomationPeer subclass to return.

OnDragDelta(object, DragDeltaEventArgs)

Called when resize thumb's DragDelta event is raised.

Declaration

cs-api-definition
public void OnDragDelta(object sender, DragDeltaEventArgs e)

Parameters

sender

object

The sender.

e

DragDeltaEventArgs

The DragDeltaEventArgs instance containing the event data.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()