Search found 16 matches

  • 1
  • 2
by SenlyCamile
21 May 2021, 03:58
Forum: General Discussion
Replies: 3
Views: 598

Re: Storyboard

WPF doesn't allow bindings in Storyboards defined in ControlTemplate resources, it will throw the following error: "Cannot freeze this Storyboard timeline tree for use across threads". But in order to provide an alternative I need to understand what are you trying to do, because you have bindings t...
by SenlyCamile
20 May 2021, 04:50
Forum: General Discussion
Replies: 3
Views: 598

Storyboard

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="ArrowBt...
by SenlyCamile
24 Apr 2021, 04:15
Forum: General Discussion
Replies: 4
Views: 744

Re: I try to convert dependencyproperty to bool,but it does not work. Any bugs?

It works.Thanks. The code in the converter is not correct. First you are comparing the CommandParameter which is a string, with the value of CameraSpeedRatio which is probably a float (I will assume that in my code). Then you are not storing the converted value in the result variable. The code shoul...
by SenlyCamile
23 Apr 2021, 15:40
Forum: General Discussion
Replies: 4
Views: 744

I try to convert dependencyproperty to bool,but it does not work. Any bugs?

Xaml <ResourceDictionary> <BoolConverter x:Key="BoolConverter"/> </ResourceDictionary> <StackPanel> <RadioButton IsChecked="{Binding CameraSpeedRatio,Converter={StaticResource BoolConverter},ConverterParameter=1,Mode=TwoWay}"/> <RadioButton IsChecked="{Binding CameraSpeedRatio,Converter={StaticResou...
by SenlyCamile
06 Mar 2021, 05:49
Forum: General Discussion
Replies: 2
Views: 157

AutoSizeMode property

Hello,
Is there a AutoSizeMode property on panel in noesis? And how to set it in xaml.
I wanna to make the panel grow or shrink to fit it’s content not only grow.
by SenlyCamile
23 Feb 2021, 14:41
Forum: General Discussion
Replies: 4
Views: 231

Re: Error The resource "clipPath28" could not be resolved.

As I said you can use a Geometry instead of PathGeometry until we fix the Figures property converter:
<Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry>
Got it.
by SenlyCamile
23 Feb 2021, 13:13
Forum: General Discussion
Replies: 4
Views: 231

Re: Error The resource "clipPath28" could not be resolved.

Hi, I've just tried that same xaml in Noesis 2.2.6 XamlPlayer and it didn't work because PathGeometry wasn't implemented. Perhaps you were using a plain Geometry before: <Geometry x:Key="Path28">M 1162.8 -28.368 H 27.648 V -813.456 H 1162.8 v 785.088</Geometry> Anyway, PathGeometry is something tha...
by SenlyCamile
23 Feb 2021, 06:05
Forum: General Discussion
Replies: 4
Views: 231

Error The resource "clipPath28" could not be resolved.

<?xml version="1.0" encoding="UTF-8"?> <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Name="svg10" Width="1584.8" Height="1120.6801"> <Canvas.RenderTransform> <TranslateTransform X="0" Y="0"/> </Canvas.RenderTransform> <Canvas.Resources> <PathGeometry xmlns:x="http://sche...
by SenlyCamile
04 Feb 2021, 03:23
Forum: General Discussion
Replies: 1
Views: 195

expansion and translations in struct ManipulationDelta

Hello,
It is not robust to recognize gesture just by the property scale. Is there any more information about expansion and translations in struct ManipulationDelta that I can use to make it more robust?
by SenlyCamile
29 Jan 2021, 10:24
Forum: General Discussion
Replies: 6
Views: 1544

Re: How to distinguish the number of fingers touched in the function OnManipulationdelta?

TouchDown happens before the manipulation, so you could use that to count the number of fingers and reset the counter when the manipulation ends. But yes, this solution is far from perfect and won't always work. Please, open a ticket at the tracker for implementing the vector of Manipulators (as in...
  • 1
  • 2