Quantcast
Channel: Editors for WPF - Recent Posts
Browsing all 942 articles
Browse latest View live

Re: Editor used in CollectionNewItem

Hello,A delete button should show up on each list item if the ICollectionItemPropertyDescriptor created for the related item has its CanRemove property returning true.  You can see this in our...

View Article


Re: Editor used in CollectionNewItem

Hello,my collection implements IList interface but doesn't have IsReadOnly or IsFixedSize set.My items in my collection don't have anything related to ICollectionItemPropertyDescriptor and I didn't...

View Article


Re: Editor used in CollectionNewItem

Hi Antoine,I'm sorry, I should have also mentioned that our ExpandableCollectionConverter type converter that gets automatically injected for collection properties will create a...

View Article

Re: Editor used in CollectionNewItem

Hi,so if I understand correctly, my Collection must inherits from ListItemPropertyDescriptor to have a CanRemove property ?With the architecture of my project, it will be hard to use a converter only...

View Article

Re: Editor used in CollectionNewItem

Hello,No, I believe that as long as the collection is an IList and isn't read-only or fixed-size, then our built-in logic that makes a ExpandableCollectionConverter that should be applying the...

View Article


Re: Editor used in CollectionNewItem

Hi,just to update you, I chose to handle any collection, anything comming from IList will be handled.I used your solution with the ExpandableCollectionConverter and it worked ! But it was a bit tricky...

View Article

Re: Editor used in CollectionNewItem

Hi Antoine,I'm glad you got it working.  I'm curious what you had to do to get it going that wasn't working out of the box, assuming your collection implemented IList.

View Article

Re: Editor used in CollectionNewItem

Hi,I don't know but I just added EditableInline to my propertyGrid and the ExpandableCollectionConverter to my collection type (implementing IList) only with the CanRemove property always returning...

View Article


PropertyDescriptorPropertyModel doesn't implement IConvertible

Hi,I created a simple custom editor for IList properties with a button. It's the same as the basic IList behavior but as I want to handle what's happening when I click on the button, I decided to...

View Article


Re: Editor used in CollectionNewItem

Hi Antoine,The isCollectionReadOnly parameter mentioned in a previous post above comes from (CollectionPropertyDisplayMode != CollectionPropertyDisplayMode.EditableInline).  Thus isCollectionReadOnly...

View Article

Re: PropertyDescriptorPropertyModel doesn't implement IConvertible

Hi Antoine,The PropertyDescriptorPropertyModel basically wraps a PropertyDescriptor.  Its ValueType property returns "propertyDescriptor.PropertyType".  And its Value property gets/sets the reflected...

View Article

Re: Editor used in CollectionNewItem

Hi !My collection implements ObservableCollection<T> wich implements Collection<T> wich implements both IList<T> and IList. In my CanRemove, I don't check anything as it's only used...

View Article

Re: PropertyDescriptorPropertyModel doesn't implement IConvertible

Hi !that's exactly what I was looking for !Thanks a lot !Antoine P

View Article


ColorPicker Alpha

Hi !I'm using your colorPicker and I was thinking about something. Why when we set no alpha (only #123456 for instance) it's automatically considered as a FF alpha ? For my usage, it would be nicer to...

View Article

Re: ColorPicker Alpha

Hello,I would think that it would be confusing for the end user to enter a value and then not see anything on the swatch, due to it being fully transparent.  For some background, we fill in full alpha...

View Article


Multiselect Dropdown?

I've been searching through the example for one but can't seem to find a multiselect dropdown - which seems odd since the Enum edit box is basically a multiselect dropdown which only works on Enums....

View Article

Re: Multiselect Dropdown?

Hi Cory,While we don't have one at this time, this article might help you build one:https://www.codeproject.com/Articles/563862/Multi-Select-ComboBox-in-WPFWe'll log the request for one as well.

View Article


Select/highlight text when selecting the property

Hi !I was wondering if it's possible to select the content of a property when I click on it ? I think something like this post (...

View Article

Re: Select/highlight text when selecting the property

Hi Antoine,I'm not sure that's done easily because the property value editor can be anything.  In some cases it might be a TextBox, in others an Editors edit box, or something completely different....

View Article

Re: Select/highlight text when selecting the property

Hi !So if I understand well, there's no easy way.With the OnPreviewMouseLeftButtonDown event, I have nothing more than what I have with ItemSelecting event. Moreover, it will be triggered by any click,...

View Article
Browsing all 942 articles
Browse latest View live