13 lines
452 B
C#
13 lines
452 B
C#
namespace BackgroundBuilder.Services
|
|
{
|
|
///
|
|
/// Defines methods for querying the Windows taskbar size and orientation.
|
|
///
|
|
public interface ITaskbarService
|
|
{
|
|
/// Gets the current thickness (height if horizontal, width if vertical) of the taskbar in pixels.
|
|
int GetTaskbarSize();
|
|
/// <summary>Returns true when the taskbar is horizontal, false when vertical.</summary>
|
|
bool IsHorizontal();
|
|
}
|
|
} |