Expand Minimize

ListViewItemPresenter class

Applies to Windows only

Represents the visual elements of a ListViewItem.

Inheritance

Object
  DependencyObject
    UIElement
      FrameworkElement
        ContentPresenter
          ListViewItemPresenter

Syntax


public class ListViewItemPresenter : ContentPresenter


<ListViewItemPresenter .../>

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
[WebHostHidden()]

Members

The ListViewItemPresenter class has these types of members:

Constructors

The ListViewItemPresenter class has these constructors.

ConstructorDescription
ListViewItemPresenter

 

Events

The ListViewItemPresenter class has these events.

EventDescription
DataContextChanged (Inherited from FrameworkElement)
DoubleTapped (Inherited from UIElement)
DragEnter (Inherited from UIElement)
DragLeave (Inherited from UIElement)
DragOver (Inherited from UIElement)
Drop (Inherited from UIElement)
GotFocus (Inherited from UIElement)
Holding (Inherited from UIElement)
KeyDown (Inherited from UIElement)
KeyUp (Inherited from UIElement)
LayoutUpdated (Inherited from FrameworkElement)
Loaded (Inherited from FrameworkElement)
LostFocus (Inherited from UIElement)
ManipulationCompleted (Inherited from UIElement)
ManipulationDelta (Inherited from UIElement)
ManipulationInertiaStarting (Inherited from UIElement)
ManipulationStarted (Inherited from UIElement)
ManipulationStarting (Inherited from UIElement)
PointerCanceled (Inherited from UIElement)
PointerCaptureLost (Inherited from UIElement)
PointerEntered (Inherited from UIElement)
PointerExited (Inherited from UIElement)
PointerMoved (Inherited from UIElement)
PointerPressed (Inherited from UIElement)
PointerReleased (Inherited from UIElement)
PointerWheelChanged (Inherited from UIElement)
RightTapped (Inherited from UIElement)
SizeChanged (Inherited from FrameworkElement)
Tapped (Inherited from UIElement)
Unloaded (Inherited from FrameworkElement)

 

Methods

The ListViewItemPresenter class has these methods. It also inherits methods from the Object class.

MethodDescription
AddHandler (Inherited from UIElement)
Arrange (Inherited from UIElement)
ArrangeOverride (Inherited from FrameworkElement)
CancelDirectManipulations (Inherited from UIElement)
CapturePointer (Inherited from UIElement)
ClearValue (Inherited from DependencyObject)
FindName (Inherited from FrameworkElement)
FindSubElementsForTouchTargeting (Inherited from UIElement)
GetAnimationBaseValue (Inherited from DependencyObject)
GetBindingExpression (Inherited from FrameworkElement)
GetValue (Inherited from DependencyObject)
GoToElementStateCore (Inherited from FrameworkElement)
InvalidateArrange (Inherited from UIElement)
InvalidateMeasure (Inherited from UIElement)
Measure (Inherited from UIElement)
MeasureOverride (Inherited from FrameworkElement)
OnApplyTemplate (Inherited from FrameworkElement)
OnContentTemplateChanged (Inherited from ContentPresenter)
OnContentTemplateSelectorChanged (Inherited from ContentPresenter)
OnCreateAutomationPeer (Inherited from UIElement)
OnDisconnectVisualChildren (Inherited from UIElement)
ReadLocalValue (Inherited from DependencyObject)
ReleasePointerCapture (Inherited from UIElement)
ReleasePointerCaptures (Inherited from UIElement)
RemoveHandler (Inherited from UIElement)
SetBinding (Inherited from FrameworkElement)
SetValue (Inherited from DependencyObject)
TransformToVisual (Inherited from UIElement)
UpdateLayout (Inherited from UIElement)

 

Properties

The ListViewItemPresenter class has these properties.

PropertyAccess typeDescription

ActualHeight

Read-only (Inherited from FrameworkElement)

ActualWidth

Read-only (Inherited from FrameworkElement)

AllowDrop

Read/write (Inherited from UIElement)

BaseUri

Read-only (Inherited from FrameworkElement)

CacheMode

Read/write (Inherited from UIElement)

CharacterSpacing

Read/write (Inherited from ContentPresenter)

CheckBrush

Read/write

CheckBrushProperty

Read-only

CheckHintBrush

Read/write

CheckHintBrushProperty

Read-only

CheckSelectingBrush

Read/write

CheckSelectingBrushProperty

Read-only

Clip

Read/write (Inherited from UIElement)

CompositeMode

Read/write (Inherited from UIElement)

Content

Read/write (Inherited from ContentPresenter)

ContentMargin

Read/write

ContentMarginProperty

Read-only

ContentTemplate

Read/write (Inherited from ContentPresenter)

ContentTemplateSelector

Read/write (Inherited from ContentPresenter)

