Skip to content

"Created ... ago" self updating Label #5806

Answered by kekekeks
mfriese asked this question in Q&A
Discussion options

You must be logged in to vote

You probably need a custom user control with CreatedAt property. Define a static timer and subscribe/unsubscribe to it from OnAttachedToVirtualTree/OnDetachedFromVirtualTree, then update the label text if necessary.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mfriese
Comment options

Answer selected by maxkatz6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants