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

Re: DoubleEditBox BorderThickness="0,0,0,2" does seem to extend right and left

Hi Daniel, Sorry, the change was made in the v21.1 codebase for its next maintenance release. We aren't really updating v19.1 at this point unless there is a crtitical issue.

View Article


Re: DoubleEditBox BorderThickness="0,0,0,2" does seem to extend right and left

Hi, We do not want to migrate from version 19, at least not at the moment, so I guess I will add some line in the template for that control. Kind regards, Daniel

View Article


Problem with DateTimeEditBox format specifier "hh"

Hi, I am trying to specify a 12-hour format for my TimeSpanEditBox by using the "hh" specifier. I can see through Visual Studio's Live Property viewer that the Format has been set to "h...

View Article

Re: Problem with DateTimeEditBox format specifier "hh"

Hello, I'm sorry but the format won't limit what can be typed into the control. That being said, the format will determine how a committed value (after spinning, pressing Enter, programmatic val...

View Article

Re: Problem with DateTimeEditBox format specifier "hh"

"That being said, the format will determine how a committed value (after spinning, pressing Enter, programmatic value change, etc.) renders in the control." Can you tell me more about this statem...

View Article


Re: Problem with DateTimeEditBox format specifier "hh"

Hello, My apologies, I didn't notice you were on an older v14.1. Yes the older Editors version did only allow input based on a regular expression syntax. Since it was made with a custom textbox...

View Article

triggering change of StandardValuesCore

I have a CustomPropertyModel which derives from PropertyDescriptorPropertyModel. I've overridden HasStandardValues, IsLimitedToStandardValuesCore and StandardValuesCore per the CustomDatafactory ex...

View Article

Re: triggering change of StandardValuesCore

Hi John, Depending on which DataTemplate is pulled for the value editor UI, it could be binding the ComboBox in the DataTemplate to StandardValuesAsStrings. First, try notifying that property ha...

View Article


Re: triggering change of StandardValuesCore

That did update the choices - now the only thing is that when I assign SecondChoice a valid value based on FirstChoice the editor doesn't show the updated value - it shows an empty choice.

View Article


Re: triggering change of StandardValuesCore

Hi John, The DataTemplates that use StandardValues also bind to the ValueAsString property (instead of Value), so maybe notify that it was also updated.

View Article

Re: triggering change of StandardValuesCore

That didn't fix the issue. I think the actual issue is that SecondChoice is getting set to an empty string from somewhere inside the Actipro Library Here's the call stack I see WpfApp3.exe!Wpf...

View Article

Re: triggering change of StandardValuesCore

I tried with the 21.1.1.0 version with the same result.

View Article

Re: triggering change of StandardValuesCore

Hi John, Can you wrap up your example above with some XAML into a new simple sample project and send that to our support address? Then we will debug with steps you give to reproduce it and see w...

View Article


%p formatting for TimeSpanEditBox

Hi Actipro, I am currently looking for a way to display AM/PM in your TimeSpanEditBox. The format specifier for this is "tt" i.e. "hh:mm tt" // will give "03:00 AM" but this doesn't s...

View Article

Re: %p formatting for TimeSpanEditBox

Hello, "tt" isn't a valid format specified for TimeSpan objects (per Microsoft docs). It only works when formatting DateTime objects. Since TimeSpanEditBox edits TimeSpan objects, that's why it...

View Article


Get Month / SelectedMonth from Monthcalender or any Events?

Hi, is there a way to get an Event from the Month Calender when the "selected" month changes (without change the selectedDate)? Or is it even possible to get the current selected month from th...

View Article

Re: Get Month / SelectedMonth from Monthcalender or any Events?

Hi Sebastian, The ActiveDate and ActiveViewMode (Month, Year, Decade, Century) are the two properties that govern which date ranges are currently shown in the control. I don't believe we have a...

View Article


Re: Get Month / SelectedMonth from Monthcalender or any Events?

Hi, thanks for your answer. I want to display information based on the selected month and on the selected date. The selected date value I get from the SelectedDate Property and on the selecti...

View Article

Re: Get Month / SelectedMonth from Monthcalender or any Events?

Hi Sebastian, The best thing to do would probably be bind the MonthCalendar's ActiveDate and ActiveViewMode properties to related properties on your view-model. Then when your view-model propert...

View Article

MaskedTextBox: some RegEx is not working correct

Hello, we use a MaskedTextBox to allow only input specified by some RegEx.This example does not work as expected: (?=(^.{0,63}$))(^([a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]*)*)?$) shows this in t...

View Article
Browsing all 942 articles
Browse latest View live