Skip to main content

ContentControlProps

Trait ContentControlProps 

Source
pub trait ContentControlProps: ElementBuilder {
    // Provided methods
    fn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self { ... }
    fn content_template<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
    ) -> Self { ... }
    fn horizontal_content_alignment<M>(
        self,
        value: impl IntoProp<HorizontalAlignment, M>,
    ) -> Self { ... }
    fn vertical_content_alignment<M>(
        self,
        value: impl IntoProp<VerticalAlignment, M>,
    ) -> Self { ... }
}
Expand description

The properties and routed events of ContentControl.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§