Exposes a label element as read-only static text, removing markup-like segments from its text in the accessible name and from the base description.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(true)]
public class RadLabelElementAccessibleObject : RadControlAccessibleObject, IReflect, IAccessible
Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadLabelElementAccessibleObject...
Implements:
Constructors
Creates the accessibility object for a label element attached to a control.
public RadLabelElementAccessibleObject(RadLabelElement owner, string name)
The attached label element represented by this object.
namestringThe accessible name passed to the base control accessibility object.
Properties
Gets the label element's bounds in screen coordinates.
public override Rectangle Bounds { get; }
Overrides:
Gets the base accessible description with angle-bracketed segments removed.
public override string Description { get; }
Overrides:
Gets the accessible description followed by the element text with angle-bracketed segments removed; setting the name updates the element's name.
public override string Name { get; set; }
Overrides:
Gets the RadLabelElement represented by this accessibility object.
public override object OwnerElement { get; }
Overrides:
Gets the StaticText role for the label element.
public override AccessibleRole Role { get; }
Overrides:
Gets the read-only state reported for the label element.
public override AccessibleStates State { get; }
Overrides:
Methods
Removes each segment beginning with '<' and ending with the next '>'; a missing closing bracket removes the remainder of the string.