ItemsPresenter
struct · ferroui-controls · v0.5.0
struct ItemsPresenter
Presents items inside an ItemsControl.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ItemsPresenter>
Returns a strong reference to this object.
items_panel_property
fn items_panel_property() -> &'static StyledProperty<Rc<dyn ITemplateOf<Option<Ref<Panel>>>>>
Defines the ItemsPanel property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
items_panel
fn items_panel(self: &Self) -> Rc<dyn ITemplateOf<Option<Ref<Panel>>>>
Gets or sets a template which creates the Panel used to display
the items.
set_items_panel
fn set_items_panel(self: &Self, value: Rc<dyn ITemplateOf<Option<Ref<Panel>>>>)
panel
fn panel(self: &Self) -> Option<Ref<Panel>>
Gets the panel used to display the items.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<ItemsPresenter>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplControlImplFerroObjectImplVisualImplLayoutableImplInputElementImplIScrollableILogicalScrollable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.