New Post: ComboBox in CollectionControl
This works. However I have a follow up question. How do I get the selected item of the combobox (in the CollectionControl)? For example in my case the objects listed in the comboBox are Fabrics I...
View ArticleNew Post: Where is TimeSpanUpDown?
Hmm, found it, thanks. Not sure why it wasn't showing up before.
View ArticleNew Post: ComboBox in CollectionControl
Hi, You could try something like :<pg:EditorTemplateDefinition TargetProperties="ListOfFabrics"> <pg:EditorTemplateDefinition.EditingTemplate> <DataTemplate> <ComboBox...
View ArticleNew Post: WPF Datagrid Update/Refresh
Hi everyone, In case if anyone else was trying to achieve this, I basically got my items to implement the INotifyPropertyChanged interface, and threw PropertyChanged events on the various properties...
View ArticleNew Post: DataGridControl Right Click && ContextMenu
Hi, how can i set up a context menu for a row of DataGridControl, for i want to pop up a detail window to edit the selected item, and pop up a confirm for delete the item, and so on....
View ArticleNew Post: DataGridControl Right Click && ContextMenu
sorry, it's my fault, i forgot this: protected override void RaisePropertyChanged(string propertyName) { base.RaisePropertyChanged(propertyName); if (string.Equals(propertyName, "Current")) {...
View ArticleNew Post: ComboBox in CollectionControl
This works perfectly. Thanks for your help and patience.
View ArticleNew Post: CheckComboBox and IDataErrorInfo and INotifyPropertyChanged
I'm having trouble understanding or figuring out how to wire up property change notifcation and validation with the CheckComboBox control. With a regular ComboBox, a definition like this produces...
View ArticleNew Post: CheckComboBox and IDataErrorInfo and INotifyPropertyChanged
Hi, Maybe you can try with The property SelectedItemsOverride and the event ItemSelectionChanged ?<xctk:CheckComboBox x:Name="checkResults" ItemsSource="{Binding Path=AllowedValues}"...
View ArticleNew Post: CollectionControl binding
I must be doing something wrong again with CollectionControls but I can't get it to bind properly. Using the following code I expected to see the myConstruction.LayerCollection.Count increase after the...
View ArticleNew Post: CollectionControl binding
Hi, Try calling CollectionControl1.PersistChanges(); It will save the data added.
View ArticleNew Post: CollectionControl binding
Thanks. I added Private Sub CollectionControl1_ItemAdded(sender As Object, e As Xceed.Wpf.Toolkit.ItemEventArgs) Handles CollectionControl1.ItemAdded CollectionControl1.PersistChanges() End Sub Private...
View ArticleNew Post: CollectionControl binding
Also are there equivalents to ItemAdded and ItemDeleted to capture the events when the user presses the up/down arrows to move items in the CollectionControl up/down the listbox?
View ArticleNew Post: AutoMoveFocus
Can any one show me how to use the AutoMoveFocus property on the IntegerUpDown control? If it set to true, how do i get it to move focus when a particular condition is met?
View ArticleNew Post: CollectionControl binding
Hi yt2014, When talking about editing object from different classes, is it just a matter of adding the wanted class type in "CollectionControl1.NewItemTypes" ? For the events raised when...
View ArticleNew Post: CollectionControl binding
I have added a different class type, clsMaterial2, in CollectionControl1.NewItemTypes. wherePublic Class clsMaterial2 Implements INotifyPropertyChanged Public Event PropertyChanged As...
View ArticleNew Post: Property Grid Editors for Enum and Object properties
Hi all, I just wanted to know which are the default editors for properties of type Enum and object (with ExpandableObject annotation). I know that when I use an enum it shows a ComboBox (or similar)...
View ArticleNew Post: PropertyGrid Collection Editor - Class types for new objects
I have a List<Shape>. many shapes inherit from Shape. For example, rectangle, circle. Collection Editor will only allow to add an object of type Shape. How to add the different classes to the...
View ArticleNew Post: PropertyGrid Collection Editor - Class types for new objects
Hi, Try thisCollectionControlDialog diag = new CollectionControlDialog(); diag.ItemsSource = myShapeList; diag.NewItemTypes = new List<System.Type>() { typeof( MyCircle ), typeof( MyRectangle )...
View ArticleNew Post: CollectionControl binding
Hi Make sure your "clsMaterial" and "clsMaterial2" derives from the same "clsBaseMaterial". And that your "clsConstruction" works with the "clsBaseMaterial".
View Article