ShowPointerPositionBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ShowPointerPositionBehavior
Shows the position of the pointer over the associated control in the target text block.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ShowPointerPositionBehavior>
Returns a strong reference to this object.
target_text_block_property
fn target_text_block_property() -> &'static StyledProperty<Option<ElementRef<TextBlock>>>
Identifies the TargetTextBlock property.
Deviation (DEVIATIONS.md, Behaviors): the behavior does not own the text block, so the value is an element reference.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
target_text_block
fn target_text_block(self: &Self) -> Option<Ref<TextBlock>>
Gets or sets the text block that shows the position. Markup resolves a name given for it to the named element. This is a property of the object model.
set_target_text_block
fn set_target_text_block(self: &Self, value: impl Into<Nullable<TextBlock>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ShowPointerPositionBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.