コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }