Search found 85 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 9
by realesmedia
04 Sep 2019, 18:09
Forum: General Discussion
Replies: 2
Views: 1126

Re: NoesisApp :: DataTrigger does not work correctly

Understood, I need to do two triggers: <i:Interaction.Triggers> <ei:DataTrigger Binding="{Binding Projects.State}" Comparison="NotEqual" Value="{x:Static ProjectMenuState.Preview}"> <ei:ChangePropertyAction PropertyName="Visibility" Value="Hidden" />...
by realesmedia
04 Sep 2019, 17:46
Forum: General Discussion
Replies: 2
Views: 1126

NoesisApp :: DataTrigger does not work correctly

Hi Noesis 2.2.4 <PreviewProjectsControl x:Class="PreviewProjectsControl" 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...
by realesmedia
20 Jun 2019, 14:45
Forum: General Discussion
Replies: 2
Views: 941

Re: Subscribe to the Behavior event from code

thanks
by realesmedia
18 Jun 2019, 11:06
Forum: General Discussion
Replies: 2
Views: 941

Subscribe to the Behavior event from code

Hi I need to connect to the <TranslateZoomRotateBehavior Dragging = "..." /> event from code <DataTemplate> <Border x:Name="PART_NodeRoot" Width="100" Height="Auto" MinHeight="50" Background="#f0202025" CornerRadius="5" Padding=&q...
by realesmedia
18 Jun 2019, 10:19
Forum: General Discussion
Replies: 9
Views: 1225

Re: How to determine what UIElement::Layout changed?

I needed to subscribe to the event of changing the position (dragging) + zoom of the element relative to parent

I only needed an event

I have already found another solution)))

thanks
by realesmedia
13 Jun 2019, 20:25
Forum: General Discussion
Replies: 9
Views: 1225

How to determine what UIElement::Layout changed?

analog WPF event
 UIElement.LayoutUpdated()
by realesmedia
07 Jun 2019, 08:07
Forum: General Discussion
Replies: 3
Views: 833

Re: Behavior with Event inside Style

Thanks
by realesmedia
05 Jun 2019, 18:16
Forum: General Discussion
Replies: 3
Views: 833

Behavior with Event inside Style

Hi I implemented Behavior in which there is an Event. If I attach this Behavior to the element that is inside Style.ControlTemplate ..., then the event is not called. When invoking Event, the list of delegates is empty. As I understand it, when using inside Styles, you need to clone the Behavior cre...
by realesmedia
15 May 2019, 17:07
Forum: General Discussion
Replies: 3
Views: 1075

Re: in Xaml, Behaviors are searched for in the namespace NoesisApp, but registered in an anonymous namespace

ok, thank

I thought that for Behaviors it is necessary to use the ei namespace
by realesmedia
15 May 2019, 12:05
Forum: General Discussion
Replies: 3
Views: 1075

in Xaml, Behaviors are searched for in the namespace NoesisApp, but registered in an anonymous namespace

class MouseWheelBehavior final: public NoesisApp::BehaviorT<Noesis::FrameworkElement> { public: MouseWheelBehavior() = default; ~MouseWheelBehavior() = default; protected: Noesis::Ptr<Noesis::Freezable> CreateInstanceCore() const override; void OnAttached() override; void OnDetaching() override; pr...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 9