Class RadRowItem
This class is a base class for all UI Rows.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Data.dll
Syntax
public class RadRowItem : ContentControl, IRowItem
Constructors
RadRowItem()
Declaration
public RadRowItem()
Fields
IsAlternatingProperty
Identifies the IsAlternating dependency property.
Declaration
public static readonly DependencyProperty IsAlternatingProperty
Field Value
System.Windows.DependencyProperty
|
IsCurrentChangedEvent
Identifies the IsCurrentChanged routed event.
Declaration
public static readonly RoutedEvent IsCurrentChangedEvent
Field Value
System.Windows.RoutedEvent
|
IsCurrentProperty
Identifies the IsCurrent dependency property.
Declaration
public static readonly DependencyProperty IsCurrentProperty
Field Value
System.Windows.DependencyProperty
|
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
System.Windows.DependencyProperty
|
ItemProperty
The DependencyProperty for the Item property.
Declaration
public static readonly DependencyProperty ItemProperty
Field Value
System.Windows.DependencyProperty
|
RowIndicatorVisibilityProperty
Identifies the RowIndicatorVisibility dependency property.
Declaration
public static readonly DependencyProperty RowIndicatorVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
SelectedEvent
Identifies the Selected routed event.
Declaration
public static readonly RoutedEvent SelectedEvent
Field Value
System.Windows.RoutedEvent
|
UnselectedEvent
Identifies the Unselected routed event.
Declaration
public static readonly RoutedEvent UnselectedEvent
Field Value
System.Windows.RoutedEvent
|
Properties
ActionOnLostFocus
Gets or sets the action on lost focus.
Declaration
public virtual ActionOnLostFocus ActionOnLostFocus { get; }
Property Value
ActionOnLostFocus
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
System.Boolean
|
IsCurrent
Gets or sets a value indicating whether the RadRowItem is current.
Declaration
public bool IsCurrent { get; set; }
Property Value
System.Boolean
|
IsSelected
Gets or sets a value indicating whether the RadRowItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
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.
Declaration
public object Item { get; set; }
Property Value
System.Object
|
RowIndicatorVisibility
Gets or sets the row indicator visibility.
Declaration
public Visibility RowIndicatorVisibility { get; set; }
Property Value
System.Windows.Visibility
The row indicator visibility. |
Implements
Methods
CreateIndentItem()
Creates the item that fills in the indentation.
Declaration
public virtual ContentControl CreateIndentItem()
Returns
System.Windows.Controls.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
System.Boolean
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnIsAlternatingChanged(Boolean, Boolean)
Called when IsAlternating property changes.
Declaration
protected virtual void OnIsAlternatingChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
New value. |
System.Boolean
newValue
Old value. |
OnIsCurrentChanged(Boolean)
Called when the value of the IsCurrent property is changed.
Declaration
protected virtual void OnIsCurrentChanged(bool newValue)
Parameters
System.Boolean
newValue
|
OnItemChanged(Object, Object)
Called when the value of the Item property changes.
Declaration
protected virtual void OnItemChanged(object oldItem, object newItem)
Parameters
System.Object
oldItem
The old value of Item. |
System.Object
newItem
The new value of Item. |
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
|
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
|
OnSelected(RadRoutedEventArgs)
Raises the Selected event.
Declaration
protected virtual void OnSelected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The System.Windows.RoutedEventArgs instance containing the event data. |
OnUnselected(RadRoutedEventArgs)
Raises the Unselected event.
Declaration
protected virtual void OnUnselected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The System.Windows.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
System.Object
sender
The sender. |
System.Windows.DependencyPropertyChangedEventArgs
rowSelectionArgs
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
Events
IsCurrentChanged
Occurs when IsCurrent property value changes.
Declaration
public event RoutedEventHandler IsCurrentChanged
Event Type
System.Windows.RoutedEventHandler
|
Selected
Occurs when IsSelected property becomes true.
Declaration
public event RoutedEventHandler Selected
Event Type
System.Windows.RoutedEventHandler
|
Unselected
Occurs when IsSelected property becomes false.
Declaration
public event RoutedEventHandler Unselected
Event Type
System.Windows.RoutedEventHandler
|
Explicit Interface Implementations
IRowItem.get_DataContext()
Declaration
object IRowItem.get_DataContext()
Returns
System.Object
|
Implements
IRowItem.set_DataContext(Object)
Declaration
void IRowItem.set_DataContext(object value)
Parameters
System.Object
value
|