public LayoutWindowControl(DockView dockView) : base() { Title = AssemblyData.ShortName(); WindowExtensions.SetTitleIcon(this, WindowExtensions.GetTitleIcon(Get.Where <IMainViewModel>()?.View)); DockView = dockView; SetCurrentValue(PaddingProperty, new Thickness(5)); //Loaded += OnLoaded; }
public override object ProvideValue(IServiceProvider serviceProvider) { if (Assembly == null) { Assembly = AssemblyData.ShortName(); } return(base.ProvideValue(serviceProvider)); }
public override object ProvideValue(IServiceProvider serviceProvider) => AssemblyData.ShortName(Assembly);
public CurrentImage(string fileName) : base(AssemblyData.ShortName(), $"Images/{fileName}") { }
public CurrentUri(string relativePath) : base(AssemblyData.ShortName(), relativePath) { }
public CurrentFont(string fileName) : base(AssemblyData.ShortName(), $"Fonts/{fileName}") { }
public TimerPanel() : base(Resources.Uri(AssemblyData.ShortName(), "/Images/PlayRound.png")) { Collection = Get.Current <Options>().Timers; }
public AlarmPanel() : base(Resources.Uri(AssemblyData.ShortName(), "/Images/Music.png")) { Get.Current <Options>().Alarm.Initialize(); }