RadRowItem
This class is a base class for all UI Rows.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Data.dll
Syntax:
public class RadRowItem : ContentControl, IRowItem
Inheritance: objectRadRowItem
Derived Classes:
Implements:
Constructors
public RadRowItem()
Fields
IsAlternatingProperty
DependencyProperty
Identifies the IsAlternating dependency property.
public static readonly DependencyProperty IsAlternatingProperty
IsCurrentChangedEvent
RoutedEvent
Identifies the IsCurrentChanged routed event.
public static readonly RoutedEvent IsCurrentChangedEvent
IsCurrentProperty
DependencyProperty
Identifies the IsCurrent dependency property.
public static readonly DependencyProperty IsCurrentProperty
IsSelectedProperty
DependencyProperty
Identifies the IsSelected dependency property.
public static readonly DependencyProperty IsSelectedProperty
ItemProperty
DependencyProperty
The DependencyProperty for the Item property.
public static readonly DependencyProperty ItemProperty
RowIndicatorVisibilityProperty
DependencyProperty
Identifies the RowIndicatorVisibility dependency property.
public static readonly DependencyProperty RowIndicatorVisibilityProperty
SelectedEvent
RoutedEvent
Identifies the Selected routed event.
public static readonly RoutedEvent SelectedEvent
UnselectedEvent
RoutedEvent
Identifies the Unselected routed event.
public static readonly RoutedEvent UnselectedEvent
Properties
Gets or sets the action on lost focus.
public virtual ActionOnLostFocus ActionOnLostFocus { get; }
The action on lost focus.
Gets or sets a value indicating whether this row is alternating.
public bool IsAlternating { get; set; }
True if this row is alternating; otherwise, false.
Gets or sets a value indicating whether the RadRowItem is current.
public bool IsCurrent { get; set; }
True if this instance is current; otherwise, false.
Gets or sets a value indicating whether the RadRowItem is selected.
public bool IsSelected { get; set; }
True if this instance is selected; otherwise, false.
The item that the row represents. This item is an entry in the list of items from the GridViewDataControl. From this item, cells are generated for each column in the GridViewDataControl.
public object Item { get; set; }
RowIndicatorVisibility
Visibility
Gets or sets the row indicator visibility.
public Visibility RowIndicatorVisibility { get; set; }
The row indicator visibility.
Implements:
Methods
CreateIndentItem()
ContentControl
Creates the item that fills in the indentation.
public virtual ContentControl CreateIndentItem()
ContentControl
Releases unmanaged and - optionally - managed resources.
public virtual void Dispose()
Implements:
Determines whether this instance is selectable.
protected virtual bool IsSelectable()
true if this instance is selectable; otherwise, false.
public override void OnApplyTemplate()
Called when the value of the IsCurrent property is changed.
protected override void OnMouseEnter(MouseEventArgs e)
protected override void OnMouseMove(MouseEventArgs e)
Raises the Selected event.
protected virtual void OnSelected(RadRoutedEventArgs e)
The RoutedEventArgs instance containing the event data.
Raises the Unselected event.
protected virtual void OnUnselected(RadRoutedEventArgs e)
The RoutedEventArgs instance containing the event data.
Called when the selection was changed.
protected virtual void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
The sender.
rowSelectionArgsDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
Events
IsCurrentChanged
RoutedEventHandler
Occurs when IsCurrent property value changes.
public event RoutedEventHandler IsCurrentChanged
Selected
RoutedEventHandler
Occurs when IsSelected property becomes true.
public event RoutedEventHandler Selected
Unselected
RoutedEventHandler
Occurs when IsSelected property becomes false.
public event RoutedEventHandler Unselected