Table of Contents

Class SillListViewPopupItem

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

Represents a list view item that displays a popup when its action button is clicked.

[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(WindowSill_API_PreviewFlyoutWinRTTypeDetails))]
[Bindable]
public class SillListViewPopupItem : SillListViewItem, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<ContentControl>
Inheritance
SillListViewPopupItem
Implements
IWinRTObject
Inherited Members
Extension Methods

Constructors

SillListViewPopupItem()

Initializes a new instance of the SillListViewPopupItem class with no content or popup.

public SillListViewPopupItem()

SillListViewPopupItem(IconElement, object?, SillPopupContent)

Initializes a new instance of the SillListViewPopupItem class with an icon element.

public SillListViewPopupItem(IconElement icon, object? previewFlyoutContent, SillPopupContent popupContent)

Parameters

icon IconElement

The icon element to display as the item's content.

previewFlyoutContent object

Optional content to show in a preview flyout when hovering over the item.

popupContent SillPopupContent

The content to display in the popup when the action button is clicked.

SillListViewPopupItem(FrameworkElement, object?, SillPopupContent)

Initializes a new instance of the SillListViewPopupItem class with a framework element.

public SillListViewPopupItem(FrameworkElement content, object? previewFlyoutContent, SillPopupContent popupContent)

Parameters

content FrameworkElement

The framework element to display as the item's content.

previewFlyoutContent object

Optional content to show in a preview flyout when hovering over the item.

popupContent SillPopupContent

The content to display in the popup when the action button is clicked.

SillListViewPopupItem(ImageSource, object?, SillPopupContent)

Initializes a new instance of the SillListViewPopupItem class with an image source.

public SillListViewPopupItem(ImageSource iconSource, object? previewFlyoutContent, SillPopupContent popupContent)

Parameters

iconSource ImageSource

The image source to display as the item's content.

previewFlyoutContent object

Optional content to show in a preview flyout when hovering over the item.

popupContent SillPopupContent

The content to display in the popup when the action button is clicked.

SillListViewPopupItem(char, object?, SillPopupContent)

Initializes a new instance of the SillListViewPopupItem class with a character glyph.

public SillListViewPopupItem(char glyph, object? previewFlyoutContent, SillPopupContent popupContent)

Parameters

glyph char

The character glyph to display as the item's content.

previewFlyoutContent object

Optional content to show in a preview flyout when hovering over the item.

popupContent SillPopupContent

The content to display in the popup when the action button is clicked.

SillListViewPopupItem(string, object?, SillPopupContent)

Initializes a new instance of the SillListViewPopupItem class with text content.

public SillListViewPopupItem(string text, object? previewFlyoutContent, SillPopupContent popupContent)

Parameters

text string

The text to display as the item's content.

previewFlyoutContent object

Optional content to show in a preview flyout when hovering over the item.

popupContent SillPopupContent

The content to display in the popup when the action button is clicked.

Fields

PopupContentProperty

Identifies the PopupContent dependency property.

public static readonly DependencyProperty PopupContentProperty

Field Value

DependencyProperty

Properties

PopupContent

Gets or sets the content that will be displayed in the popup when the item's action button is clicked. This property defines what the user will see inside the popup window.

public SillPopupContent? PopupContent { get; set; }

Property Value

SillPopupContent

Methods

OnApplyTemplate()

protected override void OnApplyTemplate()