초기 커밋.
This commit is contained in:
26
Tornado3_2026Election/Controls/ChannelSchedulePanel.xaml.cs
Normal file
26
Tornado3_2026Election/Controls/ChannelSchedulePanel.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Tornado3_2026Election.ViewModels;
|
||||
|
||||
namespace Tornado3_2026Election.Controls;
|
||||
|
||||
public sealed partial class ChannelSchedulePanel : UserControl
|
||||
{
|
||||
public static readonly DependencyProperty ViewModelProperty =
|
||||
DependencyProperty.Register(
|
||||
nameof(ViewModel),
|
||||
typeof(ChannelScheduleViewModel),
|
||||
typeof(ChannelSchedulePanel),
|
||||
new PropertyMetadata(null));
|
||||
|
||||
public ChannelSchedulePanel()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ChannelScheduleViewModel? ViewModel
|
||||
{
|
||||
get => (ChannelScheduleViewModel?)GetValue(ViewModelProperty);
|
||||
set => SetValue(ViewModelProperty, value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user