Skip to main content

ItemsControlProps

Trait ItemsControlProps 

Source
pub trait ItemsControlProps: ElementBuilder {
    // Provided methods
    fn item_container_theme<M>(
        self,
        value: impl IntoProp<Option<Ref<ControlTheme>>, M>,
    ) -> Self { ... }
    fn items_panel<M>(
        self,
        value: impl IntoProp<Rc<dyn ITemplateOf<Option<Ref<Panel>>>>, M>,
    ) -> Self { ... }
    fn items_source<M>(
        self,
        value: impl IntoProp<Option<ItemsSource>, M>,
    ) -> Self { ... }
    fn item_template<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
    ) -> Self { ... }
}
Expand description

The properties and routed events of ItemsControl.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§