Esempio n. 1
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _presenter = base.GetTemplateChild("PART_ChatPresenter") as ChatPresenter;
            if (_presenter == null)
            {
                throw new Exception("Missing template part.");
            }
        }
Esempio n. 2
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _presenter = base.GetTemplateChild("PART_ChatPresenter") as ChatPresenter;
            if (_presenter == null)
            {
                throw new Exception("Missing template part.");
            }
        }