Table of Contents

Class SillView

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

Represents a view control for WindowSill that supports preview flyout functionality. This control extends SillViewBase to provide tooltip-based previews that appear when hovering over specified placement targets, with content positioning automatically determined by the current sill location.

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

Constructors

SillView()

Initializes a new instance of the SillView class.

public SillView()

Fields

PreviewFlyoutContentProperty

Identifies the PreviewFlyoutContent dependency property.

public static readonly DependencyProperty PreviewFlyoutContentProperty

Field Value

DependencyProperty

PreviewFlyoutPlacementTargetProperty

Identifies the PreviewFlyoutPlacementTarget dependency property.

public static readonly DependencyProperty PreviewFlyoutPlacementTargetProperty

Field Value

DependencyProperty

ShouldAppearInSillProperty

Identifies the ShouldAppearInSill dependency property.

public static readonly DependencyProperty ShouldAppearInSillProperty

Field Value

DependencyProperty

Properties

PreviewFlyoutContent

Gets or sets the content that will be displayed in the preview flyout when hovering over the PreviewFlyoutPlacementTarget. Setting this to null will disable the preview functionality and remove any existing tooltip.

public FrameworkElement? PreviewFlyoutContent { get; set; }

Property Value

FrameworkElement

PreviewFlyoutPlacementTarget

Gets or sets the UI element that will trigger the preview flyout when hovered. The flyout will be positioned relative to this element, with placement direction automatically determined based on the current sill location to ensure optimal visibility. Setting this to null will disable preview functionality.

public UIElement? PreviewFlyoutPlacementTarget { get; set; }

Property Value

UIElement

ShouldAppearInSill

Gets or sets a value indicating whether this view should be displayed in the WindowSill. When set to false, the view will be hidden from the sill interface. The default value is true. Use this property to dynamically control the visibility of the sill in the bar, particularly when using ISillActivatedByDefault.

public bool ShouldAppearInSill { get; set; }

Property Value

bool