internal Accessible(object nativeParent) { if (nativeParent == null) { throw new ArgumentNullException(nameof(nativeParent)); } parentNativeObject = nativeParent; backendHost = new AccessibleBackendHost(); backendHost.Parent = this; }
internal Accessible(Popover parent) { if (parent == null) { throw new ArgumentNullException(nameof(parent)); } parentComponent = parent; backendHost = new AccessibleBackendHost(); backendHost.Parent = this; }
Accessible(XwtComponent parent) { if (parent == null) { throw new ArgumentNullException(nameof(parent)); } parentComponent = parent; backendHost = new AccessibleBackendHost(); backendHost.Parent = this; if (parent.GetBackend() is XwtWidgetBackend) { backendHost.SetCustomBackend(new XwtAccessibleBackend()); } }