Example #1
0
 /// <summary>
 /// Initializes a new instance of the JqGridNavigatorViewActionOptions class.
 /// </summary>
 public JqGridNavigatorViewActionOptions()
 {
     Width            = JqGridOptionsDefaults.Navigator.ViewActionWidth;
     NavigationKeys   = new JqGridFormKeyboardNavigation();
     ViewPagerButtons = JqGridOptionsDefaults.Navigator.ViewPagerButtons;
     RecreateForm     = JqGridOptionsDefaults.Navigator.RecreateForm;
     LabelsWidth      = JqGridOptionsDefaults.Navigator.LabelsWidth;
     CloseButtonIcon  = JqGridFormButtonIcon.CloseIcon;
 }
Example #2
0
        /// <summary>
        /// Determines whether the specified object is equal to the current object.
        /// </summary>
        /// <param name="obj">The object to compare with the current object.</param>
        /// <returns>True if the specified object is equal to the current object, otherwise false.</returns>
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            JqGridFormButtonIcon objCasted = (JqGridFormButtonIcon)obj;

            return((Enabled == objCasted.Enabled) && (Position == objCasted.Position) && (Class == objCasted.Class));
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the JqGridNavigatorDeleteActionOptions class.
 /// </summary>
 public JqGridNavigatorDeleteActionOptions()
 {
     Width            = JqGridOptionsDefaults.Navigator.DeleteActionWidth;
     DeleteButtonIcon = JqGridFormButtonIcon.DeleteIcon;
     CancelButtonIcon = JqGridFormButtonIcon.CancelIcon;
 }