TextBlock.IsTextTrimmedChanged Event

Definition

Occurs when the IsTextTrimmed property value has changed.

// Register
event_token IsTextTrimmedChanged(TypedEventHandler<TextBlock, IsTextTrimmedChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void IsTextTrimmedChanged(event_token const* cookie) const;

// Revoke with event_revoker
TextBlock::IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, TypedEventHandler<TextBlock, IsTextTrimmedChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TextBlock,IsTextTrimmedChangedEventArgs> IsTextTrimmedChanged;
function onIsTextTrimmedChanged(eventArgs) { /* Your code */ }
textBlock.addEventListener("istexttrimmedchanged", onIsTextTrimmedChanged);
textBlock.removeEventListener("istexttrimmedchanged", onIsTextTrimmedChanged);
- or -
textBlock.onistexttrimmedchanged = onIsTextTrimmedChanged;
Public Custom Event IsTextTrimmedChanged As TypedEventHandler(Of TextBlock, IsTextTrimmedChangedEventArgs) 
<TextBlock IsTextTrimmedChanged="eventhandler"/>

Event Type

Remarks

If the TextTrimming property is set to None (default), no trim indicator is drawn and the IsTextTrimmedChanged event does not fire.

Applies to