ContentTransitions

Read/write (Inherited from ContentPresenter)

DataContext

Read/write (Inherited from FrameworkElement)

DesiredSize

Read-only (Inherited from UIElement)

DisabledOpacity

Read/write

DisabledOpacityProperty

Read-only

Dispatcher

Read-only (Inherited from DependencyObject)

DragBackground

Read/write

DragBackgroundProperty

Read-only

DragForeground

Read/write

DragForegroundProperty

Read-only

DragOpacity

Read/write

DragOpacityProperty

Read-only

FlowDirection

Read/write (Inherited from FrameworkElement)

FocusBorderBrush

Read/write

FocusBorderBrushProperty

Read-only

FontFamily

Read/write (Inherited from ContentPresenter)

FontSize

Read/write (Inherited from ContentPresenter)

FontStretch

Read/write (Inherited from ContentPresenter)

FontStyle

Read/write (Inherited from ContentPresenter)

FontWeight

Read/write (Inherited from ContentPresenter)

Foreground

Read/write (Inherited from ContentPresenter)

Height

Read/write (Inherited from FrameworkElement)

HorizontalAlignment

Read/write (Inherited from FrameworkElement)

HorizontalContentAlignment

Read/write

HorizontalContentAlignmentProperty

Read-only

IsDoubleTapEnabled

Read/write (Inherited from UIElement)

IsHitTestVisible

Read/write (Inherited from UIElement)

IsHoldingEnabled

Read/write (Inherited from UIElement)

IsRightTapEnabled

Read/write (Inherited from UIElement)

IsTapEnabled

Read/write (Inherited from UIElement)

Language

Read/write (Inherited from FrameworkElement)

ManipulationMode

Read/write (Inherited from UIElement)

Margin

Read/write (Inherited from FrameworkElement)

MaxHeight

Read/write (Inherited from FrameworkElement)

MaxWidth

Read/write (Inherited from FrameworkElement)

MinHeight

Read/write (Inherited from FrameworkElement)

MinWidth

Read/write (Inherited from FrameworkElement)

Name

Read/write (Inherited from FrameworkElement)

Opacity

Read/write (Inherited from UIElement)

OpticalMarginAlignment

Read/write (Inherited from ContentPresenter)

Padding

Read/write

PaddingProperty

Read-only

Parent

Read-only (Inherited from FrameworkElement)

PlaceholderBackground

Read/write

PlaceholderBackgroundProperty

Read-only

PointerCaptures

Read-only (Inherited from UIElement)

PointerOverBackground

Read/write

PointerOverBackgroundMargin

Read/write

PointerOverBackgroundMarginProperty

Read-only

PointerOverBackgroundProperty

Read-only

Projection

Read/write (Inherited from UIElement)

RenderSize

Read-only (Inherited from UIElement)

RenderTransform

Read/write (Inherited from UIElement)

RenderTransformOrigin

Read/write (Inherited from UIElement)

ReorderHintOffset

Read/write

ReorderHintOffsetProperty

Read-only

RequestedTheme

Read/write (Inherited from FrameworkElement)

Resources

Read/write (Inherited from FrameworkElement)

SelectedBackground

Read/write

SelectedBackgroundProperty

Read-only

SelectedBorderThickness

Read/write

SelectedBorderThicknessProperty

Read-only

SelectedForeground

Read/write

SelectedForegroundProperty

Read-only

SelectedPointerOverBackground

Read/write

SelectedPointerOverBackgroundProperty

Read-only

SelectedPointerOverBorderBrush

Read/write

SelectedPointerOverBorderBrushProperty

Read-only

SelectionCheckMarkVisualEnabled

Read/write

SelectionCheckMarkVisualEnabledProperty

Read-only

Style

Read/write (Inherited from FrameworkElement)

Tag

Read/write (Inherited from FrameworkElement)

TextLineBounds

Read/write (Inherited from ContentPresenter)

Transitions

Read/write (Inherited from UIElement)

Triggers

Read-only (Inherited from FrameworkElement)

UseLayoutRounding

Read/write (Inherited from UIElement)

VerticalAlignment

Read/write (Inherited from FrameworkElement)

VerticalContentAlignment

Read/write

VerticalContentAlignmentProperty

Read-only

Visibility

Read/write (Inherited from UIElement)

Width

Read/write (Inherited from FrameworkElement)

 

Remarks

The XAML usage shown is intended to be part of a XAML template or style for a ListView control (or derived type) and its items. For more info, see ListView.

For a custom ListViewItemPresenter, use the name of your class as the string within the object element syntax for XAML. You'll probably have to map an xmlns definition with a prefix to refer to your class definition. For more info, see XAML namespaces and namespace mapping.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

See also

ContentPresenter

 

 

Show:
© 2014 Microsoft