pub struct InputMethod;Expand description
Defines the attached property and the routed event that connect an input element to the input method of the platform.
Implementations§
Source§impl InputMethod
impl InputMethod
Source§impl InputMethod
impl InputMethod
Sourcepub fn is_input_method_enabled_property() -> &'static AttachedProperty<bool>
pub fn is_input_method_enabled_property() -> &'static AttachedProperty<bool>
A dependency property that enables alternative text inputs.
Source§impl InputMethod
impl InputMethod
Sourcepub fn set_is_input_method_enabled(target: &InputElement, value: bool)
pub fn set_is_input_method_enabled(target: &InputElement, value: bool)
Setter for the IsInputMethodEnabled attached property.
Sourcepub fn get_is_input_method_enabled(target: &InputElement) -> bool
pub fn get_is_input_method_enabled(target: &InputElement) -> bool
Getter for the IsInputMethodEnabled attached property.
Sourcepub fn text_input_method_client_requery_requested_event() -> &'static RoutedEvent<TextInputMethodClientRequeryRequestedEventArgs>
pub fn text_input_method_client_requery_requested_event() -> &'static RoutedEvent<TextInputMethodClientRequeryRequestedEventArgs>
Defines the TextInputMethodClientRequeryRequested event: raise
it on an element to have the input system query the focused
element for its text input method client again.
Sourcepub fn add_text_input_method_client_requery_requested_handler(
element: &Interactive,
handler: impl Fn(&Interactive, &RoutedEventArgs) + 'static,
) -> RoutedEventHandlerToken
pub fn add_text_input_method_client_requery_requested_handler( element: &Interactive, handler: impl Fn(&Interactive, &RoutedEventArgs) + 'static, ) -> RoutedEventHandlerToken
Adds a handler for the TextInputMethodClientRequeryRequested
attached event.
Sourcepub fn remove_text_input_method_client_requery_requested_handler(
element: &Interactive,
handler: RoutedEventHandlerToken,
)
pub fn remove_text_input_method_client_requery_requested_handler( element: &Interactive, handler: RoutedEventHandlerToken, )
Removes a handler for the TextInputMethodClientRequeryRequested
attached event.
Trait Implementations§
Source§impl MarkupTyped for InputMethod
impl MarkupTyped for InputMethod
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl StaticType for InputMethod
impl StaticType for InputMethod
Auto Trait Implementations§
impl Freeze for InputMethod
impl RefUnwindSafe for InputMethod
impl Send for InputMethod
impl Sync for InputMethod
impl Unpin for InputMethod
impl UnsafeUnpin for InputMethod
impl UnwindSafe for InputMethod
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
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more