Class AutomationQueryableExtensions
Inheritance
System.Object
AutomationQueryableExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Automation.Linq
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public static class AutomationQueryableExtensions
Methods
AsQueryable(AutomationElement)
Declaration
public static AutomationQueryable AsQueryable(this AutomationElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.AutomationElement | element |
Returns
Type |
---|
AutomationQueryable |
AsQueryable(AutomationElement, TreeScope)
Declaration
public static AutomationQueryable AsQueryable(this AutomationElement element, TreeScope treeScope)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.AutomationElement | element | |
System.Windows.Automation.TreeScope | treeScope |
Returns
Type |
---|
AutomationQueryable |
First(AutomationQueryable, Expression<Func<AutomationTypeHolder, Boolean>>)
Declaration
public static AutomationElement First(this AutomationQueryable source, Expression<Func<AutomationTypeHolder, bool>> predicate)
Parameters
Type | Name | Description |
---|---|---|
AutomationQueryable | source | |
System.Linq.Expressions.Expression<System.Func<AutomationTypeHolder, System.Boolean>> | predicate |
Returns
Type |
---|
System.Windows.Automation.AutomationElement |
FirstOrDefault(AutomationQueryable, Expression<Func<AutomationTypeHolder, Boolean>>)
Declaration
public static AutomationElement FirstOrDefault(this AutomationQueryable source, Expression<Func<AutomationTypeHolder, bool>> predicate)
Parameters
Type | Name | Description |
---|---|---|
AutomationQueryable | source | |
System.Linq.Expressions.Expression<System.Func<AutomationTypeHolder, System.Boolean>> | predicate |
Returns
Type |
---|
System.Windows.Automation.AutomationElement |