using System.Windows; using System.Windows.Controls; namespace EngineeringSync.Setup.Views.Pages; public partial class InstallItem : UserControl { public static readonly DependencyProperty TextProperty = DependencyProperty.Register(nameof(Text), typeof(string), typeof(InstallItem), new PropertyMetadata(string.Empty, (d, e) => ((InstallItem)d).ItemText.Text = (string)e.NewValue)); public string Text { get => (string)GetValue(TextProperty); set => SetValue(TextProperty, value); } public InstallItem() => InitializeComponent(); }