HeaderedContentControl
struct · ferroui-controls · v0.5.0
struct HeaderedContentControl
A ContentControl with a header.
Members
TYPEto_refTEMPLATE_PARTSheader_propertyheader_template_propertyconstructnewheaderset_headerheader_presenterheader_templateset_header_template
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<HeaderedContentControl>
Returns a strong reference to this object.
TEMPLATE_PARTS
const TEMPLATE_PARTS: &'static [TemplatePartAttribute]
The named parts expected in the control template, in addition to those of the base class.
header_property
fn header_property() -> &'static StyledProperty<Option<BoxedValue>>
Defines the Header property.
header_template_property
fn header_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
Defines the HeaderTemplate property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
header
fn header(self: &Self) -> Option<BoxedValue>
The header content.
set_header
fn set_header(self: &Self, value: Option<BoxedValue>)
header_presenter
fn header_presenter(self: &Self) -> Option<Ref<ContentPresenter>>
The header presenter from the control's template.
header_template
fn header_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
The data template used to display the header content of the control.
set_header_template
fn set_header_template(self: &Self, value: Option<Rc<dyn IDataTemplate>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtContentControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<HeaderedContentControl>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplFerroObjectImplContentControlImplIHeadered
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.