Skip to content

Attempting to bind the name attribute of combo box and textbox #3944

Closed

Description

@songze14

Bug explanation

<Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp1" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Grid> <ComboBox Width="200" Height="100"/> </Grid> </Window>

Image System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property. null BindingExpression:Path=(0); DataItem='ComboBox' (Name=''); target element is 'ComboBox' (Name=''); target property is 'Name' (type 'String')

Version

5.3.0

Activity

  1. added
    evaluation required
    on Oct 10, 2025
  2. added this to the 5.3.1 milestone on Oct 10, 2025
  3. removed
    evaluation required
    on Oct 10, 2025
  4. Keboo commented on Oct 10, 2025

    @Keboo
    Member

    This looks to be the same root cause as #3945 and should be fixed by #3946

  5. corvinsz commented on Oct 28, 2025

    @corvinsz
    Member

    fixed in #3946.
    Please use any version >= 5.3.1-ci1159 to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions