TreeViewItemAutomationPeer
struct · ferroui-controls · v0.5.0
struct TreeViewItemAutomationPeer
An automation peer which represents a TreeViewItem.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TreeViewItemAutomationPeer>
Returns a strong reference to this object.
construct
fn construct(owner: &TreeViewItem) -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new(owner: &TreeViewItem) -> Ref<Self>
Initializes a new peer of owner.
is_selected
fn is_selected(self: &Self) -> bool
Gets a value that indicates whether the item is selected (the selection item provider contract).
selection_container
fn selection_container(self: &Self) -> Option<Rc<dyn ISelectionProvider>>
Gets the selection provider of the tree view of the item (the selection item provider contract).
select
fn select(self: &Self) -> Result<(), AutomationError>
Clears any existing selection and then selects the item (the selection item provider contract).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtItemsControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<TreeViewItemAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplItemsControlAutomationPeerImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.