Esempio n. 1
0
 public AnnimationHelper(
     RowDefinition rowDefinition
     , UniformItem uniformItem
     , Storyboard growStoryboard)
 {
     _rowDefinition  = rowDefinition;
     _uniformItem    = uniformItem;
     _growStoryboard = growStoryboard;
 }
Esempio n. 2
0
        private UniformItem CreateUniformItem(object item, int rowNumber)
        {
            var itemControl = new UniformItem
            {
                ContentTemplate = ItemTemplate,
                HeaderTemplate  = ItemHeaderTemplate,
                DataContext     = item,
                ShowHeaderOnly  = false
            };

            itemControl.SetValue(Grid.RowProperty, rowNumber);
            itemControl.OnHeaderLeftClick += OnItemHeaderClicked;
            return(itemControl);
        }
Esempio n. 3
0
 public AnnimationHelper(
     RowDefinition rowDefinition
     , UniformItem uniformItem
     , Storyboard growStoryboard)
 {
     _rowDefinition = rowDefinition;
     _uniformItem = uniformItem;
     _growStoryboard = growStoryboard;
 }
Esempio n. 4
0
        private UniformItem CreateUniformItem(object item, int rowNumber)
        {
            var itemControl = new UniformItem
                                  {
                                      ContentTemplate = ItemTemplate,
                                      HeaderTemplate = ItemHeaderTemplate,
                                      DataContext = item,
                                      ShowHeaderOnly = false
                                  };

            itemControl.SetValue(Grid.RowProperty, rowNumber);
            itemControl.OnHeaderLeftClick += OnItemHeaderClicked;
            return itemControl;
        }