78 references to GetPatternPropertyValue
UIAutomationClient (78)
MS\Internal\Automation\WindowInteractionStateTracker.cs (1)
105Object windowInteractionState = rawEl.GetPatternPropertyValue(WindowPattern.WindowInteractionStateProperty, false);
MS\Internal\Automation\WindowVisualStateTracker.cs (1)
97Object windowVisualState = rawEl.GetPatternPropertyValue(WindowPattern.WindowVisualStateProperty, false);
System\Windows\Automation\AutomationElement.cs (24)
1489public ControlType ControlType { get { return (ControlType) _el.GetPatternPropertyValue(ControlTypeProperty, _useCache); } } 1492public string LocalizedControlType { get { return (string) _el.GetPatternPropertyValue(LocalizedControlTypeProperty, _useCache); } } 1495public string Name { get { return (string) _el.GetPatternPropertyValue(NameProperty, _useCache); } } 1498public string AcceleratorKey { get { return (string) _el.GetPatternPropertyValue(AcceleratorKeyProperty, _useCache); } } 1501public string AccessKey { get { return (string) _el.GetPatternPropertyValue(AccessKeyProperty, _useCache); } } 1504public bool HasKeyboardFocus { get { return (bool) _el.GetPatternPropertyValue(HasKeyboardFocusProperty, _useCache); } } 1507public bool IsKeyboardFocusable { get { return (bool) _el.GetPatternPropertyValue(IsKeyboardFocusableProperty, _useCache); } } 1510public bool IsEnabled { get { return (bool) _el.GetPatternPropertyValue(IsEnabledProperty, _useCache); } } 1513public Rect BoundingRectangle { get { return (Rect) _el.GetPatternPropertyValue(BoundingRectangleProperty, _useCache); } } 1516public string HelpText { get { return (string) _el.GetPatternPropertyValue(HelpTextProperty, _useCache); } } 1519public bool IsControlElement { get { return (bool) _el.GetPatternPropertyValue(IsControlElementProperty, _useCache); } } 1522public bool IsContentElement { get { return (bool) _el.GetPatternPropertyValue(IsContentElementProperty, _useCache); } } 1525public AutomationElement LabeledBy { get { return (AutomationElement) _el.GetPatternPropertyValue(LabeledByProperty, _useCache); } } 1528public string AutomationId { get { return (string) _el.GetPatternPropertyValue(AutomationIdProperty, _useCache); } } 1531public string ItemType { get { return (string) _el.GetPatternPropertyValue(ItemTypeProperty, _useCache ); } } 1534public bool IsPassword { get { return (bool) _el.GetPatternPropertyValue(IsPasswordProperty, _useCache); } } 1537public string ClassName { get { return (string) _el.GetPatternPropertyValue(ClassNameProperty, _useCache); } } 1540public int NativeWindowHandle { get { return (int) _el.GetPatternPropertyValue(NativeWindowHandleProperty, _useCache); } } 1543public int ProcessId { get { return (int) _el.GetPatternPropertyValue(ProcessIdProperty, _useCache); } } 1546public bool IsOffscreen { get { return (bool) _el.GetPatternPropertyValue(IsOffscreenProperty, _useCache); } } 1549public OrientationType Orientation { get { return (OrientationType) _el.GetPatternPropertyValue(OrientationProperty, _useCache); } } 1552public string FrameworkId { get { return (string) _el.GetPatternPropertyValue(FrameworkIdProperty, _useCache); } } 1555public bool IsRequiredForForm { get { return (bool) _el.GetPatternPropertyValue(IsRequiredForFormProperty, _useCache); } } 1558public string ItemStatus { get { return (string) _el.GetPatternPropertyValue(ItemStatusProperty, _useCache); } }
System\Windows\Automation\DockPattern.cs (1)
221return (DockPosition)_el.GetPatternPropertyValue(DockPositionProperty, _useCache);
System\Windows\Automation\ExpandCollapsePattern.cs (1)
240return (ExpandCollapseState)_el.GetPatternPropertyValue(ExpandCollapseStateProperty, _useCache);
System\Windows\Automation\GridItemPattern.cs (5)
233return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 249return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 266return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 283return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 299return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache);
System\Windows\Automation\GridPattern.cs (2)
234return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 250return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache);
System\Windows\Automation\MultipleViewPattern.cs (2)
247return (int)_el.GetPatternPropertyValue(CurrentViewProperty, _useCache); 259return (int [])_el.GetPatternPropertyValue(SupportedViewsProperty, _useCache);
System\Windows\Automation\RangeValuePattern.cs (6)
262object propValue = _el.GetPatternPropertyValue(ValueProperty, _useCache); 297return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache); 311object propValue = _el.GetPatternPropertyValue(MaximumProperty, _useCache); 345object propValue = _el.GetPatternPropertyValue(MinimumProperty, _useCache); 383object propValue = _el.GetPatternPropertyValue(LargeChangeProperty, _useCache); 420object propValue = _el.GetPatternPropertyValue(SmallChangeProperty, _useCache);
System\Windows\Automation\ScrollPattern.cs (6)
298return (double)_el.GetPatternPropertyValue(HorizontalScrollPercentProperty, _useCache); 314return (double)_el.GetPatternPropertyValue(VerticalScrollPercentProperty, _useCache); 330return (double)_el.GetPatternPropertyValue(HorizontalViewSizeProperty, _useCache); 346return (double)_el.GetPatternPropertyValue(VerticalViewSizeProperty, _useCache); 362return (bool)_el.GetPatternPropertyValue(HorizontallyScrollableProperty, _useCache); 378return (bool)_el.GetPatternPropertyValue(VerticallyScrollableProperty, _useCache);
System\Windows\Automation\SelectionItemPattern.cs (2)
278return (bool)_el.GetPatternPropertyValue(IsSelectedProperty, _useCache); 295return (AutomationElement)_el.GetPatternPropertyValue(SelectionContainerProperty, _useCache);
System\Windows\Automation\SelectionPattern.cs (3)
233return (AutomationElement[])_el.GetPatternPropertyValue(SelectionProperty, _useCache); 260return (bool)_el.GetPatternPropertyValue(CanSelectMultipleProperty, _useCache); 278return (bool)_el.GetPatternPropertyValue(IsSelectionRequiredProperty, _useCache);
System\Windows\Automation\TableItemPattern.cs (7)
221return (int)_el.GetPatternPropertyValue(RowProperty, _useCache); 237return (int)_el.GetPatternPropertyValue(ColumnProperty, _useCache); 254return (int)_el.GetPatternPropertyValue(RowSpanProperty, _useCache); 271return (int)_el.GetPatternPropertyValue(ColumnSpanProperty, _useCache); 287return (AutomationElement)_el.GetPatternPropertyValue(ContainingGridProperty, _useCache); 299return (AutomationElement[])_el.GetPatternPropertyValue(RowHeaderItemsProperty, _useCache); 310return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeaderItemsProperty, _useCache);
System\Windows\Automation\TablePattern.cs (5)
207return (AutomationElement[])_el.GetPatternPropertyValue(RowHeadersProperty, _useCache); 218return (AutomationElement[])_el.GetPatternPropertyValue(ColumnHeadersProperty, _useCache); 233return (int)_el.GetPatternPropertyValue(RowCountProperty, _useCache); 249return (int)_el.GetPatternPropertyValue(ColumnCountProperty, _useCache); 263return (RowOrColumnMajor)_el.GetPatternPropertyValue(RowOrColumnMajorProperty, _useCache);
System\Windows\Automation\TogglePattern.cs (1)
229return (ToggleState)_el.GetPatternPropertyValue(ToggleStateProperty, _useCache);
System\Windows\Automation\TransformPattern.cs (3)
272return (bool)_el.GetPatternPropertyValue(CanMoveProperty, _useCache); 286return (bool)_el.GetPatternPropertyValue(CanResizeProperty, _useCache); 300return (bool)_el.GetPatternPropertyValue(CanRotateProperty, _useCache);
System\Windows\Automation\ValuePattern.cs (2)
255object temp = _el.GetPatternPropertyValue(ValueProperty, _useCache); 271return (bool)_el.GetPatternPropertyValue(IsReadOnlyProperty, _useCache);
System\Windows\Automation\WindowPattern.cs (6)
296return (bool)_el.GetPatternPropertyValue(CanMaximizeProperty, _useCache); 310return (bool)_el.GetPatternPropertyValue(CanMinimizeProperty, _useCache); 324return (bool)_el.GetPatternPropertyValue(IsModalProperty, _useCache); 338return (WindowVisualState)_el.GetPatternPropertyValue(WindowVisualStateProperty, _useCache); 352return (WindowInteractionState)_el.GetPatternPropertyValue(WindowInteractionStateProperty, _useCache); 366return (bool)_el.GetPatternPropertyValue(IsTopmostProperty, _useCache);