Skip to content

StreamGeometry.ClearValue () should be how to call? #17858

Answered by msneijders
fhhyyp asked this question in Q&A
Discussion options

You must be logged in to vote

The ClearValue(AvaloniaProperty) your refer to is of StreamGeometry's base type AvaloniaObject, and is to clear its AvaloniaProperties; not to clear its internal geometry data (is not an avaloniaproperty) -- a StreamGeometry only has TransformProperty you could ClearValue. It looks like a StreamGeometry geometry data cannot be changed or cleared after creating it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@msneijders
Comment options

@fhhyyp
Comment options

Answer selected by fhhyyp
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