Skip to main content

AutomationExt

Trait AutomationExt 

Source
pub trait AutomationExt: LayoutControl + Sized {
    // Provided methods
    fn automation_name(self, value: impl Into<String>) -> Self { ... }
    fn automation_id(self, value: impl Into<String>) -> Self { ... }
    fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self { ... }
}
Expand description

Adds UI Automation metadata to a native control.

Provided Methods§

Source

fn automation_name(self, value: impl Into<String>) -> Self

Source

fn automation_id(self, value: impl Into<String>) -> Self

Source

fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§