TextPattern Clase
Definición
Representa controles que contienen texto.Represents controls that contain text.
public ref class TextPattern : System::Windows::Automation::BasePattern
public class TextPattern : System.Windows.Automation.BasePattern
type TextPattern = class
inherit BasePattern
Public Class TextPattern
Inherits BasePattern
- Herencia
Comentarios
TextPatternEs posible que la clase no proporcione características de texto que solo existen en un proveedor de automatización de la interfaz de usuario determinado.The TextPattern class may not provide for text features that exist only in a particular UI Automation provider. Para estas características únicas y a menudo avanzadas, la AutomationElement clase proporciona métodos para que un cliente de automatización de la interfaz de usuario tenga acceso al modelo de objetos nativo correspondiente.For these unique and often advanced features, the AutomationElement class provides methods for a UI Automation client to access the corresponding native object model.
Campos
AnimationStyleAttribute |
Identifica el atributo AnimationStyle de un intervalo de texto.Identifies the AnimationStyle attribute of a text range. |
BackgroundColorAttribute |
Identifica el atributo BackgroundColor de un intervalo de texto.Identifies the BackgroundColor attribute of a text range. |
BulletStyleAttribute |
Identifica el atributo BulletStyle de un intervalo de texto.Identifies the BulletStyle attribute of a text range. |
CapStyleAttribute |
Identifica el atributo CapStyle de un intervalo de texto.Identifies the CapStyle attribute of a text range. |
CultureAttribute |
Identifica el atributo |
FontNameAttribute |
Identifica el atributo |
FontSizeAttribute |
Identifica el atributo |
FontWeightAttribute |
Identifica el atributo |
ForegroundColorAttribute |
Identifica el atributo |
HorizontalTextAlignmentAttribute |
Identifica el atributo HorizontalTextAlignment de un intervalo de texto.Identifies the HorizontalTextAlignment attribute of a text range. |
IndentationFirstLineAttribute |
Identifica el atributo |
IndentationLeadingAttribute |
Identifica el atributo |
IndentationTrailingAttribute |
Identifica el atributo |
IsHiddenAttribute |
Identifica el atributo |
IsItalicAttribute |
Identifica el atributo |
IsReadOnlyAttribute |
Identifica el atributo |
IsSubscriptAttribute |
Identifica el atributo |
IsSuperscriptAttribute |
Identifica el atributo |
MarginBottomAttribute |
Identifica el atributo |
MarginLeadingAttribute |
Identifica el atributo |
MarginTopAttribute |
Identifica el atributo |
MarginTrailingAttribute |
Identifica el atributo |
MixedAttributeValue |
Identifica si el valor de un atributo determinado varía en un intervalo de texto de un control Rich Edit.Identifies whether the value of a given attribute varies over a text range in a rich edit control. |
OutlineStylesAttribute |
Identifica el atributo |
OverlineColorAttribute |
Identifica el atributo |
OverlineStyleAttribute |
Identifica el atributo |
Pattern |
Identifica el patrón TextPattern.Identifies the TextPattern pattern. |
StrikethroughColorAttribute |
Identifica el atributo |
StrikethroughStyleAttribute |
Identifica el atributo |
TabsAttribute |
Identifica el atributo |
TextChangedEvent |
Identifica el evento que se provoca siempre que se modifica el contenido textual.Identifies the event raised whenever textual content is modified. |
TextFlowDirectionsAttribute |
Identifica el atributo |
TextSelectionChangedEvent |
Identifica el evento que se provoca cuando se modifica la selección del texto.Identifies the event raised when the text selection is modified. |
UnderlineColorAttribute |
Identifica el atributo |
UnderlineStyleAttribute |
Identifica el atributo |
Propiedades
DocumentRange |
Obtiene un intervalo de texto que agrega el texto principal de un documento.Gets a text range that encloses the main text of a document. |
SupportedTextSelection |
Obtiene un valor que especifica si un proveedor de texto admite la selección y, en ese caso, el tipo de selección admitida.Gets a value that specifies whether a text provider supports selection and, if so, the type of selection supported. |
Métodos
Equals(Object) |
Determina si el objeto especificado es igual que el objeto actual.Determines whether the specified object is equal to the current object. (Heredado de Object) |
GetHashCode() |
Sirve como la función hash predeterminada.Serves as the default hash function. (Heredado de Object) |
GetSelection() |
Recupera una colección de intervalos de texto no contiguos asociados a la selección o selecciones de texto actuales.Retrieves a collection of disjoint text ranges associated with the current text selection or selections. |
GetType() |
Obtiene el Type de la instancia actual.Gets the Type of the current instance. (Heredado de Object) |
GetVisibleRanges() |
Recupera una matriz de intervalos de texto no contiguos de un contenedor de texto donde cada intervalo comienza con la primera línea parcialmente visible y continúa hasta el final de la última línea parcialmente visible.Retrieves an array of disjoint text ranges from a text container where each text range begins with the first partially visible line through to the end of the last partially visible line. |
MemberwiseClone() |
Crea una copia superficial del Object actual.Creates a shallow copy of the current Object. (Heredado de Object) |
RangeFromChild(AutomationElement) |
Recupera un intervalo de texto que incluye un elemento secundario, como una imagen, un hipervínculo, una hoja de cálculo de Microsoft ExcelMicrosoft Excel u otro objeto incrustado.Retrieves a text range enclosing a child element such as an image, hyperlink, Microsoft ExcelMicrosoft Excel spreadsheet, or other embedded object. |
RangeFromPoint(Point) |
Devuelve el intervalo de texto degenerado (vacío) más cercano a las coordenadas de la pantalla especificadas.Returns the degenerate (empty) text range nearest to the specified screen coordinates. |
ToString() |
Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object. (Heredado de Object) |