FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichTextBlockOverflow

    struct · ferroui-controls · v0.5.0

    struct RichTextBlockOverflow
    

    A continuation of another rich-text view, with its own width and height. Link it with RichTextBlock::set_overflow_content_target; the document and its shaped paragraph continuation are shared through weak view references.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RichTextBlockOverflow>
    

    Returns a strong reference to this object.

    Source

    content_source_property

    fn content_source_property() -> &'static DirectProperty<RichTextBlockOverflow, Option<Ref<RichTextBlock>>>
    

    Source

    content_source

    fn content_source(self: &Self) -> Option<Ref<RichTextBlock>>
    

    The primary rich-text view resolved by linked layout setup. Linking a chain clears this cache; a getter does not force the chain to measure.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.