Ejemplo n.º 1
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        public YnPanel()
            : base()
        {
            // Default orientation
            _orientation = YnOrientation.Horizontal;

            // Add a little padding for children
            _padding = 5;

            // A panel is not animated on mouse / touch over nor click / tap
            _animated = false;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        public YnPanel()
            : base()
        {
            // Default orientation
            _orientation = YnOrientation.Horizontal;

            // Add a little padding for children
            _padding = 5;

            // A panel is not animated on mouse / touch over nor click / tap
            _animated = false;
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor with an orientation.
 /// </summary>
 /// <param name="orientation">The panel orientation</param>
 public YnPanel(YnOrientation orientation)
     : this()
 {
     _orientation = orientation;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor with an orientation.
 /// </summary>
 /// <param name="orientation">The panel orientation</param>
 public YnPanel(YnOrientation orientation)
     : this()
 {
     _orientation = orientation;
 }