78 references to GetPatternPropertyValue
UIAutomationClient (78)
MS\Internal\Automation\WindowInteractionStateTracker.cs (1)
94Object windowInteractionState = rawEl.GetPatternPropertyValue(WindowPattern.WindowInteractionStateProperty, false);
MS\Internal\Automation\WindowVisualStateTracker.cs (1)
89Object windowVisualState = rawEl.GetPatternPropertyValue(WindowPattern.WindowVisualStateProperty, false);
System\Windows\Automation\AutomationElement.cs (24)
1389public ControlType ControlType { get { return (ControlType) _el.GetPatternPropertyValue(ControlTypeProperty, _useCache); } } 1392public string LocalizedControlType { get { return (string) _el.GetPatternPropertyValue(LocalizedControlTypeProperty, _useCache); } } 1395public string Name { get { return (string) _el.GetPatternPropertyValue(NameProperty, _useCache); } } 1398public string AcceleratorKey { get { return (string) _el.GetPatternPropertyValue(AcceleratorKeyProperty, _useCache); } } 1401public string AccessKey { get { return (string) _el.GetPatternPropertyValue(AccessKeyProperty, _useCache); } } 1404public bool HasKeyboardFocus { get { return (bool) _el.GetPatternPropertyValue(HasKeyboardFocusProperty, _useCache); } } 1407public bool IsKeyboardFocusable { get { return (bool) _el.GetPatternPropertyValue(IsKeyboardFocusableProperty, _useCache); } } 1410public bool IsEnabled { get { return (bool) _el.GetPatternPropertyValue(IsEnabledProperty, _useCache); } } 1413public Rect BoundingRectangle { get { return (Rect) _el.GetPatternPropertyValue(BoundingRectangleProperty, _useCache); } } 1416public string HelpText { get { return (string) _el.GetPatternPropertyValue(HelpTextProperty, _useCache); } } 1419public bool IsControlElement { get { return (bool) _el.GetPatternPropertyValue(IsControlElementProperty, _useCache); } } 1422public bool IsContentElement { get { return (bool) _el.GetPatternPropertyValue(IsContentElementProperty, _useCache); } } 1425public AutomationElement LabeledBy { get { return (AutomationElement) _el.GetPatternPropertyValue(LabeledByProperty, _useCache); } } 1428public string AutomationId { get { return (string) _el.GetPatternPropertyValue(AutomationIdProperty, _useCache); } } 1431public string ItemType { get { return (string) _el.GetPatternPropertyValue(ItemTypeProperty, _useCache ); } } 1434public bool IsPassword { get { return (bool) _el.GetPatternPropertyValue(IsPasswordProperty, _useCache); } } 1437public string ClassName { get { return (string) _el.GetPatternPropertyValue(ClassNameProperty, _useCache); } } 1440public int NativeWindowHandle { get { return (int) _el.GetPatternPropertyValue(NativeWindowHandleProperty, _useCache); } } 1443public int ProcessId { get { return (int) _el.GetPatternPropertyValue(ProcessIdProperty, _useCache); } } 1446public bool IsOffscreen { get { return (bool) _el.GetPatternPropertyValue(IsOffscreenProperty, _useCache); } } 1449public OrientationType Orientation { get { return (OrientationType) _el.GetPatternPropertyValue(OrientationProperty, _useCache); } } 1452public string FrameworkId { get { return (string) _el.GetPatternPropertyValue(FrameworkIdProperty, _useCache); } } 1455public bool IsRequiredForForm { get { return (bool) _el.GetPatternPropertyValue(IsRequiredForFormProperty, _useCache); } } 1458public string ItemStatus { get { return (string) _el.GetPatternPropertyValue(ItemStatusProperty, _useCache); } }
System\Windows\Automation\DockPattern.cs (1)
200return (DockPosition)_el.GetPatternPropertyValue(DockPositionProperty, _useCache);
System\Windows\Automation\ExpandCollapsePattern.cs (1)
215return (ExpandCollapseState)_el.GetPatternPropertyValue(ExpandCollapseStateProperty, _useCache);
System\Windows\Automation\GridItemPattern.cs (5)
218return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 229return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 241return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 253return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 264return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache);
System\Windows\Automation\GridPattern.cs (2)
214return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 225return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache);
System\Windows\Automation\MultipleViewPattern.cs (2)
221return (int)_el.GetPatternPropertyValue(CurrentViewProperty, _useCache); 228return (int [])_el.GetPatternPropertyValue(SupportedViewsProperty, _useCache);
System\Windows\Automation\RangeValuePattern.cs (6)
241object propValue = _el.GetPatternPropertyValue(ValueProperty, _useCache); 271return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache); 280object propValue = _el.GetPatternPropertyValue(MaximumProperty, _useCache); 309object propValue = _el.GetPatternPropertyValue(MinimumProperty, _useCache); 342object propValue = _el.GetPatternPropertyValue(LargeChangeProperty, _useCache); 374object propValue = _el.GetPatternPropertyValue(SmallChangeProperty, _useCache);
System\Windows\Automation\ScrollPattern.cs (6)
263return (double)_el.GetPatternPropertyValue(HorizontalScrollPercentProperty, _useCache); 274return (double)_el.GetPatternPropertyValue(VerticalScrollPercentProperty, _useCache); 285return (double)_el.GetPatternPropertyValue(HorizontalViewSizeProperty, _useCache); 296return (double)_el.GetPatternPropertyValue(VerticalViewSizeProperty, _useCache); 307return (bool)_el.GetPatternPropertyValue(HorizontallyScrollableProperty, _useCache); 318return (bool)_el.GetPatternPropertyValue(VerticallyScrollableProperty, _useCache);
System\Windows\Automation\SelectionItemPattern.cs (2)
247return (bool)_el.GetPatternPropertyValue(IsSelectedProperty, _useCache); 259return (AutomationElement)_el.GetPatternPropertyValue(SelectionContainerProperty, _useCache);
System\Windows\Automation\SelectionPattern.cs (3)
216return (AutomationElement[])_el.GetPatternPropertyValue(SelectionProperty, _useCache); 238return (bool)_el.GetPatternPropertyValue(CanSelectMultipleProperty, _useCache); 251return (bool)_el.GetPatternPropertyValue(IsSelectionRequiredProperty, _useCache);
System\Windows\Automation\TableItemPattern.cs (7)
206return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 217return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 229return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 241return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 252return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache); 259return (AutomationElement[])_el.GetPatternPropertyValue(RowHeaderItemsProperty, _useCache); 265return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeaderItemsProperty, _useCache);
System\Windows\Automation\TablePattern.cs (5)
192return (AutomationElement[])_el.GetPatternPropertyValue(RowHeadersProperty, _useCache); 198return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeadersProperty, _useCache); 208return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 219return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache); 228return (RowOrColumnMajor)_el.GetPatternPropertyValue(RowOrColumnMajorProperty, _useCache);
System\Windows\Automation\TogglePattern.cs (1)
209return (ToggleState)_el.GetPatternPropertyValue(ToggleStateProperty, _useCache);
System\Windows\Automation\TransformPattern.cs (3)
243return (bool)_el.GetPatternPropertyValue(CanMoveProperty, _useCache); 252return (bool)_el.GetPatternPropertyValue(CanResizeProperty, _useCache); 261return (bool)_el.GetPatternPropertyValue(CanRotateProperty, _useCache);
System\Windows\Automation\ValuePattern.cs (2)
235object temp = _el.GetPatternPropertyValue(ValueProperty, _useCache); 246return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache);
System\Windows\Automation\WindowPattern.cs (6)
270return (bool)_el.GetPatternPropertyValue(CanMaximizeProperty, _useCache); 279return (bool)_el.GetPatternPropertyValue(CanMinimizeProperty, _useCache); 288return (bool)_el.GetPatternPropertyValue(IsModalProperty, _useCache); 297return (WindowVisualState)_el.GetPatternPropertyValue(WindowVisualStateProperty, _useCache); 306return (WindowInteractionState)_el.GetPatternPropertyValue(WindowInteractionStateProperty, _useCache); 315return (bool)_el.GetPatternPropertyValue(IsTopmostProperty, _useCache);