Search found 3134 matches
- Yesterday, 20:47
- Forum: General Discussion
- Replies: 3
- Views: 55
Re: Coerce and validate
You're right, I was talking from memory :)
The order is Coerce, Validate, PropertyChanged.
Marking this topic as solved then.
The order is Coerce, Validate, PropertyChanged.
Marking this topic as solved then.
- Yesterday, 12:39
- Forum: General Discussion
- Replies: 3
- Views: 55
Re: Coerce and validate
1. Yes, when registering a DP, the ValidateValueCallback passed in the registration is used to construct the DP. 2. ValidateValueCallback is passed to DP construction because it defines what values are valid for the property, and that is defined once. Other classes overriding the DP can't change tha...
- Yesterday, 12:17
- Forum: General Discussion
- Replies: 1
- Views: 46
Re: Sending dependency property via xaml to converter
Hi, in a MultiValueConverter the values array can contain the unset value (DependencyProperty::GetUnsetValue()) while not all the bindings are solved. You can check for that in your converter to use a default value until everything gets resolved: const auto progress_value = Noesis::Boxing::CanUnbox<...
- 12 Nov 2024, 10:35
- Forum: General Discussion
- Replies: 2
- Views: 128
Re: The DisplayScale is not applied correctly
Could you please report this issue in our bugtracker?
Thanks in advance.
Thanks in advance.
- 12 Nov 2024, 10:32
- Forum: General Discussion
- Replies: 6
- Views: 336
Re: GamepadTrigger to Open Button Context Menu with Gamepad
As I mentioned the Accept button is handled by the focused Button to raise the Click event, so the GamepadTrigger won't receive the button press event. I have tested other gamepad buttons work as expected and open the ContextMenu, though. Could that be an option? <Button x:Name="TemplateButton&...
- 06 Nov 2024, 17:44
- Forum: General Discussion
- Replies: 1
- Views: 70
Re: Combobox PopupAnimation / dropshadow causing UI to freeze (using integration API)
I've tried the provided xaml both in XamlToy and XamlPlayer 3.2.4 and when the "SERVICE" button is pressed it correctly slides down the ComboBox popup. If I remove the Popup PopupAnimation and HasDropShadow from the ComboBox template, then it just shows the dropdown instantly, but the UI s...
- 05 Nov 2024, 12:48
- Forum: General Discussion
- Replies: 2
- Views: 140
Re: IsMouseOver behavior
Hi, I guess you are already sending all the mouse events, including MouseMove, to the View: NS_INTERFACE IView: public Interface { /// Notifies that a mouse button was pressed. Origin is in the upper-left corner. /// Returns true if event was handled virtual bool MouseButtonDown(int x, int y, MouseB...
- 05 Nov 2024, 12:40
- Forum: General Discussion
- Replies: 1
- Views: 90
Re: Unity android crashes on inventory example
Could you please create a ticket in our bugtracker attaching the logcat output including the native callstack so we can see the source of the crash?
- 05 Nov 2024, 12:37
- Forum: General Discussion
- Replies: 3
- Views: 107
Re: DataTemplate Shared State
Since a data template is used sharing of state is by design, right? Yes, template is shared, so if you modify it, all the instances generated from that template will have the modified values. If I do not want the state to be shared, should I use something besides a DataTemplate in the ResourceDicti...
- 05 Nov 2024, 12:18
- Forum: General Discussion
- Replies: 6
- Views: 158
Re: ItemsControl Bindings
Great, marking this as solved then.