78 references to GetPatternPropertyValue
UIAutomationClient (78)
MS\Internal\Automation\WindowInteractionStateTracker.cs (1)
93Object windowInteractionState = rawEl.GetPatternPropertyValue(WindowPattern.WindowInteractionStateProperty, false);
MS\Internal\Automation\WindowVisualStateTracker.cs (1)
88Object windowVisualState = rawEl.GetPatternPropertyValue(WindowPattern.WindowVisualStateProperty, false);
System\Windows\Automation\AutomationElement.cs (24)
1388public ControlType ControlType { get { return (ControlType) _el.GetPatternPropertyValue(ControlTypeProperty, _useCache); } } 1391public string LocalizedControlType { get { return (string) _el.GetPatternPropertyValue(LocalizedControlTypeProperty, _useCache); } } 1394public string Name { get { return (string) _el.GetPatternPropertyValue(NameProperty, _useCache); } } 1397public string AcceleratorKey { get { return (string) _el.GetPatternPropertyValue(AcceleratorKeyProperty, _useCache); } } 1400public string AccessKey { get { return (string) _el.GetPatternPropertyValue(AccessKeyProperty, _useCache); } } 1403public bool HasKeyboardFocus { get { return (bool) _el.GetPatternPropertyValue(HasKeyboardFocusProperty, _useCache); } } 1406public bool IsKeyboardFocusable { get { return (bool) _el.GetPatternPropertyValue(IsKeyboardFocusableProperty, _useCache); } } 1409public bool IsEnabled { get { return (bool) _el.GetPatternPropertyValue(IsEnabledProperty, _useCache); } } 1412public Rect BoundingRectangle { get { return (Rect) _el.GetPatternPropertyValue(BoundingRectangleProperty, _useCache); } } 1415public string HelpText { get { return (string) _el.GetPatternPropertyValue(HelpTextProperty, _useCache); } } 1418public bool IsControlElement { get { return (bool) _el.GetPatternPropertyValue(IsControlElementProperty, _useCache); } } 1421public bool IsContentElement { get { return (bool) _el.GetPatternPropertyValue(IsContentElementProperty, _useCache); } } 1424public AutomationElement LabeledBy { get { return (AutomationElement) _el.GetPatternPropertyValue(LabeledByProperty, _useCache); } } 1427public string AutomationId { get { return (string) _el.GetPatternPropertyValue(AutomationIdProperty, _useCache); } } 1430public string ItemType { get { return (string) _el.GetPatternPropertyValue(ItemTypeProperty, _useCache ); } } 1433public bool IsPassword { get { return (bool) _el.GetPatternPropertyValue(IsPasswordProperty, _useCache); } } 1436public string ClassName { get { return (string) _el.GetPatternPropertyValue(ClassNameProperty, _useCache); } } 1439public int NativeWindowHandle { get { return (int) _el.GetPatternPropertyValue(NativeWindowHandleProperty, _useCache); } } 1442public int ProcessId { get { return (int) _el.GetPatternPropertyValue(ProcessIdProperty, _useCache); } } 1445public bool IsOffscreen { get { return (bool) _el.GetPatternPropertyValue(IsOffscreenProperty, _useCache); } } 1448public OrientationType Orientation { get { return (OrientationType) _el.GetPatternPropertyValue(OrientationProperty, _useCache); } } 1451public string FrameworkId { get { return (string) _el.GetPatternPropertyValue(FrameworkIdProperty, _useCache); } } 1454public bool IsRequiredForForm { get { return (bool) _el.GetPatternPropertyValue(IsRequiredForFormProperty, _useCache); } } 1457public string ItemStatus { get { return (string) _el.GetPatternPropertyValue(ItemStatusProperty, _useCache); } }
System\Windows\Automation\DockPattern.cs (1)
199return (DockPosition)_el.GetPatternPropertyValue(DockPositionProperty, _useCache);
System\Windows\Automation\ExpandCollapsePattern.cs (1)
214return (ExpandCollapseState)_el.GetPatternPropertyValue(ExpandCollapseStateProperty, _useCache);
System\Windows\Automation\GridItemPattern.cs (5)
217return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 228return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 240return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 252return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 263return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache);
System\Windows\Automation\GridPattern.cs (2)
213return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 224return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache);
System\Windows\Automation\MultipleViewPattern.cs (2)
220return (int)_el.GetPatternPropertyValue(CurrentViewProperty, _useCache); 227return (int [])_el.GetPatternPropertyValue(SupportedViewsProperty, _useCache);
System\Windows\Automation\RangeValuePattern.cs (6)
240object propValue = _el.GetPatternPropertyValue(ValueProperty, _useCache); 270return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache); 279object propValue = _el.GetPatternPropertyValue(MaximumProperty, _useCache); 308object propValue = _el.GetPatternPropertyValue(MinimumProperty, _useCache); 341object propValue = _el.GetPatternPropertyValue(LargeChangeProperty, _useCache); 373object propValue = _el.GetPatternPropertyValue(SmallChangeProperty, _useCache);
System\Windows\Automation\ScrollPattern.cs (6)
262return (double)_el.GetPatternPropertyValue(HorizontalScrollPercentProperty, _useCache); 273return (double)_el.GetPatternPropertyValue(VerticalScrollPercentProperty, _useCache); 284return (double)_el.GetPatternPropertyValue(HorizontalViewSizeProperty, _useCache); 295return (double)_el.GetPatternPropertyValue(VerticalViewSizeProperty, _useCache); 306return (bool)_el.GetPatternPropertyValue(HorizontallyScrollableProperty, _useCache); 317return (bool)_el.GetPatternPropertyValue(VerticallyScrollableProperty, _useCache);
System\Windows\Automation\SelectionItemPattern.cs (2)
246return (bool)_el.GetPatternPropertyValue(IsSelectedProperty, _useCache); 258return (AutomationElement)_el.GetPatternPropertyValue(SelectionContainerProperty, _useCache);
System\Windows\Automation\SelectionPattern.cs (3)
215return (AutomationElement[])_el.GetPatternPropertyValue(SelectionProperty, _useCache); 237return (bool)_el.GetPatternPropertyValue(CanSelectMultipleProperty, _useCache); 250return (bool)_el.GetPatternPropertyValue(IsSelectionRequiredProperty, _useCache);
System\Windows\Automation\TableItemPattern.cs (7)
205return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 216return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 228return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 240return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 251return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache); 258return (AutomationElement[])_el.GetPatternPropertyValue(RowHeaderItemsProperty, _useCache); 264return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeaderItemsProperty, _useCache);
System\Windows\Automation\TablePattern.cs (5)
191return (AutomationElement[])_el.GetPatternPropertyValue(RowHeadersProperty, _useCache); 197return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeadersProperty, _useCache); 207return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 218return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache); 227return (RowOrColumnMajor)_el.GetPatternPropertyValue(RowOrColumnMajorProperty, _useCache);
System\Windows\Automation\TogglePattern.cs (1)
208return (ToggleState)_el.GetPatternPropertyValue(ToggleStateProperty, _useCache);
System\Windows\Automation\TransformPattern.cs (3)
242return (bool)_el.GetPatternPropertyValue(CanMoveProperty, _useCache); 251return (bool)_el.GetPatternPropertyValue(CanResizeProperty, _useCache); 260return (bool)_el.GetPatternPropertyValue(CanRotateProperty, _useCache);
System\Windows\Automation\ValuePattern.cs (2)
234object temp = _el.GetPatternPropertyValue(ValueProperty, _useCache); 245return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache);
System\Windows\Automation\WindowPattern.cs (6)
269return (bool)_el.GetPatternPropertyValue(CanMaximizeProperty, _useCache); 278return (bool)_el.GetPatternPropertyValue(CanMinimizeProperty, _useCache); 287return (bool)_el.GetPatternPropertyValue(IsModalProperty, _useCache); 296return (WindowVisualState)_el.GetPatternPropertyValue(WindowVisualStateProperty, _useCache); 305return (WindowInteractionState)_el.GetPatternPropertyValue(WindowInteractionStateProperty, _useCache); 314return (bool)_el.GetPatternPropertyValue(IsTopmostProperty, _useCache);