Пример #1
0
        public View()
        {
            _subviews         = new ViewCollection(this);
            _readOnlySubviews = new ReadOnlyCollection <View> (_subviews);

            BackgroundColor = Color.Transparent;
            IsVisible       = true;
        }
 public Universe(ContentManager content)
 {
     if (content == null)
     {
         throw new ArgumentNullException("content");
     }
     _content        = content;
     _views          = new ViewCollection(null);
     _views.Universe = this;
 }