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