FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AutomationProperties

    struct · ferroui-controls · v0.5.0

    struct AutomationProperties
    

    The attached properties that describe an element to UI automation.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    accelerator_key_property

    fn accelerator_key_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.AcceleratorKey attached property.

    This property affects the default value for AutomationPeer::get_accelerator_key.

    Source

    accessibility_view_property

    fn accessibility_view_property() -> &'static AttachedProperty<AccessibilityView>
    

    Defines the AutomationProperties.AccessibilityView attached property.

    The value of this property affects the default value of the AutomationPeer::is_content_element and AutomationPeer::is_control_element properties.

    Source

    access_key_property

    fn access_key_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.AccessKey attached property.

    This property affects the default value for AutomationPeer::get_access_key.

    Source

    automation_id_property

    fn automation_id_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.AutomationId attached property.

    This property affects the default value for AutomationPeer::get_automation_id.

    Source

    control_type_override_property

    fn control_type_override_property() -> &'static AttachedProperty<Option<AutomationControlType>>
    

    Defines the AutomationProperties.ControlTypeOverride attached property.

    This property affects the default value for AutomationPeer::get_automation_control_type.

    Source

    class_name_override_property

    fn class_name_override_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.ClassNameOverride attached property.

    This property affects the default value for AutomationPeer::get_class_name.

    Source

    is_control_element_override_property

    fn is_control_element_override_property() -> &'static AttachedProperty<Option<bool>>
    

    Defines the AutomationProperties.IsControlElementOverride attached property.

    This property affects the default value for AutomationPeer::is_control_element.

    Source

    help_text_property

    fn help_text_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.HelpText attached property.

    This property affects the default value for AutomationPeer::get_help_text.

    Source

    landmark_type_property

    fn landmark_type_property() -> &'static AttachedProperty<Option<AutomationLandmarkType>>
    

    Defines the AutomationProperties.LandmarkType attached property.

    This property affects the default value for AutomationPeer::get_landmark_type

    Source

    heading_level_property

    fn heading_level_property() -> &'static AttachedProperty<i32>
    

    Defines the AutomationProperties.HeadingLevel attached property.

    This property affects the default value for AutomationPeer::get_heading_level.

    Source

    is_column_header_property

    fn is_column_header_property() -> &'static AttachedProperty<bool>
    

    Defines the AutomationProperties.IsColumnHeader attached property.

    This property currently has no effect.

    Source

    is_required_for_form_property

    fn is_required_for_form_property() -> &'static AttachedProperty<bool>
    

    Defines the AutomationProperties.IsRequiredForForm attached property.

    This property currently has no effect.

    Source

    is_row_header_property

    fn is_row_header_property() -> &'static AttachedProperty<bool>
    

    Defines the AutomationProperties.IsRowHeader attached property.

    This property currently has no effect.

    Source

    is_offscreen_behavior_property

    fn is_offscreen_behavior_property() -> &'static AttachedProperty<IsOffscreenBehavior>
    

    Defines the AutomationProperties.IsOffscreenBehavior attached property.

    This property affects the default value for AutomationPeer::is_offscreen.

    Source

    item_status_property

    fn item_status_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.ItemStatus attached property.

    This property currently has no effect.

    Source

    item_type_property

    fn item_type_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.ItemType attached property.

    This property currently has no effect.

    Source

    labeled_by_property

    fn labeled_by_property() -> &'static AttachedProperty<Option<ElementRef<Control>>>
    

    Defines the AutomationProperties.LabeledBy attached property.

    This property affects the default value for AutomationPeer::get_labeled_by.

    An element does not own the control that labels it, so the value is an element reference.

    Source

    live_setting_property

    fn live_setting_property() -> &'static AttachedProperty<AutomationLiveSetting>
    

    Defines the AutomationProperties.LiveSetting attached property.

    This property affects the default value for AutomationPeer::get_live_setting and controls whether live region changed events are emitted.

    Source

    name_property

    fn name_property() -> &'static AttachedProperty<Option<String>>
    

    Defines the AutomationProperties.Name attached property.

    This property affects the default value for AutomationPeer::get_name.

    Source

    position_in_set_property

    fn position_in_set_property() -> &'static AttachedProperty<i32>
    

    Defines the AutomationProperties.PositionInSet attached property.

    Linux AT-SPI exposes positive values as the posinset attribute.

    The PositionInSet property describes the ordinal location of the element within a set of elements which are considered to be siblings. PositionInSet works in coordination with the SizeOfSet property to describe the ordinal location in the set.

    Source

    size_of_set_property

    fn size_of_set_property() -> &'static AttachedProperty<i32>
    

    Defines the AutomationProperties.SizeOfSet attached property.

    Linux AT-SPI exposes positive values as the setsize attribute.

    The SizeOfSet property describes the count of automation elements in a group or set that are considered to be siblings. SizeOfSet works in coordination with the PositionInSet property to describe the count of items in the set.

    Source

    set_accelerator_key

    fn set_accelerator_key(element: &StyledElement, value: &str)
    

    Helper for setting the value of the accelerator_key_property on a StyledElement.

    Source

    get_accelerator_key

    fn get_accelerator_key(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the accelerator_key_property on a StyledElement.

    Source

    set_accessibility_view

    fn set_accessibility_view(element: &StyledElement, value: AccessibilityView)
    

    Helper for setting the value of the accessibility_view_property on a StyledElement.

    Source

    get_accessibility_view

    fn get_accessibility_view(element: &StyledElement) -> AccessibilityView
    

    Helper for reading the value of the accessibility_view_property on a StyledElement.

    Source

    set_access_key

    fn set_access_key(element: &StyledElement, value: &str)
    

    Helper for setting the value of the access_key_property on a StyledElement.

    Source

    get_access_key

    fn get_access_key(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the access_key_property on a StyledElement.

    Source

    set_automation_id

    fn set_automation_id(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the automation_id_property on a StyledElement.

    Source

    get_automation_id

    fn get_automation_id(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the automation_id_property on a StyledElement.

    Source

    set_control_type_override

    fn set_control_type_override(element: &StyledElement, value: Option<AutomationControlType>)
    

    Helper for setting the value of the control_type_override_property on a StyledElement.

    Source

    get_control_type_override

    fn get_control_type_override(element: &StyledElement) -> Option<AutomationControlType>
    

    Helper for reading the value of the control_type_override_property on a StyledElement.

    Source

    set_class_name_override

    fn set_class_name_override(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the class_name_override_property on a StyledElement.

    Source

    get_class_name_override

    fn get_class_name_override(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the class_name_override_property on a StyledElement.

    Source

    set_is_control_element_override

    fn set_is_control_element_override(element: &StyledElement, value: Option<bool>)
    

    Helper for setting the value of the is_control_element_override_property on a StyledElement.

    Source

    get_is_control_element_override

    fn get_is_control_element_override(element: &StyledElement) -> Option<bool>
    

    Helper for reading the value of the is_control_element_override_property on a StyledElement.

    Source

    set_help_text

    fn set_help_text(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the help_text_property on a StyledElement.

    Source

    get_help_text

    fn get_help_text(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the help_text_property on a StyledElement.

    Source

    set_landmark_type

    fn set_landmark_type(element: &StyledElement, value: Option<AutomationLandmarkType>)
    

    Helper for setting the value of the landmark_type_property on a StyledElement.

    Source

    get_landmark_type

    fn get_landmark_type(element: &StyledElement) -> Option<AutomationLandmarkType>
    

    Helper for reading the value of the landmark_type_property on a StyledElement.

    Source

    set_heading_level

    fn set_heading_level(element: &StyledElement, value: i32)
    

    Helper for setting the value of the heading_level_property on a StyledElement.

    Source

    get_heading_level

    fn get_heading_level(element: &StyledElement) -> i32
    

    Helper for reading the value of the heading_level_property on a StyledElement.

    Source

    set_is_column_header

    fn set_is_column_header(element: &StyledElement, value: bool)
    

    Helper for setting the value of the is_column_header_property on a StyledElement.

    Source

    get_is_column_header

    fn get_is_column_header(element: &StyledElement) -> bool
    

    Helper for reading the value of the is_column_header_property on a StyledElement.

    Source

    set_is_required_for_form

    fn set_is_required_for_form(element: &StyledElement, value: bool)
    

    Helper for setting the value of the is_required_for_form_property on a StyledElement.

    Source

    get_is_required_for_form

    fn get_is_required_for_form(element: &StyledElement) -> bool
    

    Helper for reading the value of the is_required_for_form_property on a StyledElement.

    Source

    get_is_row_header

    fn get_is_row_header(element: &StyledElement) -> bool
    

    Helper for reading the value of the is_row_header_property on a StyledElement.

    Source

    set_is_row_header

    fn set_is_row_header(element: &StyledElement, value: bool)
    

    Helper for setting the value of the is_row_header_property on a StyledElement.

    Source

    set_is_offscreen_behavior

    fn set_is_offscreen_behavior(element: &StyledElement, value: IsOffscreenBehavior)
    

    Helper for setting the value of the is_offscreen_behavior_property on a StyledElement.

    Source

    get_is_offscreen_behavior

    fn get_is_offscreen_behavior(element: &StyledElement) -> IsOffscreenBehavior
    

    Helper for reading the value of the is_offscreen_behavior_property on a StyledElement.

    Source

    set_item_status

    fn set_item_status(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the item_status_property on a StyledElement.

    Source

    get_item_status

    fn get_item_status(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the item_status_property on a StyledElement.

    Source

    set_item_type

    fn set_item_type(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the item_type_property on a StyledElement.

    Source

    get_item_type

    fn get_item_type(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the item_type_property on a StyledElement.

    Source

    set_labeled_by

    fn set_labeled_by(element: &StyledElement, value: impl Into<Nullable<Control>>)
    

    Helper for setting the value of the labeled_by_property on a StyledElement.

    Source

    get_labeled_by

    fn get_labeled_by(element: &StyledElement) -> Option<Ref<Control>>
    

    Helper for reading the value of the labeled_by_property on a StyledElement.

    Source

    set_live_setting

    fn set_live_setting(element: &StyledElement, value: AutomationLiveSetting)
    

    Helper for setting the value of the live_setting_property on a StyledElement.

    Source

    get_live_setting

    fn get_live_setting(element: &StyledElement) -> AutomationLiveSetting
    

    Helper for reading the value of the live_setting_property on a StyledElement.

    Source

    set_name

    fn set_name(element: &StyledElement, value: Option<&str>)
    

    Helper for setting the value of the name_property on a StyledElement.

    Source

    get_name

    fn get_name(element: &StyledElement) -> Option<String>
    

    Helper for reading the value of the name_property on a StyledElement.

    Source

    set_position_in_set

    fn set_position_in_set(element: &StyledElement, value: i32)
    

    Helper for setting the value of the position_in_set_property on a StyledElement.

    Source

    get_position_in_set

    fn get_position_in_set(element: &StyledElement) -> i32
    

    Helper for reading the value of the position_in_set_property on a StyledElement.

    Source

    set_size_of_set

    fn set_size_of_set(element: &StyledElement, value: i32)
    

    Helper for setting the value of the size_of_set_property on a StyledElement.

    Source

    get_size_of_set

    fn get_size_of_set(element: &StyledElement) -> i32
    

    Helper for reading the value of the size_of_set_property on a StyledElement.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.