1 instantiation of ValuePattern
UIAutomationClient (1)
System\Windows\Automation\ValuePattern.cs (1)
181return new ValuePattern(el, hPattern, cached);
42 references to ValuePattern
UIAutomationClient (6)
MS\Internal\Automation\Schema.cs (6)
312new AutomationPropertyInfo( null, ValuePattern.ValueProperty, typeof(string), "" ), 313new AutomationPropertyInfo( convertToBool, ValuePattern.IsReadOnlyProperty, typeof(bool), true ), 391private static readonly AutomationProperty [ ] ValueProperties = { ValuePattern.ValueProperty, 392ValuePattern.IsReadOnlyProperty }; 455new AutomationPatternInfo( ValuePattern.Pattern, ValueProperties, new WrapObjectClientSide(ValuePattern.Wrap) ),
UIAutomationClientsideProviders (36)
MS\Internal\AutomationProxies\EventManager.cs (6)
162el.RecursiveRaiseEvents(ValuePattern.IsReadOnlyProperty, new AutomationPropertyChangedEventArgs(ValuePattern.IsReadOnlyProperty, null, fIsReadOnly)); 199IValueProvider value = el.GetPatternProvider(ValuePattern.Pattern) as IValueProvider; 203RaisePropertyChangedEvent(el, ValuePattern.ValueProperty, value.Value); 521_objectIdWindow.Add(ValuePattern.IsReadOnlyProperty, new RaiseEvent(HandleIsReadOnlyProperty)); 532_objectIdClient.Add(ValuePattern.ValueProperty, new RaiseEvent(HandleValueProperty));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (2)
242MaybeFirePropertyChangeEvent(ValuePattern.Pattern, ValuePattern.ValueProperty, eventTable, hwnd, idObject, idChild, false);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
877else if(pattern == ValuePattern.Pattern && !String.IsNullOrEmpty(_acc.Value)) 958else if (idProp == ValuePattern.ValueProperty) 1336new CtrlTypePatterns(ControlType.ComboBox, ValuePattern.Pattern), 1338new CtrlTypePatterns(ControlType.Edit, ValuePattern.Pattern), 1343new CtrlTypePatterns(ControlType.ProgressBar, ValuePattern.Pattern),
MS\Internal\AutomationProxies\NonClientArea.cs (3)
701if (eventId == NativeMethods.EventObjectStateChange && idProp == ValuePattern.IsReadOnlyProperty) 723if (idProp == ValuePattern.ValueProperty && eventId == NativeMethods.EVENT_OBJECT_VALUECHANGE) 727scrollBar.DispatchEvents(0, ValuePattern.ValueProperty, NativeMethods.OBJID_CLIENT, 0);
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
381else if (idProp == ValuePattern.ValueProperty || idProp == RangeValuePattern.ValueProperty)
MS\Internal\AutomationProxies\WindowsComboBox.cs (7)
102if (iid == ValuePattern.Pattern && IsEditableCombo()) 397IValueProvider valueProvider = (IValueProvider) editBox.GetPatternProvider (ValuePattern.Pattern); 828if ( p == ValuePattern.ValueProperty || p == ValuePattern.IsReadOnlyProperty ) 847if ( p == ValuePattern.ValueProperty || p == ValuePattern.IsReadOnlyProperty ) 850editPortionEvents[c]._evtId = (p == ValuePattern.ValueProperty) ? NativeMethods.EventObjectValueChange : NativeMethods.EventObjectStateChange;
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
185else if (iid == ValuePattern.Pattern && !IsMultiline)
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
97return iid == ValuePattern.Pattern || iid == GridPattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsListView.cs (1)
1553if (idProp == ValuePattern.ValueProperty)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
82if (iid == ValuePattern.Pattern && WindowsListView.ListViewEditable (_hwnd)) 789IValueProvider valueProvider = editBox.GetPatternProvider (ValuePattern.Pattern) as IValueProvider;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (1)
64if (iid == ValuePattern.Pattern && _item == 0 && WindowsListView.ListViewEditable (_hwnd))
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
120if (iid == ValuePattern.Pattern && !IsMultiline)
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
94if (idChild == 0 && eventId == NativeMethods.EventObjectStateChange && idProp == ValuePattern.IsReadOnlyProperty)
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
460else if (iid == ValuePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
347if (idProp == ValuePattern.ValueProperty) 809else if (iid == ValuePattern.Pattern && IsItemEditable())
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
236if (iid == ValuePattern.Pattern)