Search found 3133 matches

by sfernandez
Today, 12:39
Forum: General Discussion
Replies: 2
Views: 46

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...
by sfernandez
Today, 12:17
Forum: General Discussion
Replies: 1
Views: 44

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<...
by sfernandez
12 Nov 2024, 10:35
Forum: General Discussion
Replies: 2
Views: 127

Re: The DisplayScale is not applied correctly

Could you please report this issue in our bugtracker?
Thanks in advance.
by sfernandez
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&...
by sfernandez
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...
by sfernandez
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...
by sfernandez
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?
by sfernandez
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...
by sfernandez
05 Nov 2024, 12:18
Forum: General Discussion
Replies: 6
Views: 158

Re: ItemsControl Bindings

Great, marking this as solved then.
by sfernandez
05 Nov 2024, 12:16
Forum: General Discussion
Replies: 6
Views: 614

Re: Hot reload of global resources

Thanks!