示例#1
0
 /// <summary> Initializes a new instance of the <see cref="UIPropertiesRoot" /> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 public UIPropertiesRoot(IObjectVM owner) : base(owner)
 {
     Fields.AddLazy("Button", new Lazy <Button>(() => new Button(owner)));
     Fields.AddLazy("TreeViewItem", new Lazy <TreeViewItem>(() => new TreeViewItem(owner)));
     Fields.AddLazy("MenuItem", new Lazy <MenuItem>(() => new MenuItem(owner)));
     Fields.AddLazy("Selector", new Lazy <Selector>(() => new Selector(owner)));
     Fields.AddLazy("Item", new Lazy <ItemContainer>(() => new ItemContainer(owner)));
     Fields.AddLazy("ComboBox", new Lazy <ComboBox>(() => new ComboBox(owner)));
     _EventConnector = new Lazy <UIEventConnector>(() => new UIEventConnector(owner));
     _Events         = new Lazy <UIEvents>(() => new UIEvents(owner));
     _InputGestures  = new Lazy <InputGestureCollection>(() => new InputGestureCollection());
 }