Skip to content

Create a a flag to set if the view must be cleared or not on Visible as false. #2026

@BDisp

Description

@BDisp

I'm reopen this because it's causing some bad behaviors on situations where we don't want to clear the view at all. I appreciate suggestions for this. On example where I don't want to clear is on a ScrollBarView when set Visible to false I don't want the area been cleaned if the Redraw method is overridden.

I think the best solution is creating a ClearOnVisibleFalse property with a default value as true.

Originally posted by @BDisp in #1984 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions