/// <summary> /// Animated Layout Panel constructor. /// </summary> public AnimatedLayoutPanel() { // Create internal event handlers this.SizeChanged += new SizeChangedEventHandler(this.AnimatedLayoutPanel_SizeChanged); // Set initial property values this.wrapDirection = WrapDirection.Horizontal; this.startPosition = EntranceStartPosition.TopLeft; this.TransitionDuration = TimeSpan.FromMilliseconds(200); this.AnimateOnInitialise = true; this.EntranceAnimationEnabled = true; this.ItemResizeHeight = 50; this.ItemResizeWidth = 50; this.ItemMargin = new Thickness(5); }