/// <summary> /// Creates an action control icon. /// </summary> /// <param name="icon">The icon. Do not pass null.</param> /// <param name="placement">The placement of the icon. We recommend the left side in most cases; see /// http://uxmovement.com/buttons/where-to-place-icons-next-to-button-labels/.</param> public ActionControlIcon( FontAwesomeIcon icon, ActionControlIconPlacement placement = ActionControlIconPlacement.Left ) { this.placement = placement; this.icon = icon; }
/// <summary> /// Creates an action control icon. /// </summary> /// <param name="icon">The icon. Do not pass null.</param> /// <param name="placement">The placement of the icon. We recommend the left side in most cases; see /// http://uxmovement.com/buttons/where-to-place-icons-next-to-button-labels/.</param> public ActionControlIcon(FontAwesomeIcon icon, ActionControlIconPlacement placement = ActionControlIconPlacement.Left) { this.placement = placement; this.icon = icon; }