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 |
フランス語 (fr) ではなくフランス語 (スイス) (fr-CH) など、サブ言語レベルまでのテキスト範囲の |
| 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() |
現在の 1 つ以上のテキスト選択に関連付けられている、非結合テキスト範囲のコレクションを取得します。 |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| GetVisibleRanges() |
テキスト コンテナーから非結合テキスト範囲の配列を取得します。それぞれのテキスト範囲は部分的に表示されている最初の行から始まり、部分的に表示されている最後の行の末尾で終わります。 |
| MemberwiseClone() |
現在の Object の簡易コピーを作成します。 (継承元 Object) |
| RangeFromChild(AutomationElement) |
画像、ハイパーリンク、Excel スプレッドシートMicrosoft、その他の埋め込みオブジェクトなどの子要素を囲むテキスト範囲を取得します。 |
| RangeFromPoint(Point) |
指定した画面座標の最も近くにある低次元 (空の) テキスト範囲を返します。 |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |