Force a WPF control to refresh? -
We have two lessons in this way: (We use .NET FW 3.0)
& lt; Text block grid Column = "0" name = "tab name" style = "{static resource text blockback style}" horizontal alignment = "left" & gt; & Lt; TextBlock.Margin & gt; & Lt; Binding converter = "{static resource DPIconver}" & gt; & Lt; Binding.ConverterParameter & gt; & Lt; Thickness left = "3" top = "6" right = "0" bottom = "0" /> & Lt; /Binding.ConverterParameter> & Lt; / Binding & gt; & Lt; /TextBlock.Margin> & Lt; / TextBlock & gt; and
& lt; Text Box X: Name = "txtBoxHelp" IsReadOnly = "True" style = "{DynamicResource txtBoxHelpStyle}" IsTabStop = "False" text = "some text" mouse leftbootdown = "txtBoxHelp_MouseLeftButtonDown"> & Lt; TextBox.Margin & gt; & Lt; Binding converter = "{static resource DPIconver}" & gt; & Lt; Binding.ConverterParameter & gt; & Lt; Thickness = "7" top = "0" correct = "0" below = "0" /> & Lt; /Binding.ConverterParameter> & Lt; / Binding & gt; & Lt; /TextBox.Margin> & Lt; / Text box & gt; These two text blocks work well on other OS-E, but occasionally miss on Windows XP Home Edition with SP3
- UpdateLayout
- Invalid discretion
- Changed it, but we are unsuccessful.
How to apply these controls to refresh?
This works without the need to create a new thread for us When all the dams have updated themselves first
Applications. Present. Desperator.Bijininwohk (Dispair's prerelease.background, new action ((=) (& gt; {// Do some here.}));
Comments
Post a Comment