31 lines
707 B
C#
31 lines
707 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Qrakhen.TilingFrames.Controls;
|
|
|
|
public class TilingRoot : Control
|
|
{
|
|
static TilingRoot()
|
|
{
|
|
DefaultStyleKeyProperty.OverrideMetadata(
|
|
typeof(TilingRoot),
|
|
new FrameworkPropertyMetadata(typeof(TilingRoot)));
|
|
}
|
|
|
|
#region Dependency Properties
|
|
|
|
public double SplitterWidth {
|
|
get => (double)GetValue(SplitterWidthProperty);
|
|
set => SetValue(SplitterWidthProperty, value);
|
|
}
|
|
|
|
public static DependencyProperty SplitterWidthProperty = DependencyProperty
|
|
.Register(
|
|
nameof(SplitterWidth),
|
|
typeof(double),
|
|
typeof(TilingRoot),
|
|
new PropertyMetadata(8.0));
|
|
|
|
#endregion
|
|
}
|