Class SillPopupContent
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
Represents the content of a popup displayed when clicking on a SillListViewPopupItem
public class SillPopupContent : ContentControl, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<ContentControl>
- Inheritance
-
SillPopupContent
- Implements
-
IWinRTObject
- Inherited Members
- Extension Methods
Constructors
SillPopupContent(Action?, Action?)
Initializes a new instance of the SillPopupContent class.
public SillPopupContent(Action? onOpening = null, Action? onClosing = null)
Parameters
onOpeningActionAn optional action to execute when the popup is opening.
onClosingActionAn optional action to execute when the popup is closing.
Methods
Close()
Closes the popup window if it is currently open.
public void Close()
OnClosing()
Called when the popup is closing. Override this method in derived classes to perform custom closing logic. This method is invoked before any closing callbacks or events are triggered.
public virtual void OnClosing()
OnOpening()
Called when the popup is opening. Override this method in derived classes to perform custom opening logic. This method is invoked before any opening callbacks or events are triggered.
public virtual void OnOpening()
Events
Closing
Occurs when the popup is beginning to close, allowing subscribers to perform cleanup or save operations.
public event EventHandler? Closing
Event Type
Opening
Occurs when the popup is beginning to open, allowing subscribers to perform initialization or setup operations.
public event EventHandler? Opening