Exemplo n.º 1
0
        // Create a widget in a page view:
        // Add it to page and place it in the page view and its child page view.
        public IWidget CreateWidget(WidgetType type)
        {
            Widget widget = ParentPage.CreateWidget(type) as Widget;

            widget.CreatedViewGuid = _viewGuid;

            PlaceWidgetInternal(widget, true);
            return(widget);
        }