internal Widget(Page parentPage, string tagName) : base(parentPage, tagName) { // The value in _widgetStyle will be set in specific widget(Button, Checkbox...) constructor // or loaded from xml element. Guid baseViewGuid = Guid.Empty; if (ParentDocument != null && ParentDocument.IsOpened) { baseViewGuid = ParentDocument.AdaptiveViewSet.Base.Guid; } _widgetStyle = new WidgetStyle(this, baseViewGuid); _widgetStyles = new WidgetStyles(this); InitializeAdaptiveViewStyles(); _annotation = new Annotation(this); _events = new InteractionEvents(this); AddWidgetSupportEvents(); }
internal StandardPageData(StandardPage page, string tagName) : base(page, tagName) { _events = new InteractionEvents(page); }