Ejemplo n.º 1
0
        public void ChangingContentFiresPropertyChangeEvent()
        {
            var style  = LayoutTestStyle.Create();
            var widget = new ContentWidget <Label>(style);

            using (var monitoredBinding = widget.Monitor <INotifyPropertyChanged>())
            {
                widget.Content = new Label(style);

                monitoredBinding.Should().RaisePropertyChange(widget, nameof(widget.Content));
                monitoredBinding.Should().RaisePropertyChange(widget, "InternalContent");
            }
        }
 internal ContentConfiguration(ContentWidget content)
 {
 }