raflop/ToastNotifications

View on GitHub
Src/ToastNotifications/Core/IPositionProvider.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System;
using System.Windows;

namespace ToastNotifications.Core
{
    public interface IPositionProvider : IDisposable
    {
        Window ParentWindow { get; }
        Point GetPosition(double actualPopupWidth, double actualPopupHeight);
        double GetHeight();
        EjectDirection EjectDirection { get; }

        event EventHandler UpdatePositionRequested;
        event EventHandler UpdateEjectDirectionRequested;
        event EventHandler UpdateHeightRequested;
    }
}