blob: aeec24f659212497902b526e34e3e487f435c5d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls.Primitives;
namespace MaterialDesignThemes.Wpf
{
public static class CustomPopupPlacementCallbackHelper
{
public static readonly CustomPopupPlacementCallback LargePopupCallback;
static CustomPopupPlacementCallbackHelper()
{
LargePopupCallback =
(size, targetSize, offset) => new[] {new CustomPopupPlacement(new Point(), PopupPrimaryAxis.Horizontal)};
}
}
}
|