New Post: PropertyGrid edit defaults editors
That's exactly what I was looking for. Thank you !
View ArticleNew Post: Synchronizing with the Grid
Might it be possible to point me to some information to get a better understanding of the life cycle of the DataCells?
View ArticleNew Post: Synchronizing with the Grid
Hi, If your problem is something like this : -You have a Reload function that updates DataGrid's bounded values. -In this function you then try to get the content of dataCells, but it's the oldValue...
View ArticleNew Post: Synchronizing with the Grid
Thanks for the response! That may indeed be useful! So here's what my function's trying to do:Update the dataset which may or may not change the layoutFlush out the grid and reconstruct it Find the...
View ArticleNew Post: Synchronizing with the Grid
Hi BoucherS, Unfortunately subscribing to that event still didn't work for our purposes. The data is correct, the datagrid knows it needs to be updated (which it does at a later point), but the actual...
View ArticleNew Post: Synchronizing with the Grid
Hi alexchou1984, I thought using LayoutUpdated callback to get the DataCell value would work. I don't see any events on the dataGrid that could help. Can you provide a small sample so I can test it...
View ArticleNew Post: Synchronizing with the Grid
Hi BoucherS, Unfortunately the code currently spans over several different files, so it's really difficult to extract a segment. But I believe doing something as simple as a grid.Items.Refresh();...
View ArticleNew Post: Synchronizing with the Grid
Hi alexchou1984, Here's a small sample following what you say. I use the LayoutUpdated callback to get a specific DataCell from the DatagridControl. This works !<StackPanel>...
View ArticleNew Post: Synchronizing with the Grid
I've been trying to make use of the LayoutUpdated event, but not having much luck so far. I forgot to add that my grid is actually a part of a UserControl and is hosted inside a native C++ application,...
View ArticleNew Post: Can't figure out how to use PropertyGrid
<ListView Name="ProductsList" Grid.Column="0" ItemsSource="{Binding Products}"> <ListView.View> <GridView> <GridViewColumn DisplayMemberBinding="{Binding Name}" Header="Name"/>...
View ArticleNew Post: PropertyGrid Class name edit
Hi, I am looking to edit the name field for a parent element in the Xceed WPF PropertyGrid. The idea is that the Gain0(0x03) value will change when the bit fields change. Currently it says...
View ArticleNew Post: Can't figure out how to use PropertyGrid
Hi, Have you try setting the PropertyGrid.SelectedObject property ? The PropertyGrid should display the properties of this object.
View ArticleNew Post: PropertyGrid Class name edit
Hi, Try overriding the ToString() method of your class that is the complex property in the PropertyGrid. You will be able to display what you want for this property.
View ArticleNew Post: Can't figure out how to use PropertyGrid
Nope, that was it. Thanks. I was setting the DataContext instead.
View ArticleNew Post: Can't figure out how to use PropertyGrid
Is there a way to make it so that the PropertyGrid won't show properties with certain attributes? Say I have two property grids hooked up to the same property and I have two separate attributes...
View ArticleNew Post: PropertyGrid
Hi, The error "Cannot modify TargetProperties once the definition has beed added to a collection." in XAML won't affect your program. It won't happen in v2.5.
View ArticleNew Post: Can't figure out how to use PropertyGrid
Hi, This attribute doesn't exists. But when you create your propertyGrid, you can set the properties you want to display. Make sure to set the AutoGenerateProperties to False. This way, one...
View ArticleNew Post: Can't figure out how to use PropertyGrid
Thanks, that doesn't help with dynamically loaded objects, though (meaning I won't know the implementation up front to hard code specific properties to show/not show). It looks like I'll have to dig...
View ArticleNew Post: PropertyGrid Class name edit
Boucher, Thanks.. Is there a way to make it editable? public override string ToString() { return "ClassValue"; } -Gautham
View ArticleNew Post: PropertyGrid Class name edit
Hi, I don't see any. An expandable property is basically a class, with a collection of properties. This class doesn't have a "Value" like regular properties or a "ValueType". You can use the ToString()...
View Article