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

This class is a base class for all UI Rows.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public class RadRowItem : ContentControl, IRowItem

Inheritance: objectRadRowItem

Derived Classes: CarouselItemGridViewRowItem

Implements: IRowItem

Constructors

C#
public RadRowItem()

Fields

IsAlternatingProperty

DependencyProperty

Identifies the IsAlternating dependency property.

C#
public static readonly DependencyProperty IsAlternatingProperty

Identifies the IsCurrentChanged routed event.

C#
public static readonly RoutedEvent IsCurrentChangedEvent

IsCurrentProperty

DependencyProperty

Identifies the IsCurrent dependency property.

C#
public static readonly DependencyProperty IsCurrentProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

ItemProperty

DependencyProperty

The DependencyProperty for the Item property.

C#
public static readonly DependencyProperty ItemProperty

Identifies the RowIndicatorVisibility dependency property.

C#
public static readonly DependencyProperty RowIndicatorVisibilityProperty

SelectedEvent

RoutedEvent

Identifies the Selected routed event.

C#
public static readonly RoutedEvent SelectedEvent

UnselectedEvent

RoutedEvent

Identifies the Unselected routed event.

C#
public static readonly RoutedEvent UnselectedEvent

Properties

Gets or sets the action on lost focus.

C#
public virtual ActionOnLostFocus ActionOnLostFocus { get; }
Property Value:

The action on lost focus.

Gets or sets a value indicating whether this row is alternating.

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

True if this row is alternating; otherwise, false.

Gets or sets a value indicating whether the RadRowItem is current.

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

True if this instance is current; otherwise, false.

Gets or sets a value indicating whether the RadRowItem is selected.

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

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.

C#
public object Item { get; set; }

Gets or sets the row indicator visibility.

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

The row indicator visibility.

Implements: IRowItem.RowIndicatorVisibility

Methods

CreateIndentItem()

ContentControl

Creates the item that fills in the indentation.

C#
public virtual ContentControl CreateIndentItem()
Returns:

ContentControl

Releases unmanaged and - optionally - managed resources.

C#
public virtual void Dispose()

Implements: IRowItem.Dispose()

Determines whether this instance is selectable.

C#
protected virtual bool IsSelectable()
Returns:

bool

true if this instance is selectable; otherwise, false.

C#
public override void OnApplyTemplate()

Called when IsAlternating property changes.

C#
protected virtual void OnIsAlternatingChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

New value.

newValuebool

Old value.

Called when the value of the IsCurrent property is changed.

C#
protected virtual void OnIsCurrentChanged(bool newValue)
Parameters:newValuebool

Called when the value of the Item property changes.

C#
protected virtual void OnItemChanged(object oldItem, object newItem)
Parameters:oldItemobject

The old value of Item.

newItemobject

The new value of Item.

C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

Raises the Selected event.

C#
protected virtual void OnSelected(RadRoutedEventArgs e)
Parameters:eRadRoutedEventArgs

The RoutedEventArgs instance containing the event data.

Raises the Unselected event.

C#
protected virtual void OnUnselected(RadRoutedEventArgs e)
Parameters:eRadRoutedEventArgs

The RoutedEventArgs instance containing the event data.

Called when the selection was changed.

C#
protected virtual void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
Parameters:senderobject

The sender.

rowSelectionArgsDependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Events

IsCurrentChanged

RoutedEventHandler

Occurs when IsCurrent property value changes.

C#
public event RoutedEventHandler IsCurrentChanged

Selected

RoutedEventHandler

Occurs when IsSelected property becomes true.

C#
public event RoutedEventHandler Selected

Unselected

RoutedEventHandler

Occurs when IsSelected property becomes false.

C#
public event RoutedEventHandler Unselected