Interface
ITextBlock

Represents interface for the Xaml TextBlock control wrappers.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public interface ITextBlock : IFrameworkElement, ITargetElement

Derived Classes: TextBlockTextBlock

Inherited Members IFrameworkElement.CastAs<T>()IFrameworkElement.Parent<T>()IFrameworkElement.SetProxy(bool)IFrameworkElement.SetUid(string)IFrameworkElement.SetFindInfo(VisualFindInfo)IFrameworkElement.SetXamlTag(string)IFrameworkElement.AssignReference(AutomationReference)IFrameworkElement.SetFocus()IFrameworkElement.GetAutomationProperty(string)IFrameworkElement.GetProperty<T>(string)IFrameworkElement.GetPropertyTypeSafe(string)IFrameworkElement.SetProperty(string, object)IFrameworkElement.ScrollToVisible()IFrameworkElement.UserIFrameworkElement.FindIFrameworkElement.WaitIFrameworkElement.NameIFrameworkElement.AbsoluteSiblingTagIndexIFrameworkElement.ActualWidthIFrameworkElement.ActualHeightIFrameworkElement.ToolTipTextIFrameworkElement.TextBlockContentIFrameworkElement.TextLiteralContentIFrameworkElement.ComputedVisibilityIFrameworkElement.UidITargetElement.Match(IFindExpression)ITargetElement.SetDepth(int)ITargetElement.AddChildNode(ITargetElement)ITargetElement.SetClosingTag(ITargetElement)ITargetElement.GetChildren()ITargetElement.GetParent()ITargetElement.GetHostParent()ITargetElement.SetParent(ITargetElement)ITargetElement.Refresh()ITargetElement.GetUniqueHashCode()ITargetElement.GetRectangle()ITargetElement.Capture()ITargetElement.CaptureImage()ITargetElement.GetStringPresentation()ITargetElement.TechnologyTypeITargetElement.DepthITargetElement.IsTestRegionITargetElement.ParsedElementITargetElement.Host

Properties

DisplayedText

Gets displayed text of the TextBlock. Depending how control is configured, displayed text might be the value of Text property, data bound value or combination of inline elements.

Declaration

cs-api-definition
string DisplayedText { get; }

Property Value

string

Text

Get/set the text of the TextBlock.

Declaration

cs-api-definition
string Text { get; set; }

Property Value

string

In this article
DefinitionPropertiesDisplayedTextText
Not finding the help you need?
Contact Support