New Post: Using checklistbox with ModernUI in windows7.
In my case the solution was the following code: <CheckBox IsChecked="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}}" Padding="{TemplateBinding Padding}"...
View ArticleNew Post: How to make the Up/Down buttons of IngegerUpDown wider
Hi, You can change the value of "SystemParameters.VerticalScrollBarWidthKey" which used to set the width for the ButtonSpinners :<xctk:IntegerUpDown Value="35" Height="25">...
View ArticleNew Post: Size of first time pinned autohide window is wrong
I'm using Extended WPF Toolkit - AvalanDock (v2.4) and when I run the application, open the Application and open left side (or bottom side) autohide Tab. Then Pin it to stay open. in the current...
View ArticleNew Post: PropertyGrid and UpdateSourceTrigger=PropertyChanged not working
Hi, I got a grid with the following binding: <tk:PropertyGrid SelectedObject="{Binding Blubber, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" >...
View ArticleNew Post: PropertyGrid and UpdateSourceTrigger=PropertyChanged not working
Hi, The Binding is on the SelectedObject, so UpdateSourceTrigger will be activated when the SelectedObject changes. But here, its a property from the SelectedObject that is changed. Here's what you...
View ArticleNew Post: PropertyGrid and UpdateSourceTrigger=PropertyChanged not working
Hi, Thanks for your reply. Using the proposed template definition it's working fine. For those who might want to apply it to not only named properties, but based on the type of the property:...
View ArticleNew Post: Use a CollectionControl as an EditingTemplate.
I'm using the PropertyGrid with a good deal of success. However, I'd like to change the behavior of the CollectionControl. Instead of having a new dialog appear for collections, I'd like to embed the...
View ArticleNew Post: DataTemplate and CurrentCulture
Hi again, I'm using the property grid with DataTemplates. Now I'm having a problem with the language / culture. I have the impression that the propertygrid is ignoring it when using data templates. My...
View ArticleNew Post: Use a CollectionControl as an EditingTemplate.
Hi, The changes done in the CollectionControl are saved in the source when the OK button from the CollectionControlDialog is pressed. You can save the changes by calling...
View ArticleNew Post: DataTemplate and CurrentCulture
Hi, What if you use a converter to convert the string back to a double. Something like :<tk:EditorTemplateDefinition> <tk:EditorTemplateDefinition.TargetProperties>...
View ArticleNew Post: DataGridControl Speed Improvement Suggestions?
Hi BoucherS, After putting in your suggested changes on the xaml regarding ItemScrollingBehaviour and Virtualization, there was definitely a marked improvement, but it wasn't as large a difference as I...
View ArticleNew Post: DataTemplate and CurrentCulture
Hi Yes, I could do this. But the reason why I'm, using the datatemplate at all is, that I want to have immediate validation while typing (using UpdateSourceTrigger=PropertyChanged). And I just want to...
View ArticleNew Post: DataTemplate and CurrentCulture
Hi, I understand what you say. But the property "ValidationDouble2" is a double and if you don't use a DataTemplate in the PropertyGrid's EditorDefinitions for type "Double", the default editor will be...
View ArticleNew Post: DataGridControl Speed Improvement Suggestions?
Hi alexchou, As I said earlier, adding a column after the grid is loaded could be costly. You could try to set the table static and see what happens, but I suspect a greater loading time since all the...
View ArticleNew Post: AvalonDock and MVVM CodeProject not working with latest AvalonDock
I am trying to get the AvalonDockHost created in the Code Project article "AvalonDock and MVVM" (which uses AvalonDock 1.3) to work with the latest version of AvalonDock.. In my app I want to be able...
View ArticleNew Post: DataTemplate and CurrentCulture
HiBoucherS wrote: If you use a DataTemplate in the PropertyGrid's EditorDefinitions for type "Double" that is a TextBox, there need to be a conversion "double-string" (maybe the default converters...
View ArticleNew Post: DataTemplate and CurrentCulture
Small Update: The same control PropertyGridEditorDoubleUpDown behaves differently when used outside of the data template and outside of it. (See sample code, try it with german language settings)...
View ArticleNew Post: DataTemplate and CurrentCulture
Further investigation turned out that this must be a bug. The binding that the propertygrid's DescriptorPropertyDefinition is doing does not set a converterCulture. So it's null and always the default...
View ArticleNew Post: Howto Check if a propertyGrid has Validation Errors
Hi, maybe a stupid question, but how can I check (from code behind) if any of the propertyGrid items has a validation error? I can see that the validation failed (get the red border etc). But how can I...
View Article