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

Re: A TextBlock cannot be made disabled (gray)

Hello, I don't believe the native WPF TextBlock control is set up to alter its appearance based on enabled state, and our themes don't provide any styles for TextBlock. If you did want that beha...

View Article


Re: A TextBlock cannot be made disabled (gray)

Hi! Thank you! It would be great if in some future the TextBlock would work similar with the Label on this regard :) Kind regards, Daniel

View Article


Int32EditBox Min/Max Coercion Causing Grief

I set up a view bound to a viewmodel something like this:<editors:Int32EditBox Value="{Binding AwesomeThing}" Maximum="{Binding Max}" /> The bound class uses INotifyDataErrorInfo to valid...

View Article

Re: Int32EditBox Min/Max Coercion Causing Grief

Hi Daniel, The Int32EditBox.Value dependency property has a coerce method configured on it that will invoke the protected virtual Int32EditBox.CoerceValidValue method. Our logic there will ensur...

View Article

Re: Int32EditBox Min/Max Coercion Causing Grief

Tested that today, it works great! Many thanks.

View Article


Use a datagrid to display collections in the property grid

Hello, In my WPF application I am using the property grid to display/configure properties with my object. My object has an observable collection of a custom type (Parameter). The default editor i...

View Article

Re: Use a datagrid to display collections in the property grid

Hi Jamie, You can put any controls in a custom value editor for a particular property type. That being said, it's not generally advisable to make property editors that are very tall since it cou...

View Article

Prevent AutoCompleteBox from selecting first suggestion item by default

I would like to use the AutoCompleteBox as a search field: The user enters text and presses Enter to start a search. Optionally, the user can select an entry from the suggestion list. Thi...

View Article


Re: Prevent AutoCompleteBox from selecting first suggestion item by default

Hi Thomas, We will add an AutoCompleteBox.CanAutoSelectFirstItem property for the next build that you can set to false to prevent this default behavior.

View Article


Re: Prevent AutoCompleteBox from selecting first suggestion item by default

Thanks! When will it be available?

View Article

Re: Prevent AutoCompleteBox from selecting first suggestion item by default

Hello, We would expect it sometime in July.

View Article

EnumListBox => System.InvalidCastException: Specified cast is not valid.

Hello, I'm trying to use your EnumListBox to make a weekday picker but keep getting a cast error when I try to click on a day. xmlns:tasksch="clr-namespace:Microsoft.Win32.TaskSchedu...

View Article

Re: EnumListBox => System.InvalidCastException: Specified cast is not valid.

Hello, Thank you for writing. From looking at that assembly, the enum seems to be based on Int16 and some comparison logic in our code didn't handle that type properly. We've fixed the bug for ...

View Article


DoubleEditBox: Disable tooltip for increment and decrement buttons

Hi, is there a way to disable the tooltip for the increment and decrement buttons in the DoubleEditBox? I know I can overwrite the tooltip, but even an empty string is still displayed: Actipro...

View Article

Re: DoubleEditBox: Disable tooltip for increment and decrement buttons

Hi Tobias, If you set it to null instead of empty string, it should work how you want.

View Article


Masked Textbox

Hello, I have a Masked Textbox using this mask Binding to a double property \\d+[,]\\d{2} When I enter "10,00" as value - save the value and reaload the form, "10," is shown The zeros at t...

View Article

Re: Masked Textbox

Hello, If you display the prompt characters, do you see two prompt dots right after the ","? If so, the MaskedTextBox control is meant to match text values against a text mask. The control does...

View Article


Re: Masked Textbox

Thanks for the quick answer - this would have been an easy way to support different entry types on my dynamic forms.But I will create templates where I use different controls based on the datatypes...

View Article

Multi editor in Property grid for nested types

Hello, I have a Property grid where DataObjects are pointing to objects of type e.g. Style, this Style contains a property of type Material and each Material contains property RectangleSheet with...

View Article

Re: Multi editor in Property grid for nested types

Hello, Please send the sample project to our support address and we will debug with it to see what's happening. In your email, reference this thread. Also be sure to exclude the bin/obj folders...

View Article
Browsing all 942 articles
Browse latest View live