コード例 #1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="UtilityChannelView" /> class.
        /// </summary>
        /// <param name="vm">
        ///     The vm.
        /// </param>
        public HomeChannelView(HomeChannelViewModel vm)
        {
            InitializeComponent();
            this.vm = vm;

            DataContext = this.vm;
        }
コード例 #2
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="UtilityChannelView" /> class.
        /// </summary>
        /// <param name="vm">
        ///     The vm.
        /// </param>
        public HomeChannelView(HomeChannelViewModel vm)
        {
            InitializeComponent();
            this.vm = vm;

            DataContext = this.vm;
        }