Click or drag to resize
DataControl Class
Represents a control that provides common functionality for all Telerik WPF controls that represent data.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Data (in Telerik.Windows.Data.dll) Version: 2018.1.220.40 (2018.1.220.40)
Syntax
public abstract class DataControl : Control, 
	INotifyPropertyChanged, ISelectorInternal

The DataControl type exposes the following members.

Constructors
  NameDescription
Protected methodDataControl
Initializes a new instance of the DataControl class.
Top
Methods
  NameDescription
Protected methodCreateTableDefinition
Creates the specific table definition for the DataControl.
Protected methodInitializeSelection
Initializes the selection.
Protected methodOnCanUserSelectChanged
Called when property CanUserSelect changes.
Protected methodOnCurrentItemChanged
Called when the current item of the DataControl is changed.
Protected methodOnItemsCollectionChanged
Called when this.Items collection changes.
Protected methodOnItemsPropertyChanged
Called when this.Items has a property changed.
Protected methodOnItemsSourceChanged
Called when ItemsSource property has changed.
Protected methodOnPropertyChanged
Called when a property changes.
Protected methodOnSelectedItemChanged
Called when the selected item of the DataControl is changed.
Protected methodOnSelectionChanging
Raises the SelectionChangingEvent event.
Protected methodRaiseSelectionChangedEvent
Raises the selection changed event.
Public methodRebind
Rebinds the grid.
Protected methodSetIsCurrent
Sets the current state for a container that wraps a given data item.
Protected methodSetIsSelected
Sets the selection state for a container that wraps a given data item.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCanUserSelectProperty
Identifies the CanUserSelect dependency property.
Public fieldStatic memberCurrentItemProperty
Identifies the CurrentItem dependency property.
Public fieldStatic memberIsSynchronizedWithCurrentItemProperty
Identifies the IsSynchronizedWithCurrentItem dependency property.
Public fieldStatic memberItemsSourceProperty
Identifies the ItemsSource dependency property.
Public fieldStatic memberSelectedItemProperty
Identifies the SelectedItem dependency property.
Public fieldStatic memberSelectionChangedEvent
Identifies the SelectionChanged routed event.
Public fieldStatic memberSelectionChangingEvent
Identifies the SelectionChanging routed event.
Top
Properties
  NameDescription
Public propertyCanUserSelect
Gets or sets a value indicating whether the user can select rows.
Public propertyCurrentItem
Gets the data item bound to the row that contains the current cell.
Public propertyIsSynchronizedWithCurrentItem
Gets or sets a value that indicates whether DataControl should keep the SelectedItem synchronized with its CurrentItem property.
Public propertyItems
Items is the collection of data that is used to generate the content of this control.
Public propertyItemsSource
Gets or sets a collection that is used to generate the content of the control.
Public propertySelectedItem
Gets or sets the data item corresponding to the selected row.
Public propertySelectedItems
Gets a collection that contains the data items corresponding to the selected rows.
Protected propertyShouldHandleSelection
Gets a value indicating whether this instance handles selection events and participates in the selection mechanism.
Public propertyTableDefinition
Gets the TableDefinition object for the current record collection.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Public eventSelectionChanged
Occurs when the selected items have changed.
Public eventSelectionChanging
Occurs when the selected items are about to change.
Top
See Also