public static Border All(int horizontal, int vertical) { return new Border() { Bottom = vertical, Left = horizontal, Right = horizontal, Top = vertical }; }
public Textbox(IScreenManager manager, string style = "") : base(manager, style) { TextColor = Color.Black; TabStop = true; CanFocus = true; Padding = Border.All(5); ApplySkin(typeof(Textbox)); }