Skip to main content

IHostedVisualTreeRoot

Trait IHostedVisualTreeRoot 

Source
pub trait IHostedVisualTreeRoot {
    // Required method
    fn host(&self) -> Option<Ref<Visual>>;
}
Expand description

Interface for controls that are at the root of a hosted visual tree, such as popups.

An input element that is such a root returns itself from the as_hosted_visual_tree_root virtual member of InputElement.

Required Methods§

Source

fn host(&self) -> Option<Ref<Visual>>

The visual tree host.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§