/// <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)); }
/// <summary> /// Initializes a new instance of the JqGridNavigatorDeleteActionOptions class. /// </summary> public JqGridNavigatorDeleteActionOptions() { Width = JqGridOptionsDefaults.Navigator.DeleteActionWidth; DeleteButtonIcon = JqGridFormButtonIcon.DeleteIcon; CancelButtonIcon = JqGridFormButtonIcon.CancelIcon; }