TextPattern クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テキストを含むコントロールを表します。
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
- 継承
注釈
TextPattern クラスは、特定のUI オートメーション プロバイダーにのみ存在するテキスト機能を提供しない場合があります。 このような一意の高度な機能の場合、AutomationElement クラスは、UI オートメーション クライアントが対応するネイティブ オブジェクト モデルにアクセスするためのメソッドを提供します。
フィールド
| 名前 | 説明 |
|---|---|
| AnimationStyleAttribute |
テキスト範囲の AnimationStyle 属性を識別します。 |
| BackgroundColorAttribute |
テキスト範囲の BackgroundColor 属性を識別します。 |
| BulletStyleAttribute |
テキスト範囲の BulletStyle 属性を識別します。 |
| CapStyleAttribute |
テキスト範囲の CapStyle 属性を識別します。 |
| CultureAttribute |
テキスト範囲の |
| FontNameAttribute |
テキスト範囲の |
| FontSizeAttribute |
テキスト範囲の |
| FontWeightAttribute |
テキスト範囲の |
| ForegroundColorAttribute |
テキスト範囲の |
| HorizontalTextAlignmentAttribute |
テキスト範囲の HorizontalTextAlignment 属性を識別します。 |
| IndentationFirstLineAttribute |
テキスト範囲の |
| IndentationLeadingAttribute |
テキスト範囲の |
| IndentationTrailingAttribute |
テキスト範囲の |
| IsHiddenAttribute |
テキスト範囲の |
| IsItalicAttribute |
テキスト範囲の |
| IsReadOnlyAttribute |
テキスト範囲の |
| IsSubscriptAttribute |
テキスト範囲の |
| IsSuperscriptAttribute |
テキスト範囲の |
| MarginBottomAttribute |
テキスト範囲の |
| MarginLeadingAttribute |
テキスト範囲の |
| MarginTopAttribute |
テキスト範囲の |
| MarginTrailingAttribute |
テキスト範囲の |
| MixedAttributeValue |
リッチ エディット コントロールのテキスト範囲で、特定の属性の値が異なるかどうかを識別します。 |
| OutlineStylesAttribute |
テキスト範囲の |
| OverlineColorAttribute |
テキスト範囲の |
| OverlineStyleAttribute |
テキスト範囲の |
| Pattern |
TextPattern パターンを識別します。 |
| StrikethroughColorAttribute |
テキスト範囲の |
| StrikethroughStyleAttribute |
テキスト範囲の |
| TabsAttribute |
テキスト範囲の |
| TextChangedEvent |
テキスト コンテンツが変更されるたびに発生するイベントを識別します。 |
| TextFlowDirectionsAttribute |
テキスト範囲の |
| TextSelectionChangedEvent |
テキストの選択が変更されたときに発生するイベントを識別します。 |
| UnderlineColorAttribute |
テキスト範囲の |
| UnderlineStyleAttribute |
テキスト範囲の |
プロパティ
| 名前 | 説明 |
|---|---|
| DocumentRange |
文書のメイン テキストを囲むテキスト範囲を取得します。 |
| SupportedTextSelection |
テキスト プロバイダーが選択範囲をサポートしているかどうかを示す値を取得します。サポートされている場合は、選択範囲の種類をサポートします。 |
メソッド
| 名前 | 説明 |
|---|---|
| Equals(Object) |
指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetSelection() |
現在のテキストの選択または選択に関連付けられている不整合なテキスト範囲のコレクションを取得します。 |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| GetVisibleRanges() |
各テキスト範囲が最初の部分的に表示される行から最後に部分的に表示される行の末尾まで開始するテキスト コンテナーから、不整合なテキスト範囲の配列を取得します。 |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| RangeFromChild(AutomationElement) |
画像、ハイパーリンク、Microsoft Excel スプレッドシート、その他の埋め込みオブジェクトなどの子要素を囲むテキスト範囲を取得します。 |
| RangeFromPoint(Point) |
指定した画面座標に最も近い縮退 (空) テキスト範囲を返します。 |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |