pub trait ControlImpl: InputElementImpl + Upcast<Control> {
// Provided methods
fn get_template_focus_target(this: &Self) -> Option<Ref<Control>> { ... }
fn on_loaded(this: &Self, e: &RoutedEventArgs) { ... }
fn on_unloaded(this: &Self, e: &RoutedEventArgs) { ... }
fn on_size_changed(this: &Self, e: &SizeChangedEventArgs) { ... }
fn on_create_automation_peer(this: &Self) -> Ref<AutomationPeer> { ... }
}Expand description
The overridable members introduced by the class.
Provided Methods§
Sourcefn get_template_focus_target(this: &Self) -> Option<Ref<Control>>
fn get_template_focus_target(this: &Self) -> Option<Ref<Control>>
Gets the element that receives the focus adorner.
Sourcefn on_loaded(this: &Self, e: &RoutedEventArgs)
fn on_loaded(this: &Self, e: &RoutedEventArgs)
Raises the Loaded event.
Sourcefn on_unloaded(this: &Self, e: &RoutedEventArgs)
fn on_unloaded(this: &Self, e: &RoutedEventArgs)
Raises the Unloaded event.
Sourcefn on_size_changed(this: &Self, e: &SizeChangedEventArgs)
fn on_size_changed(this: &Self, e: &SizeChangedEventArgs)
Raises the SizeChanged event.
Sourcefn on_create_automation_peer(this: &Self) -> Ref<AutomationPeer>
fn on_create_automation_peer(this: &Self) -> Ref<AutomationPeer>
Returns a new, type-specific automation peer implementation for the control.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".