This is a migrated thread and some comments may be shown as answers.

AutomationMode

4 Answers 221 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Maurício
Top achievements
Rank 1
Maurício asked on 18 Feb 2016, 12:42 PM

Hello
What are the possible drawbacks of disabling the AutomationManager?

AutomationManager.AutomationMode = AutomationMode.Disabled;

It drastically improved shape manipulation. It was extremelly slow when resizing and creating shapes before changing the AutomationMode.

My question is, what is this for? What am I losing by disabling it? I've read the documentation but didn't understand it well.

Thank you!!

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Dinko
Telerik team
answered on 23 Feb 2016, 11:53 AM
Hello MaurĂ­cio,

Thank you for contacting Telerik Support.

Let me get straight to your questions.
  • What is this for? - The Microsoft UI Automation (UIA) framework provides programmatic access to most user interface elements on Win32, WinForms, and WPF applications. It is primarily used for the purposes of automated UI testing and accessibility assistance. The UIA framework exposes every UI component as an AutomationElement object. These objects comprise a tree structure wherein the Windows desktop is the root element. Each AutomationElement exposes a set of control patterns which define the way clients can interact them. For example, if the element defines a ValuePattern, a client can get this pattern and store it in a ValuePattern object, and use that objects getValue and setValue methods to access the UI element's value (the text in a textbox for instance). 
  • What am I losing by disabling it? - By default, our controls have UI automation peers turned on and their code is invoked multiple times on a touch device. By disabling it, you can't use Code UI for testing. Also, you won't be able use the MS Narrator tool or any other end tool that uses automation peers.

Regards,
Dinko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Alexander
Top achievements
Rank 1
answered on 29 Feb 2020, 01:36 PM

FYI:

Disabling AutomationManager like this:
AutomationManager.AutomationMode = AutomationMode.Disabled;

Disable KeyTipServcie in RibbonBar.

 

0
Dinko
Telerik team
answered on 04 Mar 2020, 11:20 AM

Hello Alexander,

I have double-checked this behavior but wasn't able to reproduce this. Is it possible to isolate this behavior in a standalone project which demonstrates this? This way I can take a look and check if I have missed something or the reason behind this comes from somewhere else.

Regards,
Dinko
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alexander
Top achievements
Rank 1
answered on 04 Mar 2020, 12:01 PM

Hi Dinko,

thanks for reply.

 

i can't attach my example project. 

Regards,

Alexander

Tags
Diagram
Asked by
Maurício
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or