Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Winforms - Control.ResetBindings() summary seems incorrect? #2016

Copy link
Copy link
Open
@dsherret

Description

@dsherret
Issue body actions

Right now the xml summary for Control.ResetBindings reads:

<summary>Causes a control bound to the <see cref="T:System.Windows.Forms.BindingSource" /> to reread all the items in the list and refresh their displayed values.</summary>

Docs - Control.xml

The implementation clears all the bindings though:

public void ResetBindings() {
    ControlBindingsCollection bindings = (ControlBindingsCollection)Properties.GetObject(PropBindings);
    if (bindings != null) {
        bindings.Clear();
    }
}

Source

I think perhaps this summary was copied from BindingSource? (Docs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityPri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-WinFormsIssues or PRs that relate to WinForms.Issues or PRs that relate to WinForms.help wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.