ClassRadRowItem
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
RadRowItem()
Declaration
public RadRowItem()
Fields
IsAlternatingProperty
Identifies the IsAlternating dependency property.
Declaration
public static readonly DependencyProperty IsAlternatingProperty
Field Value
DependencyProperty
IsCurrentChangedEvent
Identifies the IsCurrentChanged routed event.
Declaration
public static readonly RoutedEvent IsCurrentChangedEvent
Field Value
RoutedEvent
IsCurrentProperty
Identifies the IsCurrent dependency property.
Declaration
public static readonly DependencyProperty IsCurrentProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
ItemProperty
The DependencyProperty for the Item property.
Declaration
public static readonly DependencyProperty ItemProperty
Field Value
DependencyProperty
RowIndicatorVisibilityProperty
Identifies the RowIndicatorVisibility dependency property.
Declaration
public static readonly DependencyProperty RowIndicatorVisibilityProperty
Field Value
DependencyProperty
SelectedEvent
Identifies the Selected routed event.
Declaration
public static readonly RoutedEvent SelectedEvent
Field Value
RoutedEvent
UnselectedEvent
Identifies the Unselected routed event.
Declaration
public static readonly RoutedEvent UnselectedEvent
Field Value
RoutedEvent
Properties
ActionOnLostFocus
Gets or sets the action on lost focus.
Declaration
public virtual ActionOnLostFocus ActionOnLostFocus { get; }
Property Value
The action on lost focus.
IsAlternating
Gets or sets a value indicating whether this row is alternating.
Declaration
public bool IsAlternating { get; set; }
Property Value
True if this row is alternating; otherwise, false.
IsCurrent
Gets or sets a value indicating whether the RadRowItem is current.
Declaration
public bool IsCurrent { get; set; }
Property Value
True if this instance is current; otherwise, false.
IsSelected
Gets or sets a value indicating whether the RadRowItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
True if this instance is selected; otherwise, false.
Item
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.
RowIndicatorVisibility
Gets or sets the row indicator visibility.
Declaration
public Visibility RowIndicatorVisibility { get; set; }
Property Value
Visibility
The row indicator visibility.
Implements
Methods
CreateIndentItem()
Creates the item that fills in the indentation.
Declaration
public virtual ContentControl CreateIndentItem()
Returns
ContentControl
Dispose()
Releases unmanaged and - optionally - managed resources.
Declaration
public virtual void Dispose()
Implements
IsSelectable()
Determines whether this instance is selectable.
Declaration
protected virtual bool IsSelectable()
Returns
true if this instance is selectable; otherwise, false.
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnIsAlternatingChanged(bool, bool)
Called when IsAlternating property changes.
OnIsCurrentChanged(bool)
Called when the value of the IsCurrent property is changed.
Declaration
protected virtual void OnIsCurrentChanged(bool newValue)
Parameters
newValue
OnItemChanged(object, object)
Called when the value of the Item property changes.
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnSelected(RadRoutedEventArgs)
Raises the Selected event.
Declaration
protected virtual void OnSelected(RadRoutedEventArgs e)
Parameters
e
The RoutedEventArgs instance containing the event data.
OnUnselected(RadRoutedEventArgs)
Raises the Unselected event.
Declaration
protected virtual void OnUnselected(RadRoutedEventArgs e)
Parameters
e
The RoutedEventArgs instance containing the event data.
SelectionPropertyChanged(object, DependencyPropertyChangedEventArgs)
Called when the selection was changed.
Declaration
protected virtual void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
Parameters
sender
The sender.
rowSelectionArgs
DependencyPropertyChangedEventArgs
The DependencyPropertyChangedEventArgs instance containing the event data.
Events
IsCurrentChanged
Occurs when IsCurrent property value changes.
Declaration
public event RoutedEventHandler IsCurrentChanged
Event Value
RoutedEventHandler
Selected
Occurs when IsSelected property becomes true.
Declaration
public event RoutedEventHandler Selected
Event Value
RoutedEventHandler
Unselected
Occurs when IsSelected property becomes false.
Declaration
public event RoutedEventHandler Unselected
Event Value
RoutedEventHandler