Inheritance: System.Windows.Controls.Control
Exemplo n.º 1
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]"
              });
        }
Exemplo 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]"
            });
        }
Exemplo n.º 3
0
 public ActivityHost(Guid componentId, FunctionActivityView content, Point position)
     : this(componentId, content)
 {
     PositionX = position.X;
       PositionY = position.Y;
 }
Exemplo n.º 4
0
 public ActivityHost(Guid componentId, FunctionActivityView content, Point position)
     : this(componentId, content)
 {
     PositionX = position.X;
     PositionY = position.Y;
 }