Свойство | Тип | Описание | |
---|---|---|---|
FindOffset | int | ||
GetAttributeValue | object | ||
GetColor | int |
Метод | Описание | |
---|---|---|
AddToSelection ( ) : void | ||
Clone ( ) : ITextRangeProvider | ||
Compare ( ITextRangeProvider range ) : bool | ||
CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : int | ||
ExpandToEnclosingUnit ( TextUnit unit ) : void | ||
FindAttribute ( int attribute, object value, bool backward ) : ITextRangeProvider | ||
FindText ( string text, bool backward, bool ignoreCase ) : ITextRangeProvider | ||
GetAttributeValue ( int attribute ) : object | ||
GetBoundingRectangles ( ) : double[] | ||
GetChildren ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[] | ||
GetEnclosingElement ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple | ||
GetText ( int maxLength ) : string | ||
Move ( TextUnit unit, int count ) : int | ||
MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : void | ||
MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int | ||
RemoveFromSelection ( ) : void | ||
ScrollIntoView ( bool alignToTop ) : void | ||
Select ( ) : void | ||
TextRangeProvider ( TextEditorControl control, ISelection selection ) : System |
Метод | Описание | |
---|---|---|
FindOffset ( int offset, TextUnit unit, bool forward ) : int | ||
GetAttributeValue ( |
||
GetColor ( bool foreground ) : int |
public Compare ( ITextRangeProvider range ) : bool | ||
range | ITextRangeProvider | |
Результат | bool |
public CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : int | ||
endpoint | TextPatternRangeEndpoint | |
targetRange | ITextRangeProvider | |
targetEndpoint | TextPatternRangeEndpoint | |
Результат | int |
public ExpandToEnclosingUnit ( TextUnit unit ) : void | ||
unit | TextUnit | |
Результат | void |
public FindAttribute ( int attribute, object value, bool backward ) : ITextRangeProvider | ||
attribute | int | |
value | object | |
backward | bool | |
Результат | ITextRangeProvider |
public FindText ( string text, bool backward, bool ignoreCase ) : ITextRangeProvider | ||
text | string | |
backward | bool | |
ignoreCase | bool | |
Результат | ITextRangeProvider |
public GetAttributeValue ( int attribute ) : object | ||
attribute | int | |
Результат | object |
public GetBoundingRectangles ( ) : double[] | ||
Результат | double[] |
public GetChildren ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[] | ||
Результат | System.Windows.Automation.Provider.IRawElementProviderSimple[] |
public GetEnclosingElement ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple | ||
Результат | System.Windows.Automation.Provider.IRawElementProviderSimple |
public Move ( TextUnit unit, int count ) : int | ||
unit | TextUnit | |
count | int | |
Результат | int |
public MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : void | ||
endpoint | TextPatternRangeEndpoint | |
targetRange | ITextRangeProvider | |
targetEndpoint | TextPatternRangeEndpoint | |
Результат | void |
public MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int | ||
endpoint | TextPatternRangeEndpoint | |
unit | TextUnit | |
count | int | |
Результат | int |
public ScrollIntoView ( bool alignToTop ) : void | ||
alignToTop | bool | |
Результат | void |
public TextRangeProvider ( TextEditorControl control, ISelection selection ) : System | ||
control | TextEditorControl | |
selection | ISelection | |
Результат | System |