1 instantiation of ValuePattern
UIAutomationClient (1)
System\Windows\Automation\ValuePattern.cs (1)
166
return new
ValuePattern
(el, hPattern, cached);
42 references to ValuePattern
UIAutomationClient (6)
MS\Internal\Automation\Schema.cs (6)
333
new AutomationPropertyInfo( null,
ValuePattern
.ValueProperty, typeof(string), "" ),
334
new AutomationPropertyInfo( convertToBool,
ValuePattern
.IsReadOnlyProperty, typeof(bool), true ),
412
private static readonly AutomationProperty [ ] ValueProperties = {
ValuePattern
.ValueProperty,
413
ValuePattern
.IsReadOnlyProperty };
476
new AutomationPatternInfo(
ValuePattern
.Pattern, ValueProperties, new WrapObjectClientSide(
ValuePattern
.Wrap) ),
UIAutomationClientSideProviders (36)
MS\Internal\AutomationProxies\EventManager.cs (6)
149
el.RecursiveRaiseEvents(
ValuePattern
.IsReadOnlyProperty, new AutomationPropertyChangedEventArgs(
ValuePattern
.IsReadOnlyProperty, null, fIsReadOnly));
186
IValueProvider value = el.GetPatternProvider(
ValuePattern
.Pattern) as IValueProvider;
190
RaisePropertyChangedEvent(el,
ValuePattern
.ValueProperty, value.Value);
508
_objectIdWindow.Add(
ValuePattern
.IsReadOnlyProperty, new RaiseEvent(HandleIsReadOnlyProperty));
519
_objectIdClient.Add(
ValuePattern
.ValueProperty, new RaiseEvent(HandleValueProperty));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (2)
228
MaybeFirePropertyChangeEvent(
ValuePattern
.Pattern,
ValuePattern
.ValueProperty, eventTable, hwnd, idObject, idChild, false);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
855
else if(pattern ==
ValuePattern
.Pattern && !String.IsNullOrEmpty(_acc.Value))
936
else if (idProp ==
ValuePattern
.ValueProperty)
1307
new CtrlTypePatterns(ControlType.ComboBox,
ValuePattern
.Pattern),
1309
new CtrlTypePatterns(ControlType.Edit,
ValuePattern
.Pattern),
1314
new CtrlTypePatterns(ControlType.ProgressBar,
ValuePattern
.Pattern),
MS\Internal\AutomationProxies\NonClientArea.cs (3)
700
if (eventId == NativeMethods.EventObjectStateChange && idProp ==
ValuePattern
.IsReadOnlyProperty)
722
if (idProp ==
ValuePattern
.ValueProperty && eventId == NativeMethods.EVENT_OBJECT_VALUECHANGE)
726
scrollBar.DispatchEvents(0,
ValuePattern
.ValueProperty, NativeMethods.OBJID_CLIENT, 0);
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
365
else if (idProp ==
ValuePattern
.ValueProperty || idProp == RangeValuePattern.ValueProperty)
MS\Internal\AutomationProxies\WindowsComboBox.cs (7)
86
if (iid ==
ValuePattern
.Pattern && IsEditableCombo())
380
IValueProvider valueProvider = (IValueProvider) editBox.GetPatternProvider (
ValuePattern
.Pattern);
811
if ( p ==
ValuePattern
.ValueProperty || p ==
ValuePattern
.IsReadOnlyProperty )
830
if ( p ==
ValuePattern
.ValueProperty || p ==
ValuePattern
.IsReadOnlyProperty )
833
editPortionEvents[c]._evtId = (p ==
ValuePattern
.ValueProperty) ? NativeMethods.EventObjectValueChange : NativeMethods.EventObjectStateChange;
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
167
else if (iid ==
ValuePattern
.Pattern && !IsMultiline)
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
83
return iid ==
ValuePattern
.Pattern || iid == GridPattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1544
if (idProp ==
ValuePattern
.ValueProperty)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
74
if (iid ==
ValuePattern
.Pattern && WindowsListView.ListViewEditable (_hwnd))
778
IValueProvider valueProvider = editBox.GetPatternProvider (
ValuePattern
.Pattern) as IValueProvider;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (1)
56
if (iid ==
ValuePattern
.Pattern && _item == 0 && WindowsListView.ListViewEditable (_hwnd))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
104
if (iid ==
ValuePattern
.Pattern && !IsMultiline)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
80
if (idChild == 0 && eventId == NativeMethods.EventObjectStateChange && idProp ==
ValuePattern
.IsReadOnlyProperty)
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
446
else if (iid ==
ValuePattern
.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
336
if (idProp ==
ValuePattern
.ValueProperty)
798
else if (iid ==
ValuePattern
.Pattern && IsItemEditable())
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
226
if (iid ==
ValuePattern
.Pattern)