Drag a slider with UIAutomation RRS feed

  • Question

  • Hi!

    I'd like to drag this slider using System.Windows.Automation. How can I do that?

    System.Windows.Automation has tons of documentation, but no code samples that show how to use the stuff.

    Name:	""
    ControlType:	UIA_SliderControlTypeId (0xC35F)
    LocalizedControlType:	"slider"
    BoundingRectangle:	{l:398 t:547 r:1124 b:569}
    IsEnabled:	true
    IsOffscreen:	false
    IsKeyboardFocusable:	true
    HasKeyboardFocus:	false
    AcceleratorKey:	""
    AccessKey:	""
    ProcessId:	8652
    RuntimeId:	[7.21CC.2FB8550]
    AutomationId:	"sliderFrom"
    FrameworkId:	"WPF"
    ClassName:	"Slider"

    Tuesday, April 7, 2020 4:00 PM