Class SillListViewItem
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Represents an abstract base class for interactive list view items that can display preview content and execute actions when clicked. Provides built-in support for animated bitmap images, preview tooltips, visual feedback states, and keyboard shortcuts.
[ContentProperty(Name = "Content")]
public abstract class SillListViewItem : SillViewBase, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<ContentControl>
- Inheritance
-
SillListViewItem
- Implements
-
IWinRTObject
- Derived
- Inherited Members
- Extension Methods
Fields
PreviewFlyoutContentProperty
Identifies the PreviewFlyoutContent dependency property.
public static readonly DependencyProperty PreviewFlyoutContentProperty
Field Value
Properties
PreviewFlyoutContent
Gets or sets the content to display in the preview tooltip that appears when hovering over this item. This content can be any object. When set to null, no preview tooltip will be shown.
public object? PreviewFlyoutContent { get; set; }
Property Value
- object
The content object to display in the preview flyout, or null to disable the preview.
Methods
OnApplyTemplate()
protected override void OnApplyTemplate()
StartFlashing()
Activates a visual flashing animation on this list view item to draw the user's attention. The flashing effect is applied to the item's action button and will continue until manually stopped or the item is interacted with. This is typically used to highlight important or newly available items.
public void StartFlashing()