1 instantiation of TextPattern
UIAutomationClient (1)
System\Windows\Automation\TextPattern.cs (1)
279
return new
TextPattern
(el, hPattern);
116 references to TextPattern
UIAutomationClient (42)
MS\Internal\Automation\Schema.cs (33)
488
new AutomationPatternInfo(
TextPattern
.Pattern, null, new WrapObjectClientSide(
TextPattern
.Wrap) ),
500
new AutomationAttributeInfo( null,
TextPattern
.AnimationStyleAttribute, typeof(AnimationStyle) ),
501
new AutomationAttributeInfo( null,
TextPattern
.BackgroundColorAttribute, typeof(int) ),
502
new AutomationAttributeInfo( null,
TextPattern
.BulletStyleAttribute, typeof(BulletStyle) ),
503
new AutomationAttributeInfo( null,
TextPattern
.CapStyleAttribute, typeof(CapStyle) ),
504
new AutomationAttributeInfo( convertToCultureInfo,
TextPattern
.CultureAttribute, typeof(CultureInfo) ),
505
new AutomationAttributeInfo( null,
TextPattern
.FontNameAttribute, typeof(string) ),
506
new AutomationAttributeInfo( null,
TextPattern
.FontSizeAttribute, typeof(double) ),
507
new AutomationAttributeInfo( null,
TextPattern
.FontWeightAttribute, typeof(int) ),
508
new AutomationAttributeInfo( null,
TextPattern
.ForegroundColorAttribute, typeof(int) ),
509
new AutomationAttributeInfo( null,
TextPattern
.HorizontalTextAlignmentAttribute, typeof(HorizontalTextAlignment) ),
510
new AutomationAttributeInfo( null,
TextPattern
.IndentationFirstLineAttribute, typeof(double) ),
511
new AutomationAttributeInfo( null,
TextPattern
.IndentationLeadingAttribute, typeof(double) ),
512
new AutomationAttributeInfo( null,
TextPattern
.IndentationTrailingAttribute, typeof(double) ),
513
new AutomationAttributeInfo( null,
TextPattern
.IsHiddenAttribute, typeof(bool) ),
514
new AutomationAttributeInfo( null,
TextPattern
.IsItalicAttribute, typeof(bool) ),
515
new AutomationAttributeInfo( null,
TextPattern
.IsReadOnlyAttribute, typeof(bool) ),
516
new AutomationAttributeInfo( null,
TextPattern
.IsSubscriptAttribute, typeof(bool) ),
517
new AutomationAttributeInfo( null,
TextPattern
.IsSuperscriptAttribute, typeof(bool) ),
518
new AutomationAttributeInfo( null,
TextPattern
.MarginBottomAttribute, typeof(double) ),
519
new AutomationAttributeInfo( null,
TextPattern
.MarginLeadingAttribute, typeof(double) ),
520
new AutomationAttributeInfo( null,
TextPattern
.MarginTopAttribute, typeof(double) ),
521
new AutomationAttributeInfo( null,
TextPattern
.MarginTrailingAttribute, typeof(double) ),
522
new AutomationAttributeInfo( null,
TextPattern
.OutlineStylesAttribute, typeof(OutlineStyles) ),
523
new AutomationAttributeInfo( null,
TextPattern
.OverlineColorAttribute, typeof(int) ),
524
new AutomationAttributeInfo( null,
TextPattern
.OverlineStyleAttribute, typeof(TextDecorationLineStyle) ),
525
new AutomationAttributeInfo( null,
TextPattern
.StrikethroughColorAttribute, typeof(int) ),
526
new AutomationAttributeInfo( null,
TextPattern
.StrikethroughStyleAttribute, typeof(TextDecorationLineStyle) ),
527
new AutomationAttributeInfo( null,
TextPattern
.TabsAttribute, typeof(double[]) ),
528
new AutomationAttributeInfo( null,
TextPattern
.TextFlowDirectionsAttribute, typeof(FlowDirections) ),
529
new AutomationAttributeInfo( null,
TextPattern
.UnderlineColorAttribute, typeof(int) ),
530
new AutomationAttributeInfo( null,
TextPattern
.UnderlineStyleAttribute, typeof(TextDecorationLineStyle) ),
System\Windows\Automation\Text\TextRange.cs (7)
59
internal TextPatternRange(SafeTextRangeHandle hTextRange,
TextPattern
pattern)
68
internal static TextPatternRange Wrap(SafeTextRangeHandle hTextRange,
TextPattern
pattern)
77
internal static TextPatternRange [] Wrap(SafeTextRangeHandle [] hTextRanges,
TextPattern
pattern)
195
if (attribute ==
TextPattern
.CultureAttribute)
420
public
TextPattern
TextPattern
457
if (!
TextPattern
.Compare(_pattern, range._pattern))
483
TextPattern
_pattern;
System\Windows\Automation\TextPattern.cs (2)
283
static internal bool Compare(
TextPattern
t1,
TextPattern
t2)
UIAutomationClientSideProviders (74)
MS\Internal\AutomationProxies\EventManager.cs (9)
468
ITextProvider textProvider = el.GetPatternProvider(
TextPattern
.Pattern) as ITextProvider;
485
AutomationInteropProvider.RaiseAutomationEvent(
TextPattern
.TextSelectionChangedEvent, el, new AutomationEventArgs(
TextPattern
.TextSelectionChangedEvent));
490
AutomationInteropProvider.RaiseAutomationEvent(
TextPattern
.TextSelectionChangedEvent, el, new AutomationEventArgs(
TextPattern
.TextSelectionChangedEvent));
500
TextPattern
.TextSelectionChangedEvent, el,
501
new AutomationEventArgs(
TextPattern
.TextSelectionChangedEvent));
539
_objectIdClient.Add(
TextPattern
.TextSelectionChangedEvent, new RaiseEvent(HandleTextSelectionChangedEvent));
553
_objectIdCaret.Add(
TextPattern
.TextSelectionChangedEvent, new RaiseEvent(HandleTextSelectionChangedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1308
new CtrlTypePatterns(ControlType.Document,
TextPattern
.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
456
else if (idEvent ==
TextPattern
.TextSelectionChangedEvent)
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
172
else if (iid ==
TextPattern
.Pattern && _type != EditboxType.Password)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (11)
603
if (attribute ==
TextPattern
.BackgroundColorAttribute)
607
else if (attribute ==
TextPattern
.CapStyleAttribute)
611
else if (attribute ==
TextPattern
.FontNameAttribute)
615
else if (attribute ==
TextPattern
.FontSizeAttribute)
619
else if (attribute ==
TextPattern
.FontWeightAttribute)
623
else if (attribute ==
TextPattern
.ForegroundColorAttribute)
627
else if (attribute ==
TextPattern
.HorizontalTextAlignmentAttribute)
631
else if (attribute ==
TextPattern
.IsItalicAttribute)
635
else if (attribute ==
TextPattern
.IsReadOnlyAttribute)
639
else if (attribute ==
TextPattern
.StrikethroughStyleAttribute)
643
else if (attribute ==
TextPattern
.UnderlineStyleAttribute)
MS\Internal\AutomationProxies\WindowsRichEdit.cs (3)
114
if (iid ==
TextPattern
.Pattern && _type != WindowsEditBox.EditboxType.Password && IsDocument())
725
TextPattern
.TextSelectionChangedEvent,
726
this, new AutomationEventArgs(
TextPattern
.TextSelectionChangedEvent));
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (48)
96
if (attribute ==
TextPattern
.BulletStyleAttribute
97
|| attribute ==
TextPattern
.HorizontalTextAlignmentAttribute
98
|| attribute ==
TextPattern
.IndentationFirstLineAttribute
99
|| attribute ==
TextPattern
.IndentationLeadingAttribute
100
|| attribute ==
TextPattern
.IndentationTrailingAttribute
101
|| attribute ==
TextPattern
.TabsAttribute)
562
if (attribute ==
TextPattern
.AnimationStyleAttribute) { rval = GetAnimationStyle(range.Font); }
563
else if (attribute ==
TextPattern
.BackgroundColorAttribute) { rval = GetBackgroundColor(range.Font); }
564
else if (attribute ==
TextPattern
.BulletStyleAttribute) { rval = GetBulletStyle(range.Para); }
565
else if (attribute ==
TextPattern
.CapStyleAttribute) { rval = GetCapStyle(range.Font); }
568
else if (attribute ==
TextPattern
.FontNameAttribute) { rval = GetFontName(range); }
569
else if (attribute ==
TextPattern
.FontSizeAttribute) { rval = GetFontSize(range.Font); }
570
else if (attribute ==
TextPattern
.FontWeightAttribute) { rval = GetFontWeight(range.Font); }
571
else if (attribute ==
TextPattern
.ForegroundColorAttribute) { rval = GetForegroundColor(range.Font); }
573
else if (attribute ==
TextPattern
.HorizontalTextAlignmentAttribute) { rval = GetHorizontalTextAlignment(range.Para); }
574
else if (attribute ==
TextPattern
.IndentationFirstLineAttribute) { rval = GetIndentationFirstLine(range.Para); }
575
else if (attribute ==
TextPattern
.IndentationLeadingAttribute) { rval = GetIndentationLeading(range.Para); }
576
else if (attribute ==
TextPattern
.IndentationTrailingAttribute) { rval = GetIndentationTrailing(range.Para); }
577
else if (attribute ==
TextPattern
.IsHiddenAttribute) { rval = GetHidden(range.Font); }
578
else if (attribute ==
TextPattern
.IsItalicAttribute) { rval = GetItalic(range.Font); }
579
else if (attribute ==
TextPattern
.IsReadOnlyAttribute) { rval = GetReadOnly(range.Font); }
580
else if (attribute ==
TextPattern
.IsSubscriptAttribute) { rval = GetSubscript(range.Font); }
581
else if (attribute ==
TextPattern
.IsSuperscriptAttribute) { rval = GetSuperscript(range.Font); }
591
else if (attribute ==
TextPattern
.OutlineStylesAttribute) { rval = GetOutlineStyles(range.Font); }
599
else if (attribute ==
TextPattern
.StrikethroughStyleAttribute) { rval = GetStrikethroughStyle(range.Font); }
600
else if (attribute ==
TextPattern
.TabsAttribute) { rval = GetTabs(range.Para); }
603
else if (attribute ==
TextPattern
.UnderlineStyleAttribute) { rval = GetUnderlineStyle(range.Font); }
618
return
TextPattern
.MixedAttributeValue;
639
return
TextPattern
.MixedAttributeValue;
661
return
TextPattern
.MixedAttributeValue;
683
return
TextPattern
.MixedAttributeValue;
733
return
TextPattern
.MixedAttributeValue;
747
return
TextPattern
.MixedAttributeValue;
760
return
TextPattern
.MixedAttributeValue;
780
return
TextPattern
.MixedAttributeValue;
802
return
TextPattern
.MixedAttributeValue;
816
return
TextPattern
.MixedAttributeValue;
829
return
TextPattern
.MixedAttributeValue;
842
return
TextPattern
.MixedAttributeValue;
855
return
TextPattern
.MixedAttributeValue;
868
return
TextPattern
.MixedAttributeValue;
885
return
TextPattern
.MixedAttributeValue;
911
return
TextPattern
.MixedAttributeValue;
924
return
TextPattern
.MixedAttributeValue;
937
return
TextPattern
.MixedAttributeValue;
950
return
TextPattern
.MixedAttributeValue;
963
return
TextPattern
.MixedAttributeValue;
989
return
TextPattern
.MixedAttributeValue;