DataGrid的更改不会在设计过程中反映出来 [英] DataGrid change is not reflected back during design

查看:70
本文介绍了DataGrid的更改不会在设计过程中反映出来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个具有某些Background,Foreground,FontColor等的DataGrid.后来,我尝试更改这些设置,但奇怪的是,DataGrid看起来与旧的相似.似乎DataGrid没有响应我的XAML代码.似乎旧的设置存储在某处并在执行代码时显示.
我删除了所有XAML代码和.cs文件,即使当我按F5键时,旧的DataGrid也来了.真是个奇怪的行为.有人可以帮助我解决此问题吗?

I made a DataGrid with certain Background,Foreground ,FontColor etc. later I tried to change these setting but strangely the DataGrid looks similar to the old one . it seems that the DataGrid is not responds to my XAML code. it appears that the old setting is stored somewhere and displayed whenever the code is being executed.
i deleted all XAML code and .cs file even then when I press F5 the old DataGrid is coming. What a strange behaviour . can somebody help me to resolve this issue

推荐答案

关闭Visual Studio,然后重试...
close visual studio n try again...


这篇关于DataGrid的更改不会在设计过程中反映出来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