using System.Windows; using System.Windows.Controls; using CopaData.FileInspector.GUI.TilingPanels.Models; namespace CopaData.FileInspector.GUI.TilingPanels.Controls; /// /// Control that represents the state of a , /// with all the necessary interaction logic tied to it. /// public class TilingHostFrameControl : ContentControl { static TilingHostFrameControl() { DefaultStyleKeyProperty.OverrideMetadata( typeof(TilingHostFrameControl), new FrameworkPropertyMetadata(typeof(TilingHostFrameControl))); } public TilingHostFrameControl() { } #region DependencyProperties public TilingFrame Frame { get => (TilingFrame)GetValue(FrameProperty); set => SetValue(FrameProperty, value); } public static DependencyProperty FrameProperty = DependencyProperty .Register(nameof(Frame), typeof(TilingFrame), typeof(TilingHostFrameControl), new PropertyMetadata(null)); #endregion }