pub struct Flyout { /* private fields */ }Expand description
A flyout that displays arbitrary content.
Implementations§
Source§impl Flyout
impl Flyout
Sourcepub fn content_property() -> &'static StyledProperty<Option<BoxedValue>>
pub fn content_property() -> &'static StyledProperty<Option<BoxedValue>>
Defines the Content property.
Sourcepub fn content_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
pub fn content_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
Defines the ContentTemplate property.
Sourcepub fn flyout_presenter_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
pub fn flyout_presenter_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
Defines the FlyoutPresenterTheme property.
Source§impl Flyout
impl Flyout
Sourcepub fn construct() -> Self
pub fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
Sourcepub fn flyout_presenter_classes(&self) -> Classes
pub fn flyout_presenter_classes(&self) -> Classes
The classes collection to apply to the flyout presenter this flyout is hosting.
Sourcepub fn flyout_presenter_theme(&self) -> Option<Ref<ControlTheme>>
pub fn flyout_presenter_theme(&self) -> Option<Ref<ControlTheme>>
The control theme that is applied to the container element generated for the flyout presenter.
pub fn set_flyout_presenter_theme( &self, value: impl Into<Nullable<ControlTheme>>, )
Sourcepub fn content(&self) -> Option<BoxedValue>
pub fn content(&self) -> Option<BoxedValue>
The content to display in this flyout.
pub fn set_content(&self, value: Option<BoxedValue>)
Sourcepub fn content_template(&self) -> Option<Rc<dyn IDataTemplate>>
pub fn content_template(&self) -> Option<Rc<dyn IDataTemplate>>
The data template used to display the content of the flyout.
pub fn set_content_template(&self, value: Option<Rc<dyn IDataTemplate>>)
Methods from Deref<Target = PopupFlyoutBase>§
Sourcepub fn to_ref(&self) -> Ref<PopupFlyoutBase>
pub fn to_ref(&self) -> Ref<PopupFlyoutBase>
Returns a strong reference to this object.
Sourcepub fn hide_core(&self, can_cancel: bool) -> bool
pub fn hide_core(&self, can_cancel: bool) -> bool
Hides the flyout; can_cancel tells whether the Closing event
is raised and may cancel. Returns true if the action was handled.
Sourcepub fn show_at_core(
&self,
placement_target: &Control,
show_at_pointer: bool,
) -> bool
pub fn show_at_core( &self, placement_target: &Control, show_at_pointer: bool, ) -> bool
Shows the flyout at the given control, at the pointer location
when show_at_pointer. Returns true if the action was handled.
Sourcepub fn on_opening(&self, args: &CancelEventArgs)
pub fn on_opening(&self, args: &CancelEventArgs)
Raises the Opening event.
Sourcepub fn on_closing(&self, args: &CancelEventArgs)
pub fn on_closing(&self, args: &CancelEventArgs)
Raises the Closing event.
Sourcepub fn create_presenter(&self) -> Ref<Control>
pub fn create_presenter(&self) -> Ref<Control>
Used to create the content the flyout displays.
Sourcepub fn popup(&self) -> Ref<Popup>
pub fn popup(&self) -> Ref<Popup>
The popup the flyout is shown in, created on first use. For derived classes.
Sourcepub fn placement(&self) -> PlacementMode
pub fn placement(&self) -> PlacementMode
The desired placement of the flyout in relation to its target.
pub fn set_placement(&self, value: PlacementMode)
Sourcepub fn placement_gravity(&self) -> PopupGravity
pub fn placement_gravity(&self) -> PopupGravity
Defines in what direction the flyout should open when the placement
is PlacementMode::AnchorAndGravity.
pub fn set_placement_gravity(&self, value: PopupGravity)
Sourcepub fn placement_anchor(&self) -> PopupAnchor
pub fn placement_anchor(&self) -> PopupAnchor
The anchor point on the placement rect when the placement is
PlacementMode::AnchorAndGravity.
pub fn set_placement_anchor(&self, value: PopupAnchor)
Sourcepub fn horizontal_offset(&self) -> f64
pub fn horizontal_offset(&self) -> f64
The horizontal offset of the flyout in relation to its target.
pub fn set_horizontal_offset(&self, value: f64)
Sourcepub fn vertical_offset(&self) -> f64
pub fn vertical_offset(&self) -> f64
The vertical offset of the flyout in relation to its target.
pub fn set_vertical_offset(&self, value: f64)
Sourcepub fn custom_popup_placement_callback(
&self,
) -> Option<CustomPopupPlacementCallback>
pub fn custom_popup_placement_callback( &self, ) -> Option<CustomPopupPlacementCallback>
The callback that positions the flyout when the placement is
PlacementMode::Custom.
pub fn set_custom_popup_placement_callback( &self, value: Option<CustomPopupPlacementCallback>, )
Sourcepub fn show_mode(&self) -> FlyoutShowMode
pub fn show_mode(&self) -> FlyoutShowMode
The desired show mode.
pub fn set_show_mode(&self, value: FlyoutShowMode)
Sourcepub fn overlay_dismiss_event_pass_through(&self) -> bool
pub fn overlay_dismiss_event_pass_through(&self) -> bool
Whether the event that closes the flyout is passed through to the parent window.
Clicks outside the popup cause the popup to close. When this is false, these clicks will be handled by the popup and not be registered by the parent window. When true, the events will be passed through to the parent window.
pub fn set_overlay_dismiss_event_pass_through(&self, value: bool)
Sourcepub fn overlay_input_pass_through_element(&self) -> Option<Ref<InputElement>>
pub fn overlay_input_pass_through_element(&self) -> Option<Ref<InputElement>>
An element that should receive pointer input events even when underneath the flyout’s overlay.
pub fn set_overlay_input_pass_through_element( &self, value: impl Into<Nullable<InputElement>>, )
Sourcepub fn placement_constraint_adjustment(
&self,
) -> PopupPositionerConstraintAdjustment
pub fn placement_constraint_adjustment( &self, ) -> PopupPositionerConstraintAdjustment
Describes how the flyout position will be adjusted if the unadjusted position would result in the flyout being partly constrained.
pub fn set_placement_constraint_adjustment( &self, value: PopupPositionerConstraintAdjustment, )
Sourcepub fn to_popup_host_provider(&self) -> Rc<dyn IPopupHostProvider>
pub fn to_popup_host_provider(&self) -> Rc<dyn IPopupHostProvider>
The flyout as a popup host provider (the diagnostics contract it implements in the reference).
Sourcepub fn closing(
&self,
handler: impl Fn(&CancelEventArgs) + 'static,
) -> Rc<dyn IDisposable>
pub fn closing( &self, handler: impl Fn(&CancelEventArgs) + 'static, ) -> Rc<dyn IDisposable>
Raised before the flyout closes; the close can be cancelled. Disposing the returned handle unsubscribes.
Sourcepub fn opening(
&self,
handler: impl Fn(&CancelEventArgs) + 'static,
) -> Rc<dyn IDisposable>
pub fn opening( &self, handler: impl Fn(&CancelEventArgs) + 'static, ) -> Rc<dyn IDisposable>
Raised before the flyout opens; the opening can be cancelled. Disposing the returned handle unsubscribes.
Sourcepub fn show_at_with(&self, placement_target: &Control, show_at_pointer: bool)
pub fn show_at_with(&self, placement_target: &Control, show_at_pointer: bool)
Shows the flyout for the given control at the current pointer
location when show_at_pointer, as in a context flyout.
Methods from Deref<Target = FlyoutBase>§
Sourcepub fn to_ref(&self) -> Ref<FlyoutBase>
pub fn to_ref(&self) -> Ref<FlyoutBase>
Returns a strong reference to this object.
Sourcepub fn opened(&self, handler: impl Fn() + 'static) -> Rc<dyn IDisposable>
pub fn opened(&self, handler: impl Fn() + 'static) -> Rc<dyn IDisposable>
Raised when the flyout is opened. Disposing the returned handle unsubscribes.
Sourcepub fn closed(&self, handler: impl Fn() + 'static) -> Rc<dyn IDisposable>
pub fn closed(&self, handler: impl Fn() + 'static) -> Rc<dyn IDisposable>
Raised when the flyout is closed. Disposing the returned handle unsubscribes.
Sourcepub fn is_open(&self) -> bool
pub fn is_open(&self) -> bool
Whether this flyout is currently open.
Setting this property to true will show the flyout at the last
known placement target. If no target has been set via show_at,
setting this to true will have no effect.
pub fn set_is_open(&self, value: bool)
Sourcepub fn set_target(&self, value: impl Into<Nullable<Control>>)
pub fn set_target(&self, value: impl Into<Nullable<Control>>)
Sets the target used for showing the flyout. For derived classes.
Methods from Deref<Target = FerroObject>§
Sourcepub fn dispatcher(&self) -> &Arc<Dispatcher> ⓘ
pub fn dispatcher(&self) -> &Arc<Dispatcher> ⓘ
Returns the Dispatcher that this object is associated with: the
dispatcher of the thread that owns the object.
Sourcepub fn check_access(&self) -> bool
pub fn check_access(&self) -> bool
Returns whether the calling thread is the thread that owns this object.
Sourcepub fn verify_access(&self)
pub fn verify_access(&self)
Sourcepub fn to_ref(&self) -> Ref<FerroObject>
pub fn to_ref(&self) -> Ref<FerroObject>
A strong reference to this object.
Sourcepub fn to_weak(&self) -> WeakRef<FerroObject>
pub fn to_weak(&self) -> WeakRef<FerroObject>
A weak reference to this object.
Sourcepub fn is<T>(&self) -> boolwhere
T: ObjectType,
pub fn is<T>(&self) -> boolwhere
T: ObjectType,
Whether the object is of class T or a class derived from it.
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Returns the object viewed as class T if it is one.
Sourcepub fn on_property_changed(&self, change: &FerroPropertyChangedEventArgs<'_>)
pub fn on_property_changed(&self, change: &FerroPropertyChangedEventArgs<'_>)
Invokes the on_property_changed virtual member.
Sourcepub fn inheritance_parent(&self) -> Option<Ref<FerroObject>>
pub fn inheritance_parent(&self) -> Option<Ref<FerroObject>>
The parent object that inherited property values are inherited from.
Sourcepub fn set_inheritance_parent(&self, value: impl Into<Nullable<FerroObject>>)
pub fn set_inheritance_parent(&self, value: impl Into<Nullable<FerroObject>>)
Sets the parent object that inherited property values are inherited from.
Sourcepub fn clear_value<T>(&self, property: &'static StyledProperty<T>)where
T: PropertyValue,
pub fn clear_value<T>(&self, property: &'static StyledProperty<T>)where
T: PropertyValue,
Clears a property’s local value.
Sourcepub fn get_value<T>(&self, property: &'static StyledProperty<T>) -> Twhere
T: PropertyValue,
pub fn get_value<T>(&self, property: &'static StyledProperty<T>) -> Twhere
T: PropertyValue,
Gets a property value.
Sourcepub fn get_base_value<T>(
&self,
property: &'static StyledProperty<T>,
) -> Option<T>where
T: PropertyValue,
pub fn get_base_value<T>(
&self,
property: &'static StyledProperty<T>,
) -> Option<T>where
T: PropertyValue,
Gets a property’s base value: the value excluding animated values.
Returns None if the value comes from inheritance or the default.
Sourcepub fn is_animating(&self, property: &FerroProperty) -> bool
pub fn is_animating(&self, property: &FerroProperty) -> bool
Checks whether a property is animating.
Sourcepub fn is_set(&self, property: &FerroProperty) -> bool
pub fn is_set(&self, property: &FerroProperty) -> bool
Checks whether a styled property has a value assigned to it or a binding targeting it.
Sourcepub fn set_value<T>(&self, property: &'static StyledProperty<T>, value: T)where
T: PropertyValue,
pub fn set_value<T>(&self, property: &'static StyledProperty<T>, value: T)where
T: PropertyValue,
Sets a property value with local value priority.
Sourcepub fn set_value_with_priority<T>(
&self,
property: &'static StyledProperty<T>,
value: T,
priority: BindingPriority,
) -> Option<Rc<dyn IDisposable>>where
T: PropertyValue,
pub fn set_value_with_priority<T>(
&self,
property: &'static StyledProperty<T>,
value: T,
priority: BindingPriority,
) -> Option<Rc<dyn IDisposable>>where
T: PropertyValue,
Sets a property value with the given priority. For priorities other than local value, disposing the returned handle removes the value.
Sourcepub fn set_current_value<T>(
&self,
property: &'static StyledProperty<T>,
value: T,
)where
T: PropertyValue,
pub fn set_current_value<T>(
&self,
property: &'static StyledProperty<T>,
value: T,
)where
T: PropertyValue,
Sets the value of a property without changing its value source.
This is used by a component that programmatically sets the value of one of its own properties without disabling an application’s declared use of the property: the effective value changes, but existing bindings and styles continue to work. The new value has the property’s current priority.
Sourcepub fn bind_binding(
&self,
property: &'static FerroProperty,
binding: &dyn BindingBase,
) -> Rc<dyn BindingExpressionBase>
pub fn bind_binding( &self, property: &'static FerroProperty, binding: &dyn BindingBase, ) -> Rc<dyn BindingExpressionBase>
Binds a property to a binding. Returns the binding expression which represents the binding instance on this object.
Sourcepub fn bind_binding_with_anchor(
&self,
property: &'static FerroProperty,
binding: &dyn BindingBase,
anchor: Option<&Ref<FerroObject>>,
) -> Rc<dyn BindingExpressionBase>
pub fn bind_binding_with_anchor( &self, property: &'static FerroProperty, binding: &dyn BindingBase, anchor: Option<&Ref<FerroObject>>, ) -> Rc<dyn BindingExpressionBase>
Binds a property to a binding.
Some bindings need context to locate their source: a data context,
named elements or resources. If this object is not an element, or is
not yet attached to the tree, anchor provides that context.
Sourcepub fn indexer(&self, binding: &IndexerDescriptor) -> IndexerBinding
pub fn indexer(&self, binding: &IndexerDescriptor) -> IndexerBinding
Gets a binding to a property of this object: the indexer taking an
IndexerDescriptor
(source[!Property] is source.indexer(&Property.bind())).
Sourcepub fn bind_indexer(
&self,
binding: &IndexerDescriptor,
value: &dyn BindingBase,
) -> Rc<dyn BindingExpressionBase>
pub fn bind_indexer( &self, binding: &IndexerDescriptor, value: &dyn BindingBase, ) -> Rc<dyn BindingExpressionBase>
Binds the property of an
IndexerDescriptor to a binding:
the setter of the indexer (target[!Property] = binding is
target.bind_indexer(&Property.bind(), &binding)).
Sourcepub fn bind<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<T>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<T>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a property to an observable.
Sourcepub fn bind_value<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<BindingValue<T>>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind_value<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<BindingValue<T>>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a property to an observable of binding values.
Sourcepub fn bind_untyped<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<Rc<dyn AnyValue>>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind_untyped<T>(
&self,
property: &'static StyledProperty<T>,
source: Rc<dyn IObservable<Rc<dyn AnyValue>>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a property to an observable of untyped values.
Sourcepub fn coerce_value(&self, property: &'static FerroProperty)
pub fn coerce_value(&self, property: &'static FerroProperty)
Coerces the specified property.
Sourcepub fn get_direct_value<T>(&self, property: &'static DirectPropertyBase<T>) -> Twhere
T: PropertyValue,
pub fn get_direct_value<T>(&self, property: &'static DirectPropertyBase<T>) -> Twhere
T: PropertyValue,
Gets a direct property value.
Sourcepub fn set_direct_value<T>(
&self,
property: &'static DirectPropertyBase<T>,
value: T,
)where
T: PropertyValue,
pub fn set_direct_value<T>(
&self,
property: &'static DirectPropertyBase<T>,
value: T,
)where
T: PropertyValue,
Sets a direct property value.
Sourcepub fn clear_direct_value<T>(&self, property: &'static DirectPropertyBase<T>)where
T: PropertyValue,
pub fn clear_direct_value<T>(&self, property: &'static DirectPropertyBase<T>)where
T: PropertyValue,
Resets a direct property to its unset value.
Sourcepub fn bind_direct<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<T>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind_direct<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<T>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a direct property to an observable.
Sourcepub fn bind_direct_value<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<BindingValue<T>>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind_direct_value<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<BindingValue<T>>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a direct property to an observable of binding values.
Sourcepub fn bind_direct_untyped<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<Rc<dyn AnyValue>>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
pub fn bind_direct_untyped<T>(
&self,
property: &'static DirectPropertyBase<T>,
source: Rc<dyn IObservable<Rc<dyn AnyValue>>>,
) -> Rc<dyn IDisposable>where
T: PropertyValue,
Binds a direct property to an observable of untyped values.
Sourcepub fn set_and_raise<T>(
&self,
property: &'static DirectPropertyBase<T>,
field: &RefCell<T>,
value: T,
) -> boolwhere
T: PropertyValue,
pub fn set_and_raise<T>(
&self,
property: &'static DirectPropertyBase<T>,
field: &RefCell<T>,
value: T,
) -> boolwhere
T: PropertyValue,
Sets the backing field of a direct property, raising a change notification if the value changed. Returns true if it changed.
Sourcepub fn set_and_raise_cell<T>(
&self,
property: &'static DirectPropertyBase<T>,
field: &Cell<T>,
value: T,
) -> boolwhere
T: PropertyValue + Copy,
pub fn set_and_raise_cell<T>(
&self,
property: &'static DirectPropertyBase<T>,
field: &Cell<T>,
value: T,
) -> boolwhere
T: PropertyValue + Copy,
set_and_raise for Copy values stored in a
Cell.
Sourcepub fn get_value_untyped(
&self,
property: &'static FerroProperty,
) -> Rc<dyn AnyValue>
pub fn get_value_untyped( &self, property: &'static FerroProperty, ) -> Rc<dyn AnyValue>
Gets a property value as an untyped value.
Sourcepub fn set_value_untyped(
&self,
property: &'static FerroProperty,
value: &(dyn Any + 'static),
priority: BindingPriority,
) -> Option<Rc<dyn IDisposable>>
pub fn set_value_untyped( &self, property: &'static FerroProperty, value: &(dyn Any + 'static), priority: BindingPriority, ) -> Option<Rc<dyn IDisposable>>
Sets a property from an untyped value, which must hold exactly the property’s value type or the unset marker.
Sourcepub fn set_current_value_untyped(
&self,
property: &'static FerroProperty,
value: &(dyn Any + 'static),
)
pub fn set_current_value_untyped( &self, property: &'static FerroProperty, value: &(dyn Any + 'static), )
set_current_value with an untyped value.
Sourcepub fn clear_value_untyped(&self, property: &'static FerroProperty)
pub fn clear_value_untyped(&self, property: &'static FerroProperty)
Clears a property’s local value.
Sourcepub fn bind_property_untyped(
&self,
property: &'static FerroProperty,
source: Rc<dyn IObservable<Rc<dyn AnyValue>>>,
priority: BindingPriority,
) -> Rc<dyn IDisposable>
pub fn bind_property_untyped( &self, property: &'static FerroProperty, source: Rc<dyn IObservable<Rc<dyn AnyValue>>>, priority: BindingPriority, ) -> Rc<dyn IDisposable>
Binds a property to an observable of untyped values.
Sourcepub fn property_changed(
&self,
handler: impl Fn(&FerroPropertyChangedEventArgs<'_>) + 'static,
) -> Rc<dyn IDisposable>
pub fn property_changed( &self, handler: impl Fn(&FerroPropertyChangedEventArgs<'_>) + 'static, ) -> Rc<dyn IDisposable>
Subscribes to property changes on this object. Disposing the returned handle unsubscribes.
Sourcepub fn add_property_changed_handler(
&self,
handler: Rc<dyn Fn(&FerroPropertyChangedEventArgs<'_>)>,
) -> u64
pub fn add_property_changed_handler( &self, handler: Rc<dyn Fn(&FerroPropertyChangedEventArgs<'_>)>, ) -> u64
Subscribes handler to property changes on this object and returns
the token that remove_property_changed_handler
takes: property_changed for a subscriber
that keeps the object and the token itself, so that no handle is made.
Sourcepub fn remove_property_changed_handler(&self, token: u64) -> bool
pub fn remove_property_changed_handler(&self, token: u64) -> bool
Ends a subscription of add_property_changed_handler.
Sourcepub fn property_changed_subscriber_count(&self) -> usize
pub fn property_changed_subscriber_count(&self) -> usize
The number of subscribers to property changes on this object (a diagnostics member, used by tests to verify that subscriptions are released).
Sourcepub fn raise_property_changed<T>(
&self,
property: &'static FerroProperty,
old_value: Option<&T>,
new_value: &T,
priority: BindingPriority,
is_effective_value: bool,
)where
T: PropertyValue,
pub fn raise_property_changed<T>(
&self,
property: &'static FerroProperty,
old_value: Option<&T>,
new_value: &T,
priority: BindingPriority,
is_effective_value: bool,
)where
T: PropertyValue,
Raises a property changed notification.
Sourcepub fn raise_direct_property_changed<T>(
&self,
property: &'static DirectPropertyBase<T>,
old_value: &T,
new_value: &T,
)where
T: PropertyValue,
pub fn raise_direct_property_changed<T>(
&self,
property: &'static DirectPropertyBase<T>,
old_value: &T,
new_value: &T,
)where
T: PropertyValue,
Raises a property changed notification for a direct property.
Trait Implementations§
Source§impl Deref for Flyout
impl Deref for Flyout
Source§type Target = PopupFlyoutBase
type Target = PopupFlyoutBase
Source§fn deref(&self) -> &PopupFlyoutBase
fn deref(&self) -> &PopupFlyoutBase
Source§impl FerroObjectImpl for Flyout
impl FerroObjectImpl for Flyout
Source§fn constructed(this: &Self)
fn constructed(this: &Self)
parent_constructed first.Source§fn on_property_changed_core(
this: &Self,
change: &FerroPropertyChangedEventArgs<'_>,
)
fn on_property_changed_core( this: &Self, change: &FerroPropertyChangedEventArgs<'_>, )
on_property_changed instead.Source§fn on_property_changed(this: &Self, change: &FerroPropertyChangedEventArgs<'_>)
fn on_property_changed(this: &Self, change: &FerroPropertyChangedEventArgs<'_>)
Source§fn update_data_validation(
this: &Self,
property: &'static FerroProperty,
state: BindingValueType,
error: Option<&BindingError>,
)
fn update_data_validation( this: &Self, property: &'static FerroProperty, state: BindingValueType, error: Option<&BindingError>, )
Source§impl FlyoutBaseImpl for Flyout
impl FlyoutBaseImpl for Flyout
Source§impl ObjectType for Flyout
impl ObjectType for Flyout
Source§type Parent = PopupFlyoutBase
type Parent = PopupFlyoutBase
Source§type VTable = <PopupFlyoutBase as ObjectType>::VTable
type VTable = <PopupFlyoutBase as ObjectType>::VTable
Source§fn vtable() -> &'static Self::VTable
fn vtable() -> &'static Self::VTable
Self.Source§fn register_class()
fn register_class()
Source§impl PopupFlyoutBaseImpl for Flyout
impl PopupFlyoutBaseImpl for Flyout
Source§fn create_presenter(this: &Self) -> Ref<Control>
fn create_presenter(this: &Self) -> Ref<Control>
Source§fn on_opening(this: &Self, args: &CancelEventArgs)
fn on_opening(this: &Self, args: &CancelEventArgs)
Opening event.Source§fn hide_core(this: &Self, can_cancel: bool) -> bool
fn hide_core(this: &Self, can_cancel: bool) -> bool
can_cancel tells whether the Closing event
is raised and may cancel. Returns true if the action was handled.Source§fn show_at_core(
this: &Self,
placement_target: &Control,
show_at_pointer: bool,
) -> bool
fn show_at_core( this: &Self, placement_target: &Control, show_at_pointer: bool, ) -> bool
show_at_pointer. Returns true if the action was handled.Source§fn on_closing(this: &Self, args: &CancelEventArgs)
fn on_closing(this: &Self, args: &CancelEventArgs)
Closing event.impl<T> Subclassable<T> for Flyoutwhere
PopupFlyoutBase: Subclassable<T>,
Auto Trait Implementations§
impl !Freeze for Flyout
impl !RefUnwindSafe for Flyout
impl !Send for Flyout
impl !Sync for Flyout
impl !UnwindSafe for Flyout
impl Unpin for Flyout
impl UnsafeUnpin for Flyout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more