PagerControlAutomationPeer
struct · ferroui-controls · v0.5.0
struct PagerControlAutomationPeer
The automation peer of a PagerControl: a menu with the selection pattern, as in WinUI.
The selection is empty, as WinUI's GetSelection returns it: the number panel mixes buttons
and ellipses, so the index of an element is not the index of a page. A change of the
selected page invalidates the selection pattern (WinUI's SelectionPatternOnInvalidated),
which FerroUI's automation reports as a change of its Selection property.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PagerControlAutomationPeer>
Returns a strong reference to this object.
construct
fn construct(owner: &PagerControl) -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new(owner: &PagerControl) -> Ref<Self>
Initializes a new peer of owner.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<PagerControlAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.