using System.Windows; using System.Windows.Controls; namespace HC_APTBS.Views.UserControls { /// /// A gated container that shows only after the operator /// authenticates via AuthGateViewModel. DataContext is /// AuthGateViewModel. /// public partial class AuthGateView : UserControl { /// The content to show once the gate unlocks. public static readonly DependencyProperty GatedContentProperty = DependencyProperty.Register( nameof(GatedContent), typeof(object), typeof(AuthGateView), new PropertyMetadata(null)); /// Gets or sets the content displayed when the gate is unlocked. public object? GatedContent { get => GetValue(GatedContentProperty); set => SetValue(GatedContentProperty, value); } public AuthGateView() { InitializeComponent(); } } }