Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expander leads to infinitive loop in XAML Designer when RowSpan property is used #3438

Open
DrCQ opened this issue Jan 20, 2024 · 0 comments
Labels
bug evaluation required Items is pending review or evaluation by the team
Milestone

Comments

@DrCQ
Copy link

DrCQ commented Jan 20, 2024

Bug explanation

I have some Expander controls in the main Grid. Each Expander contains other Grid's with rows and columns. Columns are sharing the size between each other.

<Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" SharedSizeGroup="A1"/>
    <ColumnDefinition Width="Auto" SharedSizeGroup="A2"/>
    <ColumnDefinition Width="Auto" SharedSizeGroup="A3"/>
    <ColumnDefinition/>
</Grid.ColumnDefinitions>

In one of these Grid controls, I have an Image using the RowSpan and ColumnSpan property.

<Image Grid.Row="0" Grid.RowSpan="6" Grid.Column="0" Grid.ColumnSpan="2" 
       Source="{Binding IconSource, Mode=OneWay}" Width="160" Height="120" HorizontalAlignment="Left"/>

This XAML statement leads to an infinity loop in the XAML Designer. The VS is busy, and the Designer shows the content of all columns jumping from the left to the right.
After some tests, I guess the problem is the RowSpan property.

Closing VS and reopening the compiled solution seems temporarily to solve the problem, but any attempt to edit the XAML cause the problem again.

Version

4.9.0

@DrCQ DrCQ added bug evaluation required Items is pending review or evaluation by the team labels Jan 20, 2024
@Keboo Keboo added this to the 5.1.0 milestone Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug evaluation required Items is pending review or evaluation by the team
Projects
None yet
Development

No branches or pull requests

2 participants