public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink) { var popoverBackend = (PopoverBackend)parentPopover; Popup popup = popoverBackend.NativeWidget; Initialize(popup, eventSink); }
public Popover(WindowFrame parent, Widget child, Position arrowPosition) { this.arrowPosition = arrowPosition; backend = WidgetRegistry.CreateBackend<IPopoverBackend> (GetType ()); backend.Init ((IWindowFrameBackend) WidgetRegistry.GetBackend (parent), (IWidgetBackend) WidgetRegistry.GetBackend (child), arrowPosition); backend.Closed += (sender, e) => { if (Closed != null) Closed (this, EventArgs.Empty); }; }
public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink) { }
public void Dispose() { if (backend != null) { backend.Dispose (); backend = null; } }
public void Initialize(IPopoverBackend parentPopover, IAccessibleEventSink eventSink) { // Not currently supported }