Inheritance: System.Windows.Controls.Control
        public ActivityHost(Guid id, FunctionActivityView content)
            : this()
        {
            if (content == null) throw new ArgumentNullException("content");
              Id = id;
              Content = content;

              SetBinding(CaptionProperty, new Binding
              {
            Source = content,
            Path = new PropertyPath("Caption"),
            Mode = BindingMode.OneWay,
            TargetNullValue = "[Activity]"
              });
        }
Esempio n. 2
0
        public ActivityHost(Guid id, FunctionActivityView content)
            : this()
        {
            if (content == null)
            {
                throw new ArgumentNullException("content");
            }
            Id      = id;
            Content = content;

            SetBinding(CaptionProperty, new Binding
            {
                Source          = content,
                Path            = new PropertyPath("Caption"),
                Mode            = BindingMode.OneWay,
                TargetNullValue = "[Activity]"
            });
        }
 public ActivityHost(Guid componentId, FunctionActivityView content, Point position)
     : this(componentId, content)
 {
     PositionX = position.X;
       PositionY = position.Y;
 }
Esempio n. 4
0
 public ActivityHost(Guid componentId, FunctionActivityView content, Point position)
     : this(componentId, content)
 {
     PositionX = position.X;
     PositionY = position.Y;
 }