Class
RadListViewItem

Represents a visual item that is used in the RadListView control.

Definition

Namespace:Telerik.UI.Xaml.Controls.Data.ListView

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadListViewItem : RadContentControl

Inheritance: objectRadContentControlRadListViewItem

Inherited Members RadContentControl.IsFocusedPropertyRadContentControl.BeginVisualStateUpdate()RadContentControl.EndVisualStateUpdate(bool, bool)RadContentControl.UpdateVisualState(bool)RadContentControl.SetVisualState(string, bool)RadContentControl.CanUpdateVisualState()RadContentControl.OnUnloaded(object, RoutedEventArgs)RadContentControl.OnLoaded(object, RoutedEventArgs)RadContentControl.ComposeVisualStateName()RadContentControl.OnLostFocus(RoutedEventArgs)RadContentControl.GetTemplatePart<T>(string, bool)RadContentControl.CurrentVisualStateRadContentControl.IsLoadedRadContentControl.IsTemplateAppliedRadContentControl.IsFocusedRadContentControl.IsProperlyTemplated

Constructors

RadListViewItem()

Initializes a new instance of the RadListViewItem class.

Declaration

cs-api-definition
public RadListViewItem()

Fields

DisabledStateOpacityProperty

Identifies the DisabledStateOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisabledStateOpacityProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

DisabledStateOpacity

Gets or sets the value of the opacity used when the ListView is disabled.

Declaration

cs-api-definition
public double DisabledStateOpacity { get; set; }

Property Value

double

The value of the opacity used when the ListView is disabled.

IsActionOnSwipeEnabled

Gets a value indicating whether item action is enabled.

Declaration

cs-api-definition
public bool IsActionOnSwipeEnabled { get; }

Property Value

bool

IsHandleEnabled

Gets a value indicating whether if handling is enabled.

Declaration

cs-api-definition
public bool IsHandleEnabled { get; }

Property Value

bool

IsReordering

Gets a value indicating whether the item is currently reordering.

Declaration

cs-api-definition
public bool IsReordering { get; }

Property Value

bool

IsSelected

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

Declaration

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

Property Value

bool

SwipeDirection

Gets the swipe direction of the item.

Declaration

cs-api-definition
public ListViewItemSwipeDirection SwipeDirection { get; }

Property Value

ListViewItemSwipeDirection

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

ChangeVisualState(bool)

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

GoToState(bool, params string[])

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

stateNames

string[]

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadContentControl.OnApplyTemplate()

OnContentChanged(object, object)

Declaration

cs-api-definition
protected override void OnContentChanged(object oldContent, object newContent)

Parameters

oldContent

object

newContent

object

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadContentControl.OnCreateAutomationPeer()

OnGotFocus(RoutedEventArgs)

Called before the event occurs.

Declaration

cs-api-definition
protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

Overrides RadContentControl.OnGotFocus(RoutedEventArgs)

OnHolding(HoldingRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnHolding(HoldingRoutedEventArgs e)

Parameters

e

HoldingRoutedEventArgs

OnKeyDown(KeyRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnKeyDown(KeyRoutedEventArgs e)

Parameters

e

KeyRoutedEventArgs

OnPointerEntered(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerEntered(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerExited(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerExited(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerMoved(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerMoved(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnTapped(TappedRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnTapped(TappedRoutedEventArgs e)

Parameters

e

TappedRoutedEventArgs

PrepareSwipeDragHandles()

Prepares the swipe drag handles of the item.

Declaration

cs-api-definition
protected void PrepareSwipeDragHandles()