Skip to content

Visibility problem #2

@obartelt

Description

@obartelt

When the control is placed on a form and is initially set to Visible=false, setting Visible=true does not entirely do the trick, because of this line in HtmlEditor.Visible (HtmlEditor.Properties.cs):

panelEditContainer.Visible = base.Visible;

Due to the way .NET/WinForms works, this returns false, even after setting it to true the line above, because the real visibility state has not been changed yet. Changing the line to the following does the trick:

panelEditContainer.Visible = value;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions