예제 #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;
        }
예제 #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;
        }
예제 #3
0
 /// <summary>
 /// Constructor with an orientation.
 /// </summary>
 /// <param name="orientation">The panel orientation</param>
 public YnPanel(YnOrientation orientation)
     : this()
 {
     _orientation = orientation;
 }
예제 #4
0
 /// <summary>
 /// Constructor with an orientation.
 /// </summary>
 /// <param name="orientation">The panel orientation</param>
 public YnPanel(YnOrientation orientation)
     : this()
 {
     _orientation = orientation;
 }