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
iconIconElementThe icon element to display as the item's content.
previewFlyoutContentobjectOptional content to show in a preview flyout when hovering over the item.
popupContentSillPopupContentThe 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
contentFrameworkElementThe framework element to display as the item's content.
previewFlyoutContentobjectOptional content to show in a preview flyout when hovering over the item.
popupContentSillPopupContentThe 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
iconSourceImageSourceThe image source to display as the item's content.
previewFlyoutContentobjectOptional content to show in a preview flyout when hovering over the item.
popupContentSillPopupContentThe 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
glyphcharThe character glyph to display as the item's content.
previewFlyoutContentobjectOptional content to show in a preview flyout when hovering over the item.
popupContentSillPopupContentThe 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
textstringThe text to display as the item's content.
previewFlyoutContentobjectOptional content to show in a preview flyout when hovering over the item.
popupContentSillPopupContentThe 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
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
Methods
OnApplyTemplate()
protected override void OnApplyTemplate()