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§
Sourcefn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
fn content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self
Sourcefn content_template<M>(
self,
value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
) -> Self
fn content_template<M>( self, value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>, ) -> Self
Sourcefn horizontal_content_alignment<M>(
self,
value: impl IntoProp<HorizontalAlignment, M>,
) -> Self
fn horizontal_content_alignment<M>( self, value: impl IntoProp<HorizontalAlignment, M>, ) -> Self
Sourcefn vertical_content_alignment<M>(
self,
value: impl IntoProp<VerticalAlignment, M>,
) -> Self
fn vertical_content_alignment<M>( self, value: impl IntoProp<VerticalAlignment, M>, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".