ITextRangeProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供方法與屬性,以支援用戶端存取 Microsoft 使用者介面自動化 在實作 ITextProvider 的文字容器中連續文字。
public interface class ITextRangeProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2216756065, 27874, 20612, 191, 59, 40, 175, 166, 233, 133, 31)]
struct ITextRangeProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2216756065, 27874, 20612, 191, 59, 40, 175, 166, 233, 133, 31)]
public interface ITextRangeProvider
Public Interface ITextRangeProvider
- 衍生
- 屬性
備註
欲了解更多此模式資訊,請參閱 文字與文字範圍控制模式。
ITextProvider、ITextProvider2 和 ITextRangeProvider 並未被任何現有的 Windows 執行階段 自動化對等節點使用此介面定義來實作。 Windows 執行階段 文字控制項(如 TextBox 和 RichTextBlock)所支援的文字模型確實實作了部分這些模式,但這些模式是在原生層級進行,該層級並未出現在 Windows 執行階段 API 表面的定義中。 欲了解更多資訊,請參閱各種 Windows 執行階段 文字控制項的對等類別。
ITextRangeProvider 模式沒有 Windows 執行階段 屬性識別類別。