Class FrameworkElement
  
  
  
  
  
    Inheritance
    System.Object
    
    FrameworkElement
   
  
      
      
      
      
      
      
      
      
      
      
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
   
  
  
  Assembly: ArtOfTest.WebAii.dll
  
  Syntax
  
    public class FrameworkElement : AutomationObject<FrameworkElement>, IAutomationPeer, IPeerConverter, IFrameworkElement, ITargetElement
   
  
  
  
  
  
  Constructors
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement()
   
  
  
  
  
  
  
  
  
  
  
  
  
   
  Fields
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty ActualHeightProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty ActualWidthProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty ClipProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty DataContextProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty DesiredSizeProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty HeightProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty HorizontalAlignmentProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty IsHitTestVisibleProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty MarginProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty MaxHeightProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty MaxWidthProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty MinHeightProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty MinWidthProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty NameProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty OpacityMaskProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty OpacityProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty RenderSizeProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty TagProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty VerticalAlignmentProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty VisibilityProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static AutomationProperty WidthProperty
   
  
  
  
  
  Field Value
  
  
  
  
  
  
  
  
  
   
  Properties
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int AbsoluteSiblingTagIndex { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int AbsoluteTagIndex { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double ActualHeight { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double ActualWidth { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public IApplication Application { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string AutomationId { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public IList<FrameworkElement> Children { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Geometry Clip { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual Visibility ComputedVisibility { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int Depth { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Size DesiredSize { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool EnableValidateMouseLocation { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public VisualFind Find { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double Height { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public HorizontalAlignment HorizontalAlignment { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public IAutomationHost Host { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool IsHitTestVisible { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool IsTestRegion { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual bool IsVisible { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual MappingsCollection Mappings { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Thickness Margin { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double MaxHeight { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double MaxWidth { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double MinHeight { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double MinWidth { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string Name { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double Opacity { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Brush OpacityMask { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public ParsedElement ParsedElement { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Size RenderSize { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int TagNameIndex { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual TechnologyType TechnologyType { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual string Text { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string TextBlockContent { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string TextLiteralContent { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual string ToolTipText { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string Uid { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual UserInteraction User { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public VerticalAlignment VerticalAlignment { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Visibility Visibility { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public VisualWait Wait { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public double Width { get; set; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual string XamlTag { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string XamlTagBase { get; }
   
  
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  Methods
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void AddChildNode(ITargetElement child)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement AnySibling(string controlType)
   
  
  Parameters
  
    
      | System.String
        controlType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T AnySibling<T>()
    where T : FrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T As<T>()
    where T : FrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override void AssignReference(AutomationReference reference)
   
  
  Parameters
  
  
  
  
  
  
  
  Overrides
  ArtOfTest.WebAii.Silverlight.AutomationObject<ArtOfTest.WebAii.Silverlight.FrameworkElement>.AssignReference(ArtOfTest.WebAii.Silverlight.AutomationReference)
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public ElementImage CaptureImage()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T CastAs<T>()
    where T : IFrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void EnsureClickable()
   
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override bool Equals(object obj)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  Overrides
  System.Object.Equals(System.Object)
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override void FromRealObject(object o)
   
  
  Parameters
  
  
  
  
  
  
  
  Overrides
  ArtOfTest.WebAii.Silverlight.AutomationObject<ArtOfTest.WebAii.Silverlight.FrameworkElement>.FromRealObject(System.Object)
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T GetAttachedProperty<T>(string propertyOwner, string propertyName)
   
  
  Parameters
  
    
      | System.String
        propertyOwner 
       | 
    
      | System.String
        propertyName 
       | 
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public AutomationProperty GetAutomationProperty(string name)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public ITargetElement[] GetChildren()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int GetChildTagIndex(FrameworkElement child)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static Type GetControlTypeFromInterface(Type interfaceType)
   
  
  Parameters
  
    
      | System.Type
        interfaceType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override int GetHashCode()
   
  
  
  Returns
  
  
  
  
  
  
  Overrides
  System.Object.GetHashCode()
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public ITargetElement GetHostParent()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool GetIdentifier(out string name, out string value)
   
  
  Parameters
  
    
      | System.String
        name 
       | 
    
      | System.String
        value 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Rectangle GetIntRectangle()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static List<string> GetKnownControlTypes(TechnologyType techType)
   
  
  Parameters
  
  
  Returns
  
    
      | System.Collections.Generic.List<System.String> 
       | 
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement GetNextSibling()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public ITargetElement GetParent()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement GetPrevSibling()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Dictionary<string, string> GetProperties()
   
  
  
  Returns
  
    
      | System.Collections.Generic.Dictionary<System.String, System.String> 
       | 
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T GetProperty<T>(string name)
   
  
  Parameters
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public object GetPropertyTypeSafe(string name)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override string GetRealType()
   
  
  
  Returns
  
  
  
  
  
  
  Overrides
  ArtOfTest.WebAii.Silverlight.AutomationObject<ArtOfTest.WebAii.Silverlight.FrameworkElement>.GetRealType()
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public RectangleF GetRectangle()
   
  
  
  Returns
  
    
      | System.Drawing.RectangleF 
       | 
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public RectangleF GetRectangle(FrameworkElement relativeTo)
   
  
  Parameters
  
  
  Returns
  
    
      | System.Drawing.RectangleF 
       | 
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public Rectangle GetScreenRectangle()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public string GetStringPresentation()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public int GetUniqueHashCode()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void Highlight(bool clear)
   
  
  Parameters
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual void InitializeMappings(MappingsCollection mappings)
   
  
  Parameters
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static void InitKnownSilverlightControlTypes()
   
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static void InitKnownWpfControlTypes()
   
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static void InitKnownXamlControlTypes(Type baseType)
   
  
  Parameters
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool IsChild(FrameworkElement element)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual bool IsHitTest()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual bool IsHitTest(FrameworkElement relativeParent, bool allowPartialVisibiltiy)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public virtual bool IsHitTest(bool allowPartialVisibiltiy)
   
  
  Parameters
  
    
      | System.Boolean
        allowPartialVisibiltiy 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public bool Match(IFindExpression findExpr)
   
  
  Parameters
  
  
  Returns
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement NextSibling(string controlType)
   
  
  Parameters
  
    
      | System.String
        controlType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T NextSibling<T>()
    where T : FrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement Parent()
   
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement Parent(string controlType)
   
  
  Parameters
  
    
      | System.String
        controlType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement Parent(string controlType, bool matchBaseType)
   
  
  Parameters
  
    
      | System.String
        controlType 
       | 
    
      | System.Boolean
        matchBaseType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T Parent<T>()
    where T : IFrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public FrameworkElement PreviousSibling(string controlType)
   
  
  Parameters
  
    
      | System.String
        controlType 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public T PreviousSibling<T>()
    where T : FrameworkElement
   
  
  
  Returns
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public static void RegisterElement(Type controlType, string xamlTagName)
   
  
  Parameters
  
    
      | System.Type
        controlType 
       | 
    
      | System.String
        xamlTagName 
       | 
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetAttachedProperty<T>(string propertyOwner, string propertyName, T value)
   
  
  Parameters
  
    
      | System.String
        propertyOwner 
       | 
    
      | System.String
        propertyName 
       | 
    
      | T
        value 
       | 
  
  
  
  Type Parameters
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetClosingTag(ITargetElement closingElement)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetDepth(int depth)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetFindInfo(VisualFindInfo findInfo)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetParent(ITargetElement parent)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetProperty(string name, object value)
   
  
  Parameters
  
    
      | System.String
        name 
       | 
    
      | System.Object
        value 
       | 
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetProxy(bool isProxy)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetUid(string uid)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void SetXamlTag(string tag)
   
  
  Parameters
  
  
  
  
  
  
  
  
  Implements
      
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override object ToRealObject()
   
  
  
  Returns
  
  
  
  
  
  
  Overrides
  ArtOfTest.WebAii.Silverlight.AutomationObject<ArtOfTest.WebAii.Silverlight.FrameworkElement>.ToRealObject()
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public override string ToString()
   
  
  
  Returns
  
  
  
  
  
  
  Overrides
  System.Object.ToString()
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    public void ValidateMouseLocationIfNeeded(Point point)
   
  
  Parameters
  
    
      | System.Drawing.Point
        point 
       | 
  
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    protected bool ValidateType(Type type, string tagName)
   
  
  Parameters
  
    
      | System.Type
        type 
       | 
    
      | System.String
        tagName 
       | 
  
  
  Returns
  
  
  
  
  
  
  
  
  
  
  
   
  Explicit Interface Implementations
  
  
  
  
  
  
  
  
  
  
  Declaration
  
  
    Rectangle ITargetElement.GetRectangle()
   
  
  
  Returns
  
  
  
  
  
  
  
  Implements