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

Represents a control that exposes UI for collection editing.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
[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

Initializes a new instance of the CollectionEditor class.

C#
public CollectionEditor()

Fields

HeaderProperty

DependencyProperty

Represent the Header dependency property.

C#
public static readonly DependencyProperty HeaderProperty

IsReadOnlyProperty

DependencyProperty

Represents the ReadOnly dependency property.

C#
public static readonly DependencyProperty IsReadOnlyProperty

ItemTemplateProperty

DependencyProperty

Represents the ItemTemplate dependency property.

C#
public static readonly DependencyProperty ItemTemplateProperty

Represents the ResizeGripperVisibility dependency property.

C#
public static readonly DependencyProperty ResizeGripperVisibilityProperty

Properties

Gets or sets the header.

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

The header.

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

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

The is read only.

ItemTemplate

DataTemplate

Gets or sets an ItemTemplate for the CollectionEditor ListBox.

C#
public DataTemplate ItemTemplate { get; set; }
Property Value:

The item template.

Gets or sets the resize gripper visibility.

C#
public Visibility ResizeGripperVisibility { get; set; }
Property Value:

The resize gripper visibility.

Methods

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

C#
public override void OnApplyTemplate()

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

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The class-specific AutomationPeer subclass to return.

Called when resize thumb's DragDelta event is raised.

C#
public void OnDragDelta(object sender, DragDeltaEventArgs e)
Parameters:senderobject

The sender.

eDragDeltaEventArgs

The DragDeltaEventArgs instance containing the event data.

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()