public ListGroup (IRawElementProviderFragment provider): base (provider) { tableExpert = new TableImplementorHelper (this); IRawElementProviderFragment listProvider = provider.Navigate (NavigateDirection.Parent); selectionProvider = (ISelectionProvider)listProvider.GetPatternProvider(SelectionPatternIdentifiers.Pattern.Id); if (selectionProvider == null) throw new ArgumentException ("List should always implement ISelectionProvider"); selectionHelper = new SelectionProviderUserHelper (provider, selectionProvider); Role = Atk.Role.LayeredPane; }
public ListGroup(IRawElementProviderFragment provider) : base(provider) { tableExpert = new TableImplementorHelper(this); IRawElementProviderFragment listProvider = provider.Navigate(NavigateDirection.Parent); selectionProvider = (ISelectionProvider)listProvider.GetPatternProvider(SelectionPatternIdentifiers.Pattern.Id); if (selectionProvider == null) { throw new ArgumentException("List should always implement ISelectionProvider"); } selectionHelper = new SelectionProviderUserHelper(provider, selectionProvider); Role = Atk.Role.LayeredPane; }
public Tree(IRawElementProviderFragment provider) : base(provider) { this.provider = provider; selectionProvider = (ISelectionProvider)provider.GetPatternProvider(SelectionPatternIdentifiers.Pattern.Id); if (selectionProvider == null) { throw new ArgumentException("Tree should always implement ISelectionProvider"); } tableExpert = new TableImplementorHelper(this); Role = Atk.Role.TreeTable; selectionHelper = new SelectionProviderUserHelper(provider, selectionProvider); hasFocus = (bool)Provider.GetPropertyValue( AutomationElementIdentifiers.HasKeyboardFocusProperty.Id); }
public TextContainerWithGrid(IRawElementProviderSimple provider) : base(provider) { tableExpert = new TableImplementorHelper(this); }
public Table(IRawElementProviderFragment provider) : base(provider) { tableExpert = new TableImplementorHelper(this); Role = Atk.Role.TreeTable; }
public ListWithGrid(IRawElementProviderFragmentRoot provider) : base(provider) { tableExpert = new TableImplementorHelper(this); }
public Tree (IRawElementProviderFragment provider) : base (provider) { this.provider = provider; selectionProvider = (ISelectionProvider)provider.GetPatternProvider(SelectionPatternIdentifiers.Pattern.Id); if (selectionProvider == null) throw new ArgumentException ("Tree should always implement ISelectionProvider"); tableExpert = new TableImplementorHelper (this); Role = Atk.Role.TreeTable; selectionHelper = new SelectionProviderUserHelper (provider, selectionProvider); hasFocus = (bool) Provider.GetPropertyValue ( AutomationElementIdentifiers.HasKeyboardFocusProperty.Id); }
public ListWithGrid (IRawElementProviderFragmentRoot provider) : base (provider) { tableExpert = new TableImplementorHelper (this); }
public ComboBoxOptionsTable (IRawElementProviderSimple provider) : base (provider) { Role = Atk.Role.TreeTable; tableExpert = new TableImplementorHelper (this); }
public ComboBoxOptionsTable(IRawElementProviderSimple provider) : base(provider) { Role = Atk.Role.TreeTable; tableExpert = new TableImplementorHelper(this); }
public Table (IRawElementProviderFragment provider): base (provider) { tableExpert = new TableImplementorHelper (this); Role = Atk.Role.TreeTable; }