IValueProvider
trait · ferroui-controls · v0.5.0
trait IValueProvider
Exposes methods and properties to support access by a UI Automation client to controls that have an intrinsic value not spanning a range and that can be represented as a string.
Members
peer
fn peer(self: &Self) -> Ref<AutomationPeer>
The automation peer that provides this contract.
is_read_only
fn is_read_only(self: &Self) -> bool
Gets a value that indicates whether the value of a control is read-only.
Windows: IValueProvider.IsReadOnly. macOS: no mapping.
value
fn value(self: &Self) -> Option<String>
Gets the value of the control.
Windows: IValueProvider.Value. macOS: NSAccessibilityProtocol.accessibilityValue.
set_value
fn set_value(self: &Self, value: Option<&str>) -> Result<(), ProviderError>
Sets the value of a control.
Windows: IValueProvider.SetValue. macOS: NSAccessibilityProtocol.setAccessibilityValue.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.