Class
RadRowItem

This class is a base class for all UI Rows.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class RadRowItem : ContentControl, IRowItem

Inheritance: objectRadRowItem

Derived Classes: CarouselItemGridViewRowItem

Implements: IRowItem

Constructors

RadRowItem()

Declaration

cs-api-definition
public RadRowItem()

Fields

IsAlternatingProperty

Identifies the IsAlternating dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsAlternatingProperty

Field Value

DependencyProperty

IsCurrentChangedEvent

Identifies the IsCurrentChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent IsCurrentChangedEvent

Field Value

RoutedEvent

IsCurrentProperty

Identifies the IsCurrent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsCurrentProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

ItemProperty

The DependencyProperty for the Item property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemProperty

Field Value

DependencyProperty

RowIndicatorVisibilityProperty

Identifies the RowIndicatorVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowIndicatorVisibilityProperty

Field Value

DependencyProperty

SelectedEvent

Identifies the Selected routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectedEvent

Field Value

RoutedEvent

UnselectedEvent

Identifies the Unselected routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent UnselectedEvent

Field Value

RoutedEvent

Properties

ActionOnLostFocus

Gets or sets the action on lost focus.

Declaration

cs-api-definition
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

cs-api-definition
public bool IsAlternating { get; set; }

Property Value

bool

True if this row is alternating; otherwise, false.

IsCurrent

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

Declaration

cs-api-definition
public bool IsCurrent { get; set; }

Property Value

bool

True if this instance is current; otherwise, false.

IsSelected

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

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

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.

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

RowIndicatorVisibility

Gets or sets the row indicator visibility.

Declaration

cs-api-definition
public Visibility RowIndicatorVisibility { get; set; }

Property Value

Visibility

The row indicator visibility.

Implements IRowItem.RowIndicatorVisibility

Methods

CreateIndentItem()

Creates the item that fills in the indentation.

Declaration

cs-api-definition
public virtual ContentControl CreateIndentItem()

Returns

ContentControl

Dispose()

Releases unmanaged and - optionally - managed resources.

Declaration

cs-api-definition
public virtual void Dispose()

Implements IRowItem.Dispose()

IsSelectable()

Determines whether this instance is selectable.

Declaration

cs-api-definition
protected virtual bool IsSelectable()

Returns

bool

true if this instance is selectable; otherwise, false.

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnIsAlternatingChanged(bool, bool)

Called when IsAlternating property changes.

Declaration

cs-api-definition
protected virtual void OnIsAlternatingChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

New value.

newValue

bool

Old value.

OnIsCurrentChanged(bool)

Called when the value of the IsCurrent property is changed.

Declaration

cs-api-definition
protected virtual void OnIsCurrentChanged(bool newValue)

Parameters

newValue

bool

OnItemChanged(object, object)

Called when the value of the Item property changes.

Declaration

cs-api-definition
protected virtual void OnItemChanged(object oldItem, object newItem)

Parameters

oldItem

object

The old value of Item.

newItem

object

The new value of Item.

OnMouseEnter(MouseEventArgs)

Declaration

cs-api-definition
protected override void OnMouseEnter(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnMouseMove(MouseEventArgs)

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

OnSelected(RadRoutedEventArgs)

Raises the Selected event.

Declaration

cs-api-definition
protected virtual void OnSelected(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

The RoutedEventArgs instance containing the event data.

OnUnselected(RadRoutedEventArgs)

Raises the Unselected event.

Declaration

cs-api-definition
protected virtual void OnUnselected(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

The RoutedEventArgs instance containing the event data.

SelectionPropertyChanged(object, DependencyPropertyChangedEventArgs)

Called when the selection was changed.

Declaration

cs-api-definition
protected virtual void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)

Parameters

sender

object

The sender.

rowSelectionArgs

DependencyPropertyChangedEventArgs

The DependencyPropertyChangedEventArgs instance containing the event data.

Events

IsCurrentChanged

Occurs when IsCurrent property value changes.

Declaration

cs-api-definition
public event RoutedEventHandler IsCurrentChanged

Event Value

RoutedEventHandler

Selected

Occurs when IsSelected property becomes true.

Declaration

cs-api-definition
public event RoutedEventHandler Selected

Event Value

RoutedEventHandler

Unselected

Occurs when IsSelected property becomes false.

Declaration

cs-api-definition
public event RoutedEventHandler Unselected

Event Value

RoutedEventHandler