예제 #1
0
 internal Accessible(object nativeParent)
 {
     if (nativeParent == null)
     {
         throw new ArgumentNullException(nameof(nativeParent));
     }
     parentNativeObject = nativeParent;
     backendHost        = new AccessibleBackendHost();
     backendHost.Parent = this;
 }
예제 #2
0
 internal Accessible(Popover parent)
 {
     if (parent == null)
     {
         throw new ArgumentNullException(nameof(parent));
     }
     parentComponent    = parent;
     backendHost        = new AccessibleBackendHost();
     backendHost.Parent = this;
 }
예제 #3
0
 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());
     }
 }